Re: Bootstrapping install from GRUB

From: Ryan Nowakowski (ryan_at_britestream.com)
Date: 07/15/05

  • Next message: Igor Pokrovsky: "Re: Bug in portupgrade"
    Date: Fri, 15 Jul 2005 15:38:03 -0500
    To: freebsd-hackers@freebsd.org
    
    
    

    FreeBSD loader doesn't load a kernel from ext2, fat16/32, or network so
    it's not usable in this case.

    On Fri, Jul 15, 2005 at 04:44:21PM +0000, Maslan wrote:
    > 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.
    > >
    > > 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
    > _______________________________________________
    > freebsd-hackers@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

    
    



  • Next message: Igor Pokrovsky: "Re: Bug in portupgrade"

    Relevant Pages

    • Dual boot FreeBSD(6.2) / Current ?
      ... How to make a dual boot with Stable and Current? ... The FreeBSD loader ... always uses the bsd partition 'a' to load the kernel. ...
      (freebsd-questions)
    • Re: memory reading and writing
      ... And, of course, during the boot process, it's mostly ... Plus, remember that Windows uses "on demand" loading...hence, an ... This conspires to mean that once initialisation is run (which is ... "avoiding" to load things until strictly necessary... ...
      (alt.lang.asm)
    • Problems PXE installing 5.X on RLX Blade
      ... Its like its not finding or able to load the next module in the chain ... echo Loading Kernel... ... IntelBoot Agent Version 4.0.17 ... Building the boot loader arguments ...
      (freebsd-current)
    • Origin 200 Boot Problem
      ... Cannot load dkscunix. ... If I boot manually from SASH, ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
      (comp.sys.sgi.hardware)
    • SGI Origin 200 Boot Problem
      ... Cannot load dkscunix. ... If I boot manually from SASH, ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
      (comp.sys.sgi.admin)