Device name persist and initrd problem

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

 



Hi,

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
hard
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
etc).
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
configuration.

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 
http://www.simonf.com/usb/mkinitrd.usb.txt

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,
A.Govind.

-- 
"Actions lie louder than words." 
				-Carolyn Wells

DISCLAIMER:
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux