I've done this on a couple older builds but apparently I've yet to master the craft.
I followed the directions here, which may have been my first mistake. Now that I'm reflecting on the error of my ways, I'm wondering what was the point of mkdir /hdd? What's wrong with /media? Anyway I made /hdd, added the appropriate line to fstab, and mounted /hdd. After all that I did not have permission to use the hard drive, and while after rebooting it showed up automatically in Dolphin, it didn't show up in Firefox or LibreOffice.
After that I had the brilliant idea of seeing how the 2nd hard drive was configured in fstab on this (different) computer, and it uses the uuid instead of /dev/sdb1. So I found the uuid of the 2nd hard drive on my new build, and changed the relevant line in fstab to -
That didn't help so I tried this one -
That one put me into maintenance mode, so I've commented it out.
My current fstab is this -
The goal is to have it just work in every program after boot. How do I get there?
I followed the directions here, which may have been my first mistake. Now that I'm reflecting on the error of my ways, I'm wondering what was the point of mkdir /hdd? What's wrong with /media? Anyway I made /hdd, added the appropriate line to fstab, and mounted /hdd. After all that I did not have permission to use the hard drive, and while after rebooting it showed up automatically in Dolphin, it didn't show up in Firefox or LibreOffice.
After that I had the brilliant idea of seeing how the 2nd hard drive was configured in fstab on this (different) computer, and it uses the uuid instead of /dev/sdb1. So I found the uuid of the 2nd hard drive on my new build, and changed the relevant line in fstab to -
Code:
UUID=bda34309-f98a-40aa-9c95-28535a706b60 /hdd ext4 defaults 0 0
Code:
UUID=bda34309-f98a-40aa-9c95-28535a706b60 /hdd ext4 uid=1000,gid=1000,umask=007 0 2
My current fstab is this -
Code:
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda2 during installation UUID=0d0a219a-ea2a-4eb6-bf2a-c1a45d152346 / ext4 errors=remount-ro 0 1 # /boot/efi was on /dev/sda1 during installation UUID=FCD7-1393 /boot/efi vfat umask=0077 0 1 # swap was on /dev/sda3 during installation UUID=995695c4-3e9a-474c-92ab-2f3f10f804f8 none swap sw 0 0 #UUID=bda34309-f98a-40aa-9c95-28535a706b60 /hdd ext4 uid=1000,gid=1000,umask=007 0 2
Comment