On 01/08/2011 05:07 AM, Jörg Schaible wrote:
J. Roeleveld wrote:
The easiest solution to this problem would be to ensure that the
USB-subsystem is not scanned before the boot-device is identified by the
kernels boot- process.
This can be achieved by configuring the USB-mass-storage support as a
This is what I did now and it seems the only setup that actually brings back
my root on sda3.
Another option would be to patch the kernel to either support Labels
natively or to have it include a "scan harddisks in following order:...."
option which lists which harddisk-drivers (sata/ide/usb) are scanned and
in which order.
Yep. Maybe LABELs are supported in future ... it would definitely improve
I'm now using the kernel flag PARTUUID=<uuid number> to boot, and it really
does work. Your kernel will never again try to mount the wrong root disk
(I think this feature was added after 2.6.36. It's very recent.)
The annoying thing is that legacy grub can't do the same, and so it will
try to load the kernel from the wrong disk if the BIOS changes the disk
numbers at boot time.
I've emerged grub-2 to play with but it's quite different from legacy grub
and I don't yet have a good feel for it. If it solves this problem I'll
let you know later.