FreeBSD in Grub
Hello,
I have two hard drives on my system. One has Debian and the other I just insstalled FreeBSD 7.1. My boot manager is Grub and I need to know how to create the entry for FreeBSD. I know the syntax is as shown below, but not sure about the "root" line. I've included the output from debian and fdisk. Thanks, ab title FreeBSD 7.1- Release root (hda,1) savedefault makeactive chainloader +1 ################################################################### fdisk -l: Disk /dev/hde: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0f8000b2 Device Boot Start End Blocks Id System /dev/hde1 1 122 979933+ 83 Linux /dev/hde2 123 487 2931862+ 82 Linux swap / Solaris /dev/hde3 * 488 548 489982+ 83 Linux /dev/hde4 549 9729 73746382+ 5 Extended /dev/hde5 549 4195 29294496 83 Linux /dev/hde6 4196 9058 39062016 83 Linux /dev/hde7 9059 9484 3421813+ 83 Linux /dev/hde8 9485 9729 1967931 83 Linux Disk /dev/hda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0f8004b1 Device Boot Start End Blocks Id System /dev/hda1 1 4865 39078081 a5 FreeBSD |
Solved:
I used this in Debian grub: title FreeBSD 7.1- Release root (hd0,a) kernel /boot/loader savedefault makeactive chainloader +1 I actually reinstalled FreeBSD and made sure that in the first fdisk screen, I set the FreeBSD line as bootable and am now able to boot into FreeBSD. Probably didn't originally set it as bootable. -pb |
Nothing has to be marked bootable in the partition table for GRUB or LILO to boot it.
|
Interesting. Why is "set bootable" option offered then?
Thanks, pb |
The set bootable option is for the freebsd bootloader.
|
The set bootable option is a generic flag that other bootloaders can use or not. The DOS bootloader it was written for does use it.
|
All times are GMT -5. The time now is 08:37 PM. |