SUSE Dual Boot


I have two HD. One with SUSE 13.2 and other with Solaris 11.
How do I add the Solaris hard drive to boot with SUSE.
SUSE is the only HD that is booting. I tried YaST but don’t see were to add the second HD.


Generally checking the box named probe for foreign OS in Yast should do it if Linux can see the directory where the other OS lives.


I think you mean add a Solaris entry to grub, the bootloader. In YaST, there is a module “Boot Loader”. When you open it, it (should?) find your other drive and ask to install an entry for Solaris.

I suppose you use ZFS? openSUSE does not have drivers for it, so os-prober also cannot detect it. os-prober generates chainloading anyway, it can be added manually.

Oh, and BTW, do you use legacy BIOS or EFI?

The box is checked for other OS’s in Yast.
It has not detected Solaris 11. I suppose I am using legacy BIOS. Never checked that.
How do I add it manually ? I did this before with older Linux adding a chainloader.
Do you have the steps to do it manually that you can post ? I looked on the web but nothing good using two HD.


First be very sure on what boot method you use. You can’t chain between OS that boot in different modes. That assumes your Machine is new and use EFI BIOS. If unsure how show use fdisk-l

Yes, fdisk -l output would be helpful for a start.


Here is my fdisk -l output…
These are both new installs of the OS’s so nothing besides the OS’s.
Can you tell me the best way to get these working as a dual boot.
If i need to reinstall. I can do that.

linux-2eja:~ # fdisk -l

Disk /dev/sda: 233.8 GiB, 251059544064 bytes, 490350672 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0002b817

Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 7342079 7340032 3.5G 82 Linux swap / Solaris
/dev/sda2 * 7342080 91232255 83890176 40G 83 Linux
/dev/sda3 91232256 490350591 399118336 190.3G 83 Linux

GPT PMBR size mismatch (976760063 != 976773167) will be corrected by w(rite).

Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A14A9CD0-3DD3-FCCE-B11C-FA2D7C7CC9BF

Device Start End Sectors Size Type
/dev/sdb1 256 524543 524288 256M BIOS boot
/dev/sdb2 524544 976743646 976219103 465.5G Solaris /usr & Apple ZFS
/dev/sdb9 976743647 976760030 16384 8M Solaris reserved 1

Try creating file /boot/grub2/custom.cfg with content

menuentry "Solaris bootloader" {
  set root=hd1
  chainloader +1

After reboot you should have this menu entry in GRUB menu.

This did work and added Solaris in the GRUB menu but it couldn’t find the Solaris OS.
I did a new install for the Solaris OS HD and all is working now.

Thanks !