From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 16:44:22 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 AFC0016A41C for ; Fri, 15 Jul 2005 16:44:22 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4180543D45 for ; Fri, 15 Jul 2005 16:44:22 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: by wproxy.gmail.com with SMTP id i20so669899wra for ; Fri, 15 Jul 2005 09:44:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JeslzF5AgmuuXJY7+dvd2zVKUZS16cJT9BkAT9YIgE0QHTeAW2AeyAIOXJMHRE5WmggiAHnsGaqAkc6HDXZJnHhXt80/LUJ7FJI+1FGFpz9ZRqyWQeN78jAnuIA9xs6GibmIpFysFwClAtwVE+8xRN0pDTVgZPlPnv0jUpFoUgo= Received: by 10.54.50.48 with SMTP id x48mr1158208wrx; Fri, 15 Jul 2005 09:44:21 -0700 (PDT) Received: by 10.54.99.11 with HTTP; Fri, 15 Jul 2005 09:44:21 -0700 (PDT) Message-ID: <319cceca05071509443dca4199@mail.gmail.com> Date: Fri, 15 Jul 2005 16:44:21 +0000 From: Maslan To: Ryan Nowakowski In-Reply-To: <20050715161321.GA20287@pineapple.britestream.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050715150500.GA19897@pineapple.britestream.com> <42D7D3ED.7030504@fs.ei.tum.de> <20050715161321.GA20287@pineapple.britestream.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Bootstrapping install from GRUB X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maslan 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:44:22 -0000 You can chian load your BSD. root (hd0,0,a) # if hd0,0 is your kernel's UFS chainloader +1 boot or you can load the loader root (hd0,0,a) kernel /boot/loader boot On 7/15/05, Ryan Nowakowski wrote: > 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? > > > > First time load the kernel via grub, not the loader. The kernel will > > complain, yet still work. After you're done installing, you can switch > > 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. >=20 > root (hd0,0) > kernel /boot/kernel/kernel root=3D/boot/mfsroot.gz >=20 >=20 >=20 >=20 >=20 > BodyID:5353954.2.n.logpart (stored separately) >=20 >=20 --=20 I'm Searching For Perfection, So Even If U Need Portability U've To Use Assembly ;-) http://www.maslanlab.org