From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 27 02:43:02 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36D8116A4CE for ; Thu, 27 Jan 2005 02:43:02 +0000 (GMT) Received: from hotmail.com (bay15-f1.bay15.hotmail.com [65.54.185.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E341343D58 for ; Thu, 27 Jan 2005 02:43:01 +0000 (GMT) (envelope-from ppmmssgg@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 26 Jan 2005 18:43:01 -0800 Message-ID: Received: from 220.194.103.228 by by15fd.bay15.hotmail.msn.com with HTTP; Thu, 27 Jan 2005 02:42:17 GMT X-Originating-IP: [220.194.103.228] X-Originating-Email: [ppmmssgg@hotmail.com] X-Sender: ppmmssgg@hotmail.com In-Reply-To: <20050126163048.GB31269@dan.emsphone.com> From: =?gb2312?B?wfUg0e8=?= To: dnelson@allantgroup.com, imp@bsdimp.com Date: Thu, 27 Jan 2005 02:42:17 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed X-OriginalArrivalTime: 27 Jan 2005 02:43:01.0079 (UTC) FILETIME=[EADA3670:01C50419] X-Mailman-Approved-At: Thu, 27 Jan 2005 13:29:52 +0000 cc: freebsd-hackers@freebsd.org Subject: Re: use loader to load kernel.gz and mfsroot.gz in an ext2 filesystem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 02:43:02 -0000 But when I do this, Boot from the Ext2(or Dos) partition with grub And then use loader from the partition It says "Can't find kernel/kernel.old" Then I use the "ls" of loader by "ls " It says " ' ' is bad path " what's that?? >From: Dan Nelson >To: "M. Warner Losh" >CC: ppmmssgg@hotmail.com, freebsd-hackers@freebsd.org >Subject: Re: use loader to load kernel.gz and mfsroot.gz in an ext2 filesystem >Date: Wed, 26 Jan 2005 10:30:48 -0600 > >In the last episode (Jan 26), M. Warner Losh said: > > : I put loader,kernel.gz and mfsroot.gz in an ext2(dos) file system > > : on harddisk,and want to directly use grub or use grub and freebsd > > : loader(or other manner?) to boot the system. > > > > You'll need to add support to libstand to read ext2 and/or DOS file > > systems. That's the first step... > >Libstand already supports both, and they are included into /boot/loader >( see the file_system[] array in /sys/boot/i386/loader/conf.c ), so it >should be able to boot off of both filessytems just fine. > >-- > Dan Nelson > dnelson@allantgroup.com _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn