wtnh
This is kind of weird. I have a USB flash drive in the side port with music files.

I manually created a mount point - /mnt/sda2 - and added the UUID of the drive to fstab. Everything runs fine (the Quadra is running Logitech Media Server and Squeezelite headless - so far I have done all the configuration stuff via SSH).

If I pull the USB drive and try to boot, the boot process hangs and won't complete (steady red led) until I plug the drive back in. It then comes up.

Also, if I install a different flash drive (which has never been added to fstab) and power up, the boot process never completes at all.

So it looks like the boot process is pretty particular about changing drives - I am wondering if there is a workaround.

I may have to connect a monitor to see what error messages are getting thrown during the boot process. Meanwhile, has anybody experienced this?
Kd0pxx
So ...
You could add a tty console.
This would show you "Whats Going On" at boot.

https://www.youtube.com/watch?v=d5mZ0dMhQ7Q

You will need a few parts and your warranty maybe voided.

Steve
Reply 0 0
wtnh
Found the problem after plugging in an HDMI monitor. The boot process was entering emergency mode (therefore preventing SSH from starting up) because it could not mount the USB drive. I had the /etc/fstab as follows:

UUID=8A5F-1220                                  /mnt/sda2       vfat    defaults       0     2


Apparently, the proper way to mount a USB drive is to use:
UUID=8A5F-1220          /mnt/sda2  vfat  defaults,auto,users,rw,nofail,noatime        0  0


I did a bunch of poking around and reading about how various distros handle USB drives, and it's not a pretty picture :-)
Reply 0 0
Glidedon
Thanks for posting the solution!
Reply 0 0
Reply