adding freebsd boot to grub

Joshua Oreman oremanj at
Wed Sep 3 12:45:15 PDT 2003

On Wed, Sep 03, 2003 at 12:16:39PM -0700 or thereabouts, Desmond Lee wrote:
> Hello
> I was originally running win98 and freebsd4.8 on a box with 2 hard
> drives. 1 disk had win98 and the other had freebsd. Everything worked
> fine. But I then installed redhat 9.0 on the first disk with win 98. Now
> the Grub only knows how to boot dos and linux, but no freebsd. There is
> a article about this on the freebsd page:
> This is almost the same scenario as me. However, I do not want to do a
> complete install of all 3 operating systems. Is it possible to just
> reinstall freebsd on my 2nd hard drive again and get grub to recognize
> it is there?

See what "DOS" and "Linux" do.

If one of those actually boots FreeBSD, rename it.

If not, do this at the grub> prompt (assuming your FBSD slice is (hd1,1) in GRUB):
grub> rootnoverify (hd1,1)
grub> chainloader +1
grub> boot
-or- (this one's better)
grub> root (hd1,1,a)
grub> kernel /boot/loader
grub> boot

-- Josh

More information about the freebsd-questions mailing list