Welcome! Log In Create A New Profile


alternate usb_root specification?

Posted by sdmann 
alternate usb_root specification?
November 06, 2010 11:37AM
I would like to pass an argument to the kernel which would cause it to look for its root filesystem based upon something other than the device name. This is because at each reboot, device names may change (e.g. what was once /dev/sda becomes /dev/sdb).

In the u-boot environment, I noticed that usb_root=/dev/sda1 is the default. I know how to change the environment variable with fw_setenv, but I've tried a couple different things (like "usb_root=LABEL=disklabel") to no avail. So, two questions:

1. What are the available kernel "root=" arguments (or point me to where I should look).
2. What syntax should be used for the env variable? I've tried things like:
with and without "\" in front of the quotes. Also, RTFM welcome here too :)

Re: alternate usb_root specification?
November 06, 2010 10:12PM
Re: alternate usb_root specification?
November 07, 2010 07:45AM
Thanks, I will give this a try.

Your Email:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.