Add FreeBSD to Grub Menu
Antonio Olivares
wingators at inbox.com
Fri Sep 28 22:31:24 UTC 2012
> -----Original Message-----
> From: wingators at inbox.com
> Sent: Fri, 28 Sep 2012 14:03:08 -0800
> To: test at lists.fedoraproject.org
> Subject: Add FreeBSD to Grub Menu
>
> 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
> }
>
> I have carefully read the wiki:
>
> http://fedoraproject.org/wiki/GRUB_2
>
> I have run
>
> # grub2-mkconfig -o /boot/grub2/grub.cfg
>
> I only see the default fedora kernel and boot from Spherical Cow. How
> can I make sure that the menu entry is added?
>
> Thanks for any and all advice given to address this problem.
>
> Regards,
>
>
> Antonio
> --
In case it is important, the disk layout is here:
[olivares at localhost ~]$ su -c 'fdisk -l'
Password:
Disk /dev/sda: 120.0 GB, 120034123776 bytes, 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00039b37
Device Boot Start End Blocks Id System
/dev/sda1 * 63 125829143 62914540+ a5 FreeBSD
/dev/sda2 125831168 126855167 512000 83 Linux
/dev/sda3 126855168 193640447 33392640 83 Linux
/dev/sda4 193640448 234440703 20400128 5 Extended
/dev/sda5 193644544 226248703 16302080 83 Linux
/dev/sda6 226250752 234440703 4094976 82 Linux swap / Solaris
[olivares at localhost ~]$
Regards,
Antonio
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth
More information about the test
mailing list