-
All replies
-
Helpful answers
-
Sep 23, 2013 11:31 AM in response to tobiamooby noilnoil,the LABEL works with \040 instead of a space
see an example here: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man5/fstab.5.html
-
-
Sep 28, 2013 1:40 AM in response to thawn1by diegoleo,I works properly with 10.8.5 with diskutil info /Volumes/Data | grep UUID, and monting the drive on the file with:
head -1 /etc/fstab
UUID=AEE2EA9A-821B-4E31-A024-F4E8BAF1DC39 none ntfs rw,auto,nobrowse
-
-
Sep 28, 2013 5:45 PM in response to C F McBlobby Magnat,It was a 1969 VW Beetle sedan before, was modified to be a cabrio speedster, you can see more of it if you want on my FB page
-
Sep 29, 2013 4:56 PM in response to Magnatby tobiamoo,Hello guys, i still need help with my hard drive.
How do i go about deleting lines on the fstab files and re adding them?
Also I tried to mount the drive with the "head -1 /etc/fstab" command you suggested but it didnt work.
-
Sep 30, 2013 1:33 AM in response to tobiamooby diegoleo,Connect your HDD and from a terminal
type the below to infer the UUID from your USB (replace name of your drive):
diskutil info /Volumes/<LabelOfYourDrive>
With above information of your drive you must create the below file:
/etc/fstab
(You can create the file with: sudo vi /etc/fstab)
And add the below line to the above file using the information that you got on the first command:
UUID=<replace here your diskutil info above> none ntfs rw,auto,nobrowse
Once file /etc/fstab is saved you can plugin your usb hdd again, you will note that it is not on your desktop, but it is already available under:
/Volumes/<LabelOfYourDrive>
Therefore as an advise you can create a simbolic link to your desktop with the below command:
sudo ln -s /Volumes/<LabelOfYourDrive> /Users/<your user name>/Desktop/<Label of your drive>
That will allow you to open the drive from desktop and disconnect the drive properly.
-
-
Sep 30, 2013 9:25 AM in response to tobiamooby diegoleo,If you are not good with vi, you can use the below as it was advised by thawn1 in order to create the /etc/fstab:
From a terminal type (all on one line and the quotation marks must be exactly where they are):
sudo echo "UUID=<replace here your diskutil info above> none ntfs rw,auto,nobrowse" >> /etc/fstab -
Sep 30, 2013 11:42 AM in response to diegoleoby tobiamoo,Just tried what you suggested and i got 'permission denied' as a reply
-
Sep 30, 2013 2:18 PM in response to tobiamooby thawn1,either you forgot to add "sudo" in front of your command, or you don't have administrator privileges on your user account. In the latter case, you need to get someone with administrator privileges to enter the command for you or give you admin privileges on your account.
-
-
Oct 1, 2013 12:26 AM in response to tobiamooby thawn1,Did the command prompt ask for your password after you entered the command? If not, I'd wager that you do not have admin privileges. Otherwise, you may have entered a wrong password.
Can you please confirm that you have admin privileges? Check System preferences -> Users & Groups. It should say admin below your username and the box "allow this user to administer this computer" should be checked.
-
-
Oct 1, 2013 4:38 AM in response to tobiamooby thawn1,o.k. sudo asks for the password only after not using sudo for 15 min or so...
however, I am completely at a loss, why you should get a permission error if you used sudo.
maybe, vi still had a lock on the file or something. I suggest you confirm that the file is empty (sudo less /etc/fstab) and then delete it (sudo rm -f /etc/fstab) and try the sudo echo command again.





