Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 387  / 3 Years ago, sun, may 9, 2021, 5:24:34

I am on UBUNTU 13.10, and use an NTFS partition as storage.



Typically, I mount it by clicking on the name of the partition in Nautilus.
I wished to mount it automatically at startup, so I tried:




  1. From disks, edit mount options.., mount at startup (tested with "show user interface" off and on)

  2. from startup applications, creating an item



    /usr/bin/udisks --mount /dev/disk/by-uuid/500D4BE5454B55ED




In all cases, the partition shows as already mounted and can be normally accessed in nautilus.
But at least some applications don't seem to see all the files inside.
For instance, Virtualbox will not find my virtual machines, lightzone shows the label of the partition in media, but it will only show no files upon selecting it.



Synapse as well seems to be unable to search, but I might have done some mistake in configdb, so I will open a separate question about it if I still have problems once I solve this.



Thanks!


More From » ntfs

 Answers
0

Note: As suggested, you should definitely consider upgrading to 12.04 or 14.04. and avoid running an EOLed OS



To mount a partition at startup, we need an entry in the fstab file.



open terminal (ctrl+alt+t) and type the following command



sudo blkid



This would list down all partitions available on your system. Note down the UUID of the NTFS partition that you want to mount at boot.



now create a folder, for example sudo mkdir /media/storage. This is the folder where your ntfs partition will be mounted at. This folder will be owned by root. To give other users permission to r/w into this folder we need to give permissions. so chmod -R 777 /media/storage would be good enough. Now you need to edit your fstab file. to do so, type the following command.



sudo nano /etc/fstab



go to the bottom of the file and add the following line there.



UUID=0C0B1E /media/storage/ ntfs-3g auto,user,rw 0 0



of cource replace my UUID with the UUID that you noted down earlier. Reboot system and you should be good to go.


[#22466] Monday, May 10, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
poefor

Total Points: 379
Total Questions: 95
Total Answers: 115

Location: Serbia
Member since Tue, Jul 26, 2022
2 Years ago
poefor questions
;