Boot FreeBSD from grub

Sun Zongjun-E5739C E5739C at motorola.com
Thu Nov 2 05:39:09 UTC 2006


 
Hi, Koshy

Thanks very much. It works find after I modified root(hd0,0) to root (hd0, 0, a)

Regards
Zongjun

-----Original Message-----
From: Joseph Koshy [mailto:joseph.koshy at gmail.com] 
Sent: 2006年11月2日 12:30
To: Sun Zongjun-E5739C
Cc: freebsd-stable at 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


More information about the freebsd-stable mailing list