I could do with a little guidance on GRUB 2, please?
Following is a list of the storage devices on the machine I’m trying to get GRUB 2, to boot Haiku off:
[handy@madmx ~]$ fs
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
└─sda2 ntfs win-spinner XXXX /media/win-spinner
sdb
├─sdb1 ext4 rootMX17 XXXX /
├─sdb2 ext4 scratch XXXX /media/scratch
├─sdb3 swap XXXX [SWAP]
└─sdb4 befs Haiku XXXX
sdc
├─sdc1 ntfs System Reserved XXXX
├─sdc2 ntfs XXXX
└─sdc3 ext4 hiding.from.win7 XXXX /media/sdd3
As you can see, I have installed Haiku on /dev/sdb4 the Haiku installer told me that it was set bootable, & it obviously is using the befs.
Whilst running MX Linux, the OS that has GRUB 2, installed on it & it’s drive, I’ve added the following to the file /etc/grub.d/40_custom
menuentry "Haiku - on /dev/sdb4" {
set root=(hd1,4)
chainloader +1
{
Which I obviously think is correct (though I can always be wrong & it would seem that I must be!?).
When I run grub-update I get the following:
[handy@madmx ~]$ sudo update-grub
Generating grub configuration file ...
using custom appearance settings
Found background image: /usr/share/backgrounds/MXLinux/grub/MX-Gold1080P.png
Found linux image: /boot/vmlinuz-4.19.0-1-amd64
Found initrd image: /boot/initrd.img-4.19.0-1-amd64
Found linux image: /boot/vmlinuz-4.15.0-1-amd64
Found initrd image: /boot/initrd.img-4.15.0-1-amd64
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Found Windows 7 on /dev/sdc1
done
Which tells me that GRUB 2, is not finding the partition that I installed Haiku on. When I call Haiku from the GRUB 2, boot menu I get an error that tells me it can’t find the partition.
So all of that is telling me that I’ve edited the /etc/grub.d/40_custom file incorrectly.
Hopefully one of you viewing will see what I’ve done wrong as plain as day & let me know how to fix it?
Thanks for your time.
P.S. I did make sure that Haiku did actually get installed in the partition.