1. No, I don't know what that does.
2. No. I assumed since when cmdline.txt and /etc/fstab point to /dev/sda that USB timeours were not an issue. Also I got this to work before but being the noob idiot I am, forgot to document my steps.
3. I have but have not tried doing it there and not in /etc/fstab.
4. Yes and after reboot it fails. But again, I did the same UUID= in cmdline.txt so maybe that is a problem? I've read some forums saying cmdline.txt only likes /dev/sdax.
5. No, my USB HDD is connected to a powered USB HDD and otherwise works until I got about editing cmdline.txt and /etc/fstab.
So perhaps I need educated on how to find the correct UUID to use in cmdline.txt and /etc/fstab. From gdisk I type i and then 1 for my first partition, root, and copy that UUID. Is that not the correct one to use in cmdline.txt and /etc/fstab?
DougieLawson wrote:1. Have you created an initramfs and added that to /boot/config.txt
mkinitramfs -o /boot/initrd
2. Have you added rootdelay=5 (or rootdelay=10 if your drive takes longer to spin up) to /boot/cmdline.txt
3. Have you added UUID= to /boot/cmdline.txt
Code: Select all
dwc_otg.lpm_enable=0 console=tty1 root=UUID=xxxeeeyy-qbbp-4444-8888-f0f0f0f03333 rootfstype=ext4 elevator=deadline rootwait rootdelay=5
4. Have you added UUID= to /etc/fstab
Code: Select all
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
#/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
UUID=xxxeeeyy-qbbp-4444-8888-f0f0f0f03333 / ext4 defaults,noatime 0 1
5. Since it's a USB drive have you added
to /boot/config.txt
Using UUID is much better because it doesn't matter if the drive appears as /dev/sda, /dev/sdb or /dev/sdq it will still mount.