Thanks for your kind support. I add root(hd0, 0) but grub reports that
can't find file?
Here is the output of fdisk
Device boot System
/dev/hda1 * FreeBSD
/dev/hda2 Linux
Thanks
Regards
Sun Zongjun
-----Original Message-----
From: Joseph Koshy [mailto:joseph.koshy@gmail.com]
Sent: 2006$BG/(J11$B7n(J2$BF|(J 12:30
To: Sun Zongjun-E5739C
Cc: freebsd-stable@freebsd.org
Subject: Re: Boot FreeBSD from grub
sz> How can add FreeBSD into grub menu? I can see FreeBSD file system
sz> via fdisk -l comand.
Something like the following should work in
"/boot/grub/menu.lst":
title FreeBSD
root (hd0,a)
kernel /boot/loader
assuming that the 'a' partition is where the kernel resides.
There might be a catch: I'm not sure if GRUB understands
UFS2 filesystems, so you might need to ensure that the 'a'
partition is UFS1.
--
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy