PDA

View Full Version : [SOLVED] Grub and FreeBSD


smr54
15th August 2010, 01:53 AM
I don't recollect this happening before, so thought I'd post and see if anyone else has experienced it.

I installed FreeBSD on a netbook that was using F15's grub. Usually, I've always been able to boot this with either root (hd0,whatever,a) kernel /boot/loader (on two lines of course), or at least with root or root noverify or rootnoverify (this seems to have varied through the years) (hd0,whatever), and on the next line chainloader +1

However, I'm getting 27 unrecognized command. Google hasn't been very helpful. I worked around it by booting into an Ubuntu install on the same machine and putting its grub into the MBR, then adding it to Ubuntu's grub. (which is grub2).

Anyway, wondering if anyone else has run across this. It seems odd that chainloader +1 wouldn't be a recognized command, so I'm suspecting the error lies elsewhere. It might be a grub bug in rawhide--I'm certain by now that it wasn't a typo. The exact strings were

title FreeBSD
rootnoverify (hd0,2)
chainloader +1


(I also tried with root noverify, that is, a space between the two)

And

title FreeBSD
root (hd0,2,a)
kernel /boot/loader