January 10, 20251 yr I successfully flashed the "Armbian_24.11.1_Odroidc4_noble_current_6.6.60-kisak.img" on my emmc, and everything boots, runs, and updates fine... My 2TB USB3.0 seagate HD, /dev/sda, is seen fine in "dmesg", as well as "lsblk" and "blkid", but when I add my UUID, ..., in /etc/fstab it fails to mount at boot. see below line in /etc/fstab for above /dev/sda1 : UUID=<output-of-bklid-for-sda1> /media/USB01 ext4 defaults 0 1 To test the above /etc/fstab mount I ran: sudo findmnt --verify (which completes successfully) Also, if I run: sudo mount -a (it manually automounts /dev/sda1 -> /media/USB01 successfully). But, whenever i reboot, it does not come up mounted.? -this is driving me crazy. Do I also need udisks2 ?, or autofs>, and/or, manually edit udev*?, and/or "systemd-mount" to get this thing to mount on every boot. ? Edited January 11, 20251 yr by rin make the title more clear
January 10, 20251 yr Try adding auto to it. UUID=<output-of-bklid-for-sda1> /media/USB01 ext4 defaults,noatime,auto 0 1
January 11, 20251 yr Author Hi @c0rnelius Sorry for not being more clear in my Title|Subject, (which I since edited a bit), and thanks for reply, and yes, I tried auto,nofail, ... (in /etc/fstab), and a few other combo's but they didn't work. -It would not consistently mount at boot. I will post what finally worked for me in a bit. Edited January 11, 20251 yr by rin exaplanation
January 11, 20251 yr Author Solution Automounting, (even permanently on reboot), a portable/external USB-Drive is not as simple as adding a line in /etc/fstab,-like you would do for any internal sata/hdd/ssd/nvme/... I initially tried installing "autofs" and "udisks2", and fiddling with that and "/etc/fstab", ... and I could get it to automount with the system up, and it would survive the first reboot, but it would NOT mount-at-boot after other consecutive reboots.?! Instead, I ended up re-flashing "Armbian_24.11.1_Odroidc4_noble_current_6.6.60-kisak.img" on my emmc, and followed basically this below guide: https://unix.stackexchange.com/questions/765721/trying-to-automatically-mount-a-usb-drive-on-debian-bookworm-when-connected (see "1 Answer" in above link). -I commented out|removed the "UUID=<output-of-bklid-for-sda1> /media/USB01 ..." line in my /etc/fstab, since the "systemd-mount" command, triggered by the new udev rule, is now doing the heavy lifting. The important thing is, I needed my USB-drive to survive reboots and to automount on boot, but before my network comes up, which it now does. I'm not exactly sure why this all works, and I still need to fine tune some "systemd-mount" options, ... That said, years ago, on my x86_64-ubuntu-desktop, with "usbmount", lol, I remember simply having to add a line in my /etc/fstab and my USB-drive would automount on boot. anyway, it appears systemd is everywhere these days, including mounting. I'll mark this as SOLVED. Edited January 11, 20251 yr by rin added info
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.