How to force USB boot to /dev/sda?
Hi,
I have a custom linux environment with a 2.6 kernel downloaded from kernel.org with a simple busybox shell as init. The system boots off a USB flash drive with root=/dev/sda with lilo, and it works perfectly when it's alone with no other SATA drives. However, once I connect a SATA drive to the PC, from the bootup logs, it seems that the SATA drive is detected as sda, and the USB flash drive is detected as sdb, so I get a kernel panic with the following message Quote:
If I try to append the root=/dev/sdb boot option in LILO, I get a different kernel panic: Quote:
|
Have you tried using UNetbootin? Have a look at this link. http://unetbootin.sourceforge.net/
jdk |
If your BIOS won't let you, there is no way to force detection.
I think you need the lilo bios=0x80 option here. Look at this, the example given there looks similar to what you need http://www.tldp.org/HOWTO/LILO-4.html I don't think unetbootin will be a big help in this case, if you don't want to change the stick's bootloader |
Put all the drives in on cold power. Boot to bios. Move usb drive up in boot order in the "hard drive" selection.
Both usb and an internal drive are considered scsi disks in this more modern computer. Sda being the first boot selected in bios. |
My first thought is "use UUIDS" but it seems that might be a bit more work with LILO, does this help any?
http://nil-techno.blogspot.co.uk/201...s-by-uuid.html |
All times are GMT -5. The time now is 12:14 AM. |