I am using Linux 2.4.21 & Lilo and trying to make a 2 floppy boot system (ie: boot and root disk) work on a laptop with USB floppy drive.

On a machine with a normal floppy drive (/dev/fd0) it works fine. The kernel boots, then asks for the root disk (second floppy) and that boots and everything is happy.

On my laptop which doesn't have a floppy drive, but a USB external floppy instead, the first disk boots fine, but when it asks for the Root disk, the boot fails. This is because the BIOS emulates the USB floppy as a normall fd0 floppy drive long enough for Linux to boot but after the kernel takes over, the floppy is no longer at fd0 but is emulated as some scsi device in the USB system.

The problem is that depending on what scsi devices and other USB devices you have, it could change from sda, sdb, etc... so there doesn't seem to be any way in advance to know which device the USB floppy will become? With two-disk booting, you have to tell the kernel which device to pull the root disk image from in advance. I want to make a boot disk that will work on any machine since I might not know in advance if the USB floppy will map the sda, sdb, etc... Even if I could guess which SCSI device it will be emulated on, I have heard back in 2001 that people had to hack a delay into the kernel so it has enough time to load the USB driver for the device. Has that been fixed?

Anyone able to do this type of thing on a USB floppy or have any suggestions?

Also, once you plug a USB device into a system running Linux (such as the USB floppy drive or maybe a USB memory stick) is there an easy way to find out which device it was assigned without having to try mounting all the sd? devices before you get the right one?

Thanks in advance,
Jeff.

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to