On Mon, 2011-12-05 at 23:37 -0800, Thomas D. Dean wrote:
> On Mon, 2011-12-05 at 00:00 -0800, Thomas D. Dean wrote:

> 
> This can be included in grub by booting Ubuntu, in my case, and creating a 
> file
> /etc/grub.d/11_freebsd:
> 
> #!/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.
> menuentry "FreeBSD 9.0 (RC2)" {
>     insmod part_gpt
>     insmod ufs2
>     set root='(hd1,gpt4)'
>     echo Loading kernel of FreeBSD kernel ...
>     kfreebsd /boot/kernel/kernel
>     kfreebsd_loadenv /boot/device.hints
>     set kFreeBSD.vfs.root.mountfrom=ufs:/dev/ad1p4
>     set kFreeBSD.vfs.root.mountfrom.options=rw
> }
> 

And then, use update-grub.

Sorry, I stopped short...

tomdean

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"

Reply via email to