I recently installed Ubuntu on my first hard drive, but FreeBSD is on the second Hard drive, /dev/sdb. The new install uses grub2, but I have not been successful with the solutions contributed by the forums. Running gparted reveals a strange order in my partition. FreeBSD sits on /dev/sdb2 and is placed in front of /dev/sdb1 which is storage (file system = ntfs).
I believe this happened when I deleted a partition to install FreeBSD again. Grub 1 worked, but grub 2 doesn't. Is there a way to fix this? This is my FreeBSD entry for /etc/grub.d/40_custom.
Thanks
I believe this happened when I deleted a partition to install FreeBSD again. Grub 1 worked, but grub 2 doesn't. Is there a way to fix this? This is my FreeBSD entry for /etc/grub.d/40_custom.
Code:
#!/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 8.2"{
insmod ufs2
set root=(hd1,1)
kfreebsd /boot/loader
}
Thanks