I have spent about 4 days searching the 9000 fstab
posts, none of which answer my question. Recently I needed to reinstall Ubuntu 16.04 LTS because reasons. Anyway, this time around, I seem unable to mount my fixed hard drives to my file system.
If I type
sudo mount /dev/sdb1 /home/spooky/Songs
it works fine. That's great, wonderful, except whenever I reboot, I have to type that in manually. If I put that command into /etc/rc.local
nothing happens at boot up (well, that's not true, it prevents me from a manual mount until I remove it again and reboot).
Before the clean install, I had it in fstab
, but for some reason that isn't working any more.
The result of sudo blkid
:
[some stuff]
/dev/sdb1: LABEL="Music" UUID="dc50cbf0-e046-4778-ba1a-1b85d65a1ea0" TYPE="ext4"
PARTUUID="d7e56509-01"
/dev/sdc2: LABEL="Movies" UUID="71f74e32-a760-463b-bec0-c06991ebb52f"
TYPE="ext4" PARTUUID="d56e36e4-02"
[more stuff]
So into fstab
, I added the lines to the EOF (the rest of which has remained unchanged since install):
UUID=dc50cbf0-e046-4778-ba1a-1b85d65a1ea0 /home/spooky/Music
ext4 defaults 0 2
UUID=71f74e32-a760-463b-bec0-c06991ebb52f /home/spooky/Videos ext4 defaults 0 2
and as a prize, I am forced into the debug mode thingy and have to remove them to be able to reboot.
What am I doing wrong? how can I fix it without rebooting every 4 minutes for a continuous 4 hours after working through every website and page I can find that's vaguely related to my problem?
I'm not an idiot (when it comes to Linux), but this is stumping me big time so I'm assuming I'm missing something simple, especially as it works perfectly fine when I do it manually, just no automated method works.
After considerable research it was because it was placing them into the /home tree. I didn't believe they to be the case because it was working fine previously, but i still don't know why that was. I have since used the /media tree and made my chosen path point to it, allowing all my software that utilizes those drives work properly. So now I'm a happy camper, per se.