Hi. I did it in the past and everything worked seemlessly. Just upgraded grub syntax to grub2 and didn't even copy my 40_custom file, cos I thought it was so easy. But no luck this time around. The only difference is I now squeezed 2 distros (kubuntu and opensuse) on my extended partition. FreeBSD is on 4th slice. The partition layout:
Now, the old grub entry was:
The grub2 entry looks sth like:
During FreeBSD install I chose "don't install any bootloader" option. Does it mean chainloading is not possible? I'm pretty sure I did this last time to and everything worked ok. But I may be wrong. What if I install FreeBSD bootloader, will it wipe out Windoze bootloader? How do I install bootloader without affecting MBR? I read that FreeBSD is supposed to be natively supported in grub2. If so, why isn't it recognised?
Code:
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8f70365b
Device Boot Start End Blocks Id System
/dev/sda1 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 52217 419328000 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 52217 146763 759434241 f W95 Ext'd (LBA)
Partition 3 does not end on cylinder boundary.
/dev/sda4 * 146763 186056 315621328 a5 FreeBSD
Partition 4 does not end on cylinder boundary.
/dev/sda5 52217 53001 6290432 82 Linux swap / Solaris
/dev/sda6 53001 62138 73399296 83 Linux
/dev/sda7 62139 81719 157283328 83 Linux
/dev/sda8 81720 88247 52427776 83 Linux
/dev/sda9 88247 89551 10480640 83 Linux
/dev/sda10 89552 104434 119546880 83 Linux
/dev/sda11 104435 109414 39999488 83 Linux
/dev/sda12 109414 126844 139999232 83 Linux
/dev/sda13 126844 131823 39999488 83 Linux
/dev/sda14 131823 134313 19998720 83 Linux
/dev/sda15 134313 146763 99998720 83 Linux
Code:
title FreeBSD
rootnoverify (hd0,a)
chainloader +1
Code:
menuentry "FreeBSD 8.2" {
insmod part_msdos
insmod ext2
set root=(hd0,msdos4,bsd1)[color="Red"]<--partition not recognised[/color] or set root=(hd0,4)[color="Red"]<---cannot find kernel[/color]
chainloader +1