Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2006 13:39:04 +0800
From:      "Sun Zongjun-E5739C" <E5739C@motorola.com>
To:        "Joseph Koshy" <joseph.koshy@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   RE: Boot FreeBSD from grub
Message-ID:  <565F40B9893580489B94B8D324460AF4EA0805@zmy16exm63.ds.mot.com>
In-Reply-To: <84dead720611012030t577b7c7ese5e1b16cdc9049e3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 
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@gmail.com] 
Sent: 2006年11月2日 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?565F40B9893580489B94B8D324460AF4EA0805>