My bug 502938 is essentially the same as this, but specifically for
NetBSD.

I hope to be able to put some time in on this 'real soon now'. For the
moment the most suitable way to boot NetBSD at least is via chainloader
using an os-prober script as above. For NetBSD  (doesn't seem to need
the slice letter):

#!/bin/sh -e
echo "Adding NetBSD 5.0 on sdb4 to GRUB 2 menu"
cat << EOF
menuentry "NetBSD 5.0.3 on sdb4" {
insmod bsd
set root=(hd0,4)
chainloader (hd0,4)+1
}
EOF 

Saved as 21_netbsd

Getting the various flavours of BSD auto-detected is not so simple since
the BSDs differ quite a bit.

Is there a reason that the partition type flags shouldn't be used -
every BSD has its own flag? Maybe easier than looking at the superblocks
which don't seem too well documented - maybe I've not looked in the
right place yet....

-- 
*BSD not detected by os-prober
https://bugs.launchpad.net/bugs/432254
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to