Friday, May 3, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 10620  / 1 Year ago, tue, november 15, 2022, 10:46:39

I am dual booting Ubuntu 12.04 and Windows 7. I looked at my /etc/fstab yesterday and realized it did not contain my Windows 7 partition. So I added it myself, but now it tells me it cannot mount the partition. My /etc/fstab now looks like this:



# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc /proc proc nodev,noexec,nosuid 0 0

# Ubuntu /dev/sda6
UUID=581c89aa-d71c-460c-96c0-04f188fe862a / ext4 errors=remount-ro 0 1

# swap /dev/sda5
UUID=99b951b9-1a57-43ee-938e-fe31b1ba754f none swap sw $

# Windows /dev/sda3
UUID=12AA9E31AA9E1179 /media/12AA9E31AA9E1179 ntfs errors=remount-r0 0 2


I am trying to mount it by opening a file browser and simply clicking the drive with my mouse. What did I do wrong here when editing my fstab?


More From » partitioning

 Answers
6

You need to add the user argument to allow regular users to mount the drive. i.e.:



UUID=12AA9E31AA9E1179         /media/12AA9E31AA9E1179     ntfs    users,errors=remount-ro 0 2


This will make it automatically mount at boot. You may also want to check the permissions of the folder that you are mounting to (/media/12AA9E31AA9E1179) when the drive is unmounted and make sure that your other users have access to this folder.



Also, here is some more useful information on fstab.



If you want to be able to manually mount and unmount the drive from Nautilus, just remove the line altogether, or comment it out with a #. That will leave it up to Nautilus to mount/unmount it, which works better in that case.


[#36045] Wednesday, November 16, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
shadowoof

Total Points: 293
Total Questions: 112
Total Answers: 137

Location: Burkina Faso
Member since Sun, Nov 21, 2021
3 Years ago
;