Booting Lfs-Version udev_update-20060301 from usb drive.

Alessandro Alocci alessandro.alocci1 at
Fri Mar 17 15:15:58 PST 2006

Alle 20:56, giovedì 16 marzo 2006, randhir phagura ha scritto:
> I intend booting the new lfs system from the host system. The host system
> has hda (the main hard drive), hdc (the dvd-rom) and the IBM Microdrive
> mounted on SanDisk adapter connected to USB port of the host. This drive is
> configured as usb-storage in the kernel and host system recognises it
> as'sda'. There is only one partition on this drive i.e. sda1. Grub is
> installed on Microdrive but not setup on the MBR because I intend to boot
> it from the host.

> Is there a way to boot the new lfs from my host system grub?

Well, if your BIOS is not able to recognize your usbdisk you can use an initrd
(Initial RAM disk) to load the usb modules before you mount the real
partition (sda1) and use the initrd option of grub.
I have done this to boot a Fedora Core 3 on my laptop from an external
usbdisk but I used a specific howto and mkinitrd for that distro, but I think
it's possible to find a similar solution also for LFS.
Try to document yourself about initrd
(man initrd or less /usr/src/linux-`uname -r`/Documentation/initrd.txt)
and search the net about how to boot linux from an usb storage.
I'll try myself to solve this on weekend and if I can find a working solution
I'll post here.
HTH, Alessandro Alocci

More information about the blfs-support mailing list