From owner-freebsd-stable@FreeBSD.ORG Thu Nov 2 04:50:32 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61FB116A494 for ; Thu, 2 Nov 2006 04:50:32 +0000 (UTC) (envelope-from E5739C@motorola.com) Received: from mail128.messagelabs.com (mail128.messagelabs.com [216.82.250.131]) by mx1.FreeBSD.org (Postfix) with SMTP id BBDD343D67 for ; Thu, 2 Nov 2006 04:50:29 +0000 (GMT) (envelope-from E5739C@motorola.com) X-VirusChecked: Checked X-Env-Sender: E5739C@motorola.com X-Msg-Ref: server-13.tower-128.messagelabs.com!1162443028!6154708!1 X-StarScan-Version: 5.5.10.7; banners=-,-,- X-Originating-IP: [129.188.136.8] Received: (qmail 21125 invoked from network); 2 Nov 2006 04:50:28 -0000 Received: from motgate8.mot.com (HELO motgate8.mot.com) (129.188.136.8) by server-13.tower-128.messagelabs.com with SMTP; 2 Nov 2006 04:50:28 -0000 Received: from il06exr03.mot.com (il06exr03.mot.com [129.188.137.133]) by motgate8.mot.com (8.12.11/Motorola) with ESMTP id kA24oSF4021581 for ; Wed, 1 Nov 2006 21:50:28 -0700 (MST) Received: from zmy16exm63.ds.mot.com (zmy16exm63.ap.mot.com [10.179.4.34]) by il06exr03.mot.com (8.13.1/8.13.0) with ESMTP id kA24oQZL029238 for ; Wed, 1 Nov 2006 22:50:27 -0600 (CST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Date: Thu, 2 Nov 2006 12:50:25 +0800 Message-ID: <565F40B9893580489B94B8D324460AF4EA07C4@zmy16exm63.ds.mot.com> In-Reply-To: <84dead720611012030t577b7c7ese5e1b16cdc9049e3@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Boot FreeBSD from grub thread-index: Acb+N50yvXg+xSDeTdiXF0n64I/7vgAAQrRw From: "Sun Zongjun-E5739C" To: "Joseph Koshy" Cc: freebsd-stable@freebsd.org Subject: RE: Boot FreeBSD from grub X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 04:50:32 -0000 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年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