[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#357272: USB /dev/sda comes too late



Package: initramfs-tools
Version: 0.53c

Hi,

I am trying to boot a notebook from an external USB harddisk with
grub, a debian 2.6.15.1 kernel and an initrd generated with
mkinitramfs. 

The kernel boots, but then does not find it's root partition. It says
that /dev/sda1 does not exist, and opens an emergency shell. Right
after the shell prompt appears the kernel prints to have found
/dev/sda* partitions. From the shell the partition exists.

So it seems to be a timing problem. the initrd seems to be finished
and trying to pass the control over to the /root partition before the
kernel has found the partitions on the USB device. USB partitions
seem to simply come too late. 

Could the init script in the initrd check for existence of the root
partition, and if not, maybe wait for 1 or 2 seconds and check again
(maybe repeat this step 5 times)?

regards
Hadmut






Reply to: