Add FreeBSD to Grub Menu

Chris Murphy lists at colorremedies.com
Fri Sep 28 22:46:00 UTC 2012


On Sep 28, 2012, at 4:03 PM, Antonio Olivares wrote:

> Dear folks,
> 
> I have a machine that has FreeBSD 9 and Fedora 18 Alpha. I try to add FreeBSD to grub menu and it is failing to add it.  
> 
> I have added the following to 40_custom
> 
> #!/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" {
>    insmod part_msdos
>    set root='(hd0,msdos3)'
>    chainloader +1

msdos3 is a Linux partition. Your fdisk results indicate FreeBSD is on hd0,msdos1.


Chris Murphy


More information about the test mailing list