Bootstrapping install from GRUB

Maslan maslanbsd at gmail.com
Fri Jul 15 16:44:22 GMT 2005


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 at 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.
> 
> root (hd0,0)
> kernel /boot/kernel/kernel root=/boot/mfsroot.gz
> 
> 
> 
> 
> 
> BodyID:5353954.2.n.logpart (stored separately)
> 
> 


-- 
I'm Searching For Perfection,
So Even If U Need Portability U've To Use Assembly ;-)
http://www.maslanlab.org


More information about the freebsd-hackers mailing list