Re: USB Key Disk Boot

From: Francois Tigeot (ftigeot_at_wolfpond.org)
Date: 10/31/04

  • Next message: Julian Elischer: "Re: EHCI considered harmful?"
    Date: Sun, 31 Oct 2004 09:02:01 +0100
    To: JT <jtfbsd@jt.net.au>
    
    

    On Sun, Oct 31, 2004 at 02:04:41PM +0800, JT wrote:
    >
    > Has anyone already developed or had experience with getting FreeBSD to run off a USB key disk?
    >
    > I am looking to run a minimal FreeBSD build on a USB key disk as a network monitoring system, but I am having great difficulty getting information on how to do so. FreeBSD is my preferred *nix OS, but if I am not able to get a USB boot solution in a reasonable time, I will have to move my project to a Linux based solution as there are already Linux USB boot systems out there.
    >
    > All assistance is appreciated. I think that even if I could get some info on the BSD bootup sequence/etc I might be able to build something workable.

    I have no experience with USB booting but if your bios is not too exotic,
    it should be doable.
    I have created a minimal system you can boot from regular disks, tftp and
    flash based devices. I suspect it should also be able to boot from USB keys.

    The trick is to use FreeBSD's boot loader to load a ramdisk image with the
    kernel. The kernel itself has no knowledge of the boot device, all it knows
    is / is md0 and there is no need to mount filesystems.

    This page should give some insights on how to create your own ramdisk:
    http://www.thinbsd.org/doc.html

    -- 
    Francois Tigeot
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Julian Elischer: "Re: EHCI considered harmful?"

    Relevant Pages

    • Re: error 1 lba 752976 while booting from USB key to install
      ... > so I cam up with the idea to boot from that USB key I have used to ... (While it is possible to load the kernel ... the USB key works fine in the eeePC 900 and other laptops I ...
      (freebsd-hackers)
    • Re: Installing onto a >2TB drive
      ... You can't boot from a>2TB device. ... gpt partition table, and no boot loader currently supports ... In that case it looks like a USB key for booting. ... I boot from a kernel loaded on the USB key and pass control to a root ...
      (comp.os.linux.hardware)
    • Re: AutoYast.
      ... Insert boot CD-ROM (or USB key) ... At the end of the installation, ... Another method is to create your own boot CD or DVD ... the root directory of a floppy; ...
      (alt.os.linux.suse)
    • Re: The ASUS P4s8x-x
      ... > I tried it with BIOS 1004, ... (I've got a transcend USB key). ... > I know you can boot from the USB key, coz it works on this PC I'm on ... > Also, has anyone, who uses this mobo, noticed the slowness, once you get ...
      (alt.comp.periphs.mainboard.asus)
    • Re: The ASUS P4s8x-x
      ... It turned on but went nowhere lol. ... I can't since the stupid thing wont let me boot from the USB key. ... I think I may have to get an Intel based mobo, ...
      (alt.comp.periphs.mainboard.asus)