fstab change not working
by stark24 from LinuxQuestions.org on (#6E8DE)
Hi,
I am trying to set up an external hard drive to be mounted on boot.
I've added the following line to /etc/fstab.
Code:UUID=XXXXXXXXXXX /media/drive ext4 defaults 0 0I've also tried this with user instead of defaults, as well as a few other options combinations. I'm almost certain I have 777 permission for the drive and the mount locations. However, no matter what I do I always get this:
Code:mstark@m73:~$ mount -a
mount: /media/drive: must be superuser to use mount.I tried a reboot with this line in the fstab to see what would happen and it cause a boot error that took me some time to work through.
I'm very new to Linux, so please be understanding if I missed something obvious.
Thank you!
I am trying to set up an external hard drive to be mounted on boot.
I've added the following line to /etc/fstab.
Code:UUID=XXXXXXXXXXX /media/drive ext4 defaults 0 0I've also tried this with user instead of defaults, as well as a few other options combinations. I'm almost certain I have 777 permission for the drive and the mount locations. However, no matter what I do I always get this:
Code:mstark@m73:~$ mount -a
mount: /media/drive: must be superuser to use mount.I tried a reboot with this line in the fstab to see what would happen and it cause a boot error that took me some time to work through.
I'm very new to Linux, so please be understanding if I missed something obvious.
Thank you!