Further to this, I’ve replaced my old 13.2 with 42.3 but didn’t use the boot loader from that as it doesn’t want to install into the MBR of disk 2.
Booting into 42.2 which I use to control the booting I run grub2-mkconfig, the prober now shows
### BEGIN /etc/grub.d/30_os-prober ###
Found Windows 10 (loader) on /dev/sda1
menuentry 'Windows 10 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-64244A53244A27FE' {
insmod part_msdos
insmod ntfs
set root='hd1,msdos1'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd1,msdos1' 64244A53244A27FE
else
search --no-floppy --fs-uuid --set=root 64244A53244A27FE
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
Found openSUSE 42.3 (x86_64) on /dev/sda7
Found openSUSE Tumbleweed on /dev/sda9
### END /etc/grub.d/30_os-prober ###
So if I run that into the config I won’t be able to boot Tumbleweed nor the new 42.3. And as above if I install the boot loader for 42.3 I don’t know where it will go. (MBR on disk 1 will boot straight to Windows 10 and I want to keep that). OpenSuse in the past has been so easy as it always puts it’s boot loader into the first disk in BIOS boot order which is sdb so booting from disk 2 will give GRUB, booting from disk 1 gives Windows.
david:/boot/grub2 # os-prober
/dev/sda1:Windows 10 (loader):Windows:chain
/dev/sda7:openSUSE 42.3 (x86_64):SUSE:linux:btrfs:UUID=5d0598ee-2e9a-4bed-99ea-2fc2b7961b41:subvol=@/.snapshots/1/snapshot
/dev/sda9:openSUSE Tumbleweed :openSUSE Tumbleweed:linux:btrfs:UUID=45cdc207-f7ec-4110-959b-218ebb2c6fc8:subvol=
The current grub.cfg for the other O/S sections (13.2 is in sda7 with boot in sda6)
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-64244A53244A27FE' {
insmod part_msdos
insmod ntfs
set root='hd1,msdos1'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd1,msdos1' 64244A53244A27FE
else
search --no-floppy --fs-uuid --set=root 64244A53244A27FE
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'openSUSE 13.2 (x86_64) (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-54247e2a-402f-4372-b1cd-21204f7ab6fc' {
insmod part_msdos
insmod ext2
set root='hd1,msdos6'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd1,msdos6' 70f46891-feb4-4148-82c0-deeae6913f17
else
search --no-floppy --fs-uuid --set=root 70f46891-feb4-4148-82c0-deeae6913f17
fi
linux /vmlinuz-3.16.7-53-desktop root=UUID=54247e2a-402f-4372-b1cd-21204f7ab6fc noquiet nosplash
initrd /initrd-3.16.7-53-desktop
}
submenu 'Advanced options for openSUSE 13.2 (x86_64) (on /dev/sda7)' $menuentry_id_option 'osprober-gnulinux-advanced-54247e2a-402f-4372-b1cd-21204f7ab6fc' {
menuentry 'openSUSE 13.2 (Harlequin) (x86_64) (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.16.7-53-desktop--54247e2a-402f-4372-b1cd-21204f7ab6fc' {
insmod part_msdos
insmod ext2
set root='hd1,msdos6'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd1,msdos6' 70f46891-feb4-4148-82c0-deeae6913f17
else
search --no-floppy --fs-uuid --set=root 70f46891-feb4-4148-82c0-deeae6913f17
fi
linux /vmlinuz-3.16.7-53-desktop root=UUID=54247e2a-402f-4372-b1cd-21204f7ab6fc noquiet nosplash
initrd /initrd-3.16.7-53-desktop
}
<snip - lots of old kernels>
}
menuentry 'openSUSE Tumbleweed (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-45cdc207-f7ec-4110-959b-218ebb2c6fc8' {
insmod part_msdos
insmod btrfs
set root='hd1,msdos9'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 --hint='hd1,msdos9' 45cdc207-f7ec-4110-959b-218ebb2c6fc8
else
search --no-floppy --fs-uuid --set=root 45cdc207-f7ec-4110-959b-218ebb2c6fc8
fi
linux /boot/vmlinuz root=UUID=45cdc207-f7ec-4110-959b-218ebb2c6fc8 ${extra_cmdline} resume=/dev/disk/by-uuid/99ea169b-2d09-4d48-ae61-29dd954e388d splash=silent quiet showopts
initrd /boot/initrd
}
submenu 'Advanced options for openSUSE Tumbleweed (on /dev/sda9)' $menuentry_id_option 'osprober-gnulinux-advanced-45cdc207-f7ec-4110-959b-218ebb2c6fc8' {
menuentry 'openSUSE Tumbleweed (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.14.9-1-default--45cdc207-f7ec-4110-959b-218ebb2c6fc8' {
insmod part_msdos
insmod btrfs
set root='hd1,msdos9'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 --hint='hd1,msdos9' 45cdc207-f7ec-4110-959b-218ebb2c6fc8
else
search --no-floppy --fs-uuid --set=root 45cdc207-f7ec-4110-959b-218ebb2c6fc8
fi
linux /boot/vmlinuz-4.14.9-1-default root=UUID=45cdc207-f7ec-4110-959b-218ebb2c6fc8 ${extra_cmdline} resume=/dev/disk/by-uuid/99ea169b-2d09-4d48-ae61-29dd954e388d splash=silent quiet showopts
initrd /boot/initrd-4.14.9-1-default
}
<snip - lots of old kernels>
}