Device name persist and initrd problem

From: govind
Date: Mon May 22 2006 - 09:22:53 EST


Kernel Version : 2.6.16

udev Version : 092

We are trying to boot using the USB flash drive.

The USB gets detected as sda or sdb or sdc depending on the number of
disk. In our case we have the root file system in the USB disk.

We get kernel panic because USB detected as sd? (? being a or b or c
Even though this can be solved by giving root= option in the kernel
parameter during boot up, in our case we should not edit the grub

We tried to use the udev where we wrote a rule to find USB by using the
symlink called usbhd which is created by udev.

We are planning to give the usbhd in the root= option. The usbhd link
will point to USB (sda, sdb) dynamically.

Before mounting root device, udevstart is started in the /linuxrc
script. This is to create the dynamic link mentioned above.

We have downloaded mkinitrd from

However we get the following error message:-

The error message mount error 6 ext2 filesystem.
switchroot failed:22

Has anyone tried this before and if so, what is the suggested solution?

Thanks in advance,

"Actions lie louder than words."
-Carolyn Wells

Information contained and transmitted by this E-MAIL is
proprietary to Sahasra Solutions and is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged, confidential
or exempt from disclosure under applicable law. If this is a
forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not
the intended recipient, an agent of the intended recipient or
a person responsible for delivering the information to the
named recipient, you are notified that any use, distribution,
transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited.
If you have received this communication in error, please
delete this mail & notify the sender immediately.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at