As the title says I want to mount my external NTFS drive to mnt instead of being automatically mounted to media at boot.
I'm currently having to run
Code: Select all
sudo umount /dev/sda1
sudo mount /dev/sda1 /mnt/HDDCode: Select all
sudo umount /dev/sda1
sudo mount /dev/sda1 /mnt/HDDFixed it for ya.SurferTim wrote:fstab will not cause a hang if the drive is not present, provided you happen to know about and know how to use the nofail parameter.
Code: Select all
/dev/sda1 /media/pi ntfs-3g auto,nofail,rw,default 0 0Code: Select all
UUID=1D1798506089E3C4 /media/pi ntfs-3g auto,nofail,rw,default 0 0Why? It works. It has worked for years. Trust me. I've been there yada yada blah.Martin Frezman wrote:Yes, you can kludge around the problems, but it is still a bad idea to do this in fstab. Trust me, I've been there, I know.
Code: Select all
UUID=<2EA265F5A265C247> /media/HDD ntfs nofail,rw,auto,users,exec,nls=utf8,umask=003,gid=46,uid=1000 0 0Code: Select all
UUID=1D1798506089E3C4 /media/pi ntfs-3g auto,nofail,rw,default 0 0Code: Select all
UUID=2EA265F5A265C247 /mnt/HDD ntfs-3g auto,nofail,rw,default 0 0Code: Select all
UUID=2EA265F5A265C247 /mnt/HDD ntfs nofail,defaults 0 0
thanks this worked, also made my root delay to 15 - seems like my external drive is a little bit slow on the get-go.Ernst wrote:If /mnt/HDD exists then this should work:
Code: Select all
UUID=2EA265F5A265C247 /mnt/HDD ntfs nofail,defaults 0 0