K kuze Aug 20, 2011 #1 I have tried menu entry to grub for Freebsd, but it is not working. Code: menuentry "FreeBSD" { set root=(hd0,1) chainloader +1 } menuentry "FreeBSD" { set root=(hd0,1,a) chainloader +1 } Can anyone please help me to boot using grub, my FreeBSD installation.
I have tried menu entry to grub for Freebsd, but it is not working. Code: menuentry "FreeBSD" { set root=(hd0,1) chainloader +1 } menuentry "FreeBSD" { set root=(hd0,1,a) chainloader +1 } Can anyone please help me to boot using grub, my FreeBSD installation.
J JimW Aug 21, 2011 #2 When using Grub2 you must specify a module for a file system such as UFS2. That is done with the "insmod" statement inserted on the boot menu. Try this example.... or a variation of it depending on your drive and partition location... Code: menuentry "FreeBSD" { insmod ufs2 set root=(hd0,1) chainloader +1 } Good Luck.
When using Grub2 you must specify a module for a file system such as UFS2. That is done with the "insmod" statement inserted on the boot menu. Try this example.... or a variation of it depending on your drive and partition location... Code: menuentry "FreeBSD" { insmod ufs2 set root=(hd0,1) chainloader +1 } Good Luck.
OP K kuze Aug 21, 2011 Thread Starter #3 I put all possible combinations of hdd & partition, and to my surprise the following worked. Code: menuentry "FreeBSD" { set root=(hd1,1) chainloader +1 } It is weird that it works for hd1, even though my linux-based OS (which is on the same HDD) uses hd0 in menu entry to boot. Thank-you for your reply. I will keep in mind the 'insmod ufs2' in case i get problem in future.
I put all possible combinations of hdd & partition, and to my surprise the following worked. Code: menuentry "FreeBSD" { set root=(hd1,1) chainloader +1 } It is weird that it works for hd1, even though my linux-based OS (which is on the same HDD) uses hd0 in menu entry to boot. Thank-you for your reply. I will keep in mind the 'insmod ufs2' in case i get problem in future.