Naming of USB mass storage devices
Hi,
I am searching for a way to change the ordering of loading for USB mass storage devices.
I have a small embedded board with a USB stick containing root and /boot partitions and a big USB hdd for data. My bootloader is uBoot.
When booting with only the USB stick attached everything works as expected. Stick is detected as sda by the kernel.
When I additionally attach my hdd at boot time, my stick is detected as sdb and the hdd claims sda which gives me troubles defining "root" kernel parameter.
As this is a headless machine there is no way to define multiple boot targets or whatsoever.
Is there a way to force the kernel to assign sda to my USB stick?
thanks
Christian