FYI, I had a similar problem booting from a USB drive on an old Debian
machine a long time ago. May have been Wheezy, or ever Sarge.
The problem in my case was that the kernel was taking a while to settle
the USB module, so at the early boot stage, it "knew" it was supposed to
mount the USB drive, but it did not yet know the USB drive. If I
remember correctly, I had to build a custom initrd with a script that
simply forced the load of USB, then waited until it was able to detect
the USB drive in question.
Sorry, it was a long time ago, and I did not write it up as I try to do
now. But, I vaguely remember inserting a script that simply insmod'd the
module(s), then went into a loop which only exited after a certain
amount of time, or if the USB drive was detected. Then, I just let the
regular boot process to continue.
Again, relying on memory, it seems the USB drivers take a finite amount
of time to settle and actually be ready to work, and that time is
variable depending on the device and the system. May be a total wild
goose chase, but the problem you're having sounds similar.
NOTE: it slowed my boot time significantly, but since it was a server,
an additional 15 seconds did not matter so long as it came up. I THINK I
was trying to do a RAID-1 for / from the USB drives, but that may have
been a different time.
Rod
Am 2020-06-12 20:25, schrieb richard lucassen:
> Try to add "nofail" or "noauto":
nofail was a good hint. Now the system boots, but the usb disk is still
not mounted. "mount -a" mounts it without errors after boot.
I see no errors in /var/log/boot and dmesg.
The only messages concerning this drive:
[ 4.153932] scsi 0:0:0:0: Direct-Access WD Elements 25A3
1021 PQ: 0 ANSI: 6
[ 4.159536] sd 0:0:0:0: [sda] Spinning up disk...
[ 4.161466] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 22.522458] sd 0:0:0:0: [sda] Very big device. Trying to use READ
CAPACITY(16).
[ 22.524863] sd 0:0:0:0: [sda] 19532808192 512-byte logical blocks:
(10.0 TB/9.09 TiB)
[ 22.532067] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 22.538598] sd 0:0:0:0: [sda] Write Protect is off
[ 22.541988] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
[ 22.542724] sd 0:0:0:0: [sda] No Caching mode page found
[ 22.547320] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 22.554350] sd 0:0:0:0: [sda] Very big device. Trying to use READ
CAPACITY(16).
[ 22.983388] sda: sda1
[ 22.984576] sd 0:0:0:0: [sda] Very big device. Trying to use READ
CAPACITY(16).
[ 22.989231] sd 0:0:0:0: [sda] Attached SCSI disk
_______________________________________________
Dng mailing list
Dng@???
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng