Udev can't find my usb flash from initramfs

Neal Murphy neal.p.murphy at alum.wpi.edu
Fri Sep 3 14:36:13 PDT 2010


On Friday 03 September 2010 13:44:47 Thiago Padilha wrote:
>   Hi, I have the entire LFS 6.6 inside a squashfs file. In grub I specify a
> small initramfs file that contains a minimal system with busybox, this
> small system only purpose is to mount the squashed file, and switch root to
> it. If the squashfs file is in my hd, the system boots fine, and all my
> hardware is detected properly. The problem is that I wanna put that squash
> file in my usb stick and since the busybox system isnt detecting it(the
> only persistent block device in /sys/block is sda which is my hd).
> ... Does anybody have a clue of what might be happening?

You may need to mount /proc/bus/usb after the USB modules have been loaded. 
You may need to wait up to 20 seconds for any/all USB devices to become 
ready. Is udev doing its thing? If you don't have udev running in your 
initramfs, try manually creating the /dev/sdb node(s).



More information about the lfs-support mailing list