From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 16:13:31 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 97A7F16A41C for ; Fri, 15 Jul 2005 16:13:31 +0000 (GMT) (envelope-from ryan@britestream.com) Received: from gateway.layern.com (gateway.britestream.com [207.191.53.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0330E43D48 for ; Fri, 15 Jul 2005 16:13:30 +0000 (GMT) (envelope-from ryan@britestream.com) Received: from pineapple.layern.com (pineapple.layern.com [192.168.1.233]) by gateway.layern.com (8.12.11/8.12.11) with ESMTP id j6FGDMNj030923 for ; Fri, 15 Jul 2005 11:13:22 -0500 Received: from ryan by pineapple.layern.com with local (Exim 4.50) id 1DtSoU-0005b3-2t for freebsd-hackers@freebsd.org; Fri, 15 Jul 2005 11:13:22 -0500 Date: Fri, 15 Jul 2005 11:13:22 -0500 From: Ryan Nowakowski To: freebsd-hackers@freebsd.org Message-ID: <20050715161321.GA20287@pineapple.britestream.com> References: <20050715150500.GA19897@pineapple.britestream.com> <42D7D3ED.7030504@fs.ei.tum.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <42D7D3ED.7030504@fs.ei.tum.de> Organization: Britestream Networks User-Agent: Mutt/1.5.9i X-Scanned-By: MIMEDefang 2.43 Subject: Re: Bootstrapping install from GRUB X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 16:13:31 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 15, 2005 at 05:19:09PM +0200, Simon 'corecode' Schubert wrote: > Ryan Nowakowski wrote: > >I'd like to bootstrap a FreeBSD 5.4 install from GRUB or another > >harddrive-based bootloader without using PXEboot. > > > >Problem: GRUB will boot the FreeBSD loader, however I can't get > >the loader to read a kernel from any of my existing partitions(ext2, > >reiserfs, fat16). I know it can load a kernel from UFS but I have to > >have FreeBSD installed to create a UFS partition(catch-22). Is there a > >way to get a non-pxeboot loader to grab the kernel from a non-UFS > >filesystem or perhaps the network(NFS or TFTP)? > > > >Suggestions? >=20 > First time load the kernel via grub, not the loader. The kernel will=20 > complain, yet still work. After you're done installing, you can switch=20 > grub to use the loader. > Any idea what the grub parameters should be? Right now I'm booting this and getting a "Fatal Trap 9" kernel crash during pci init. root (hd0,0) kernel /boot/kernel/kernel root=3D/boot/mfsroot.gz --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC1+ChJ5jv18RIIpgRApH9AKDRkWOkd4pyNlkakk3ssPYGMPn/UwCg2sma e48aGO8DIYh0uNntb82pH8k= =JQER -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--