I would like to create an entry in grub.cfg by creating a file for that
in /etc/grub.d and running ubdate-grub2

I have tried modifying /etc/grub.d/40_custom as follows:

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
# This is an attempt to use the GRUB 1 stanza for FreeBSD on this system
menuentry "FreeBSD 7.2" {
        insmod ufs
        set root=(hd0,3,a)
#       kernel /boot/loader
        drivemap -s (hd0) ${root}
        chainloader +1
}

But the resulting grub.cfg won't allow me to boot FreeBSD. Perhaps the
volume should be identified as (hd0,8), which is what the FreeBSD boot
partition looks like when mounted on Linux (I can mount the BSD volumes
from Ubuntu all right).

Suggestions are welcome.

-- 
FreeBSD 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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to