Re: Using USB floppy drive for root floppy

Pete Zaitcev
2001-12-23T08:34:41Z

>[...]
> Originally, I just downloaded the standard boot and root floppies. I booted
> and got the "Insert root floppy disk to be loaded into RAM disk and press
> ENTER" message. Upon inserting the root disk and pressing ENTER I get a
> message saying "Unable to mount root fs on 02:00".
>[...]
> To get around this problem I compiled my own kernel (2.4.12) with USB and
> SCSI floppy support. Upon booting that kernel, linux recognizes the USB
> floppy drive and apparently assigns it to sda. I then tried booting with
> root=/dev/fd0 which caused the "Unable to mount root fs on 02:00" again. I
> then tried root=/dev/sda which caused the kernel to panic with "Unable to
> mount root fs on 08:00".

There must be a delay before an attempt to mount is made.
Insert schedule_timeout(5*HZ) there (mdelay won't work because
it locks out khubd).

-- Pete