From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 26 16:30:54 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 670FC16A4CE for ; Wed, 26 Jan 2005 16:30:54 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE13243D31 for ; Wed, 26 Jan 2005 16:30:53 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id j0QGUmXJ071908; Wed, 26 Jan 2005 10:30:48 -0600 (CST) (envelope-from dan) Date: Wed, 26 Jan 2005 10:30:48 -0600 From: Dan Nelson To: "M. Warner Losh" Message-ID: <20050126163048.GB31269@dan.emsphone.com> References: <20050126.090150.126690130.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050126.090150.126690130.imp@bsdimp.com> X-OS: FreeBSD 5.3-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-hackers@freebsd.org cc: ppmmssgg@hotmail.com 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: Wed, 26 Jan 2005 16:30:54 -0000 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