Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2005 16:44:21 +0000
From:      Maslan <maslanbsd@gmail.com>
To:        Ryan Nowakowski <ryan@britestream.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Bootstrapping install from GRUB
Message-ID:  <319cceca05071509443dca4199@mail.gmail.com>
In-Reply-To: <20050715161321.GA20287@pineapple.britestream.com>
References:  <20050715150500.GA19897@pineapple.britestream.com> <42D7D3ED.7030504@fs.ei.tum.de> <20050715161321.GA20287@pineapple.britestream.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ryan@britestream.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?319cceca05071509443dca4199>