Linux – Automount NTFS partitions in Linuxmint 14 KDE

automountfstabkdelinux-mintntfs

I am trying to set an NTFS partition to be auto-mounted in Linuxmint 14 KDE. I have already added command in /etc/fstab file as below:

/dev/sda1 /media/MyDrive ntfs defaults 0 0

After saving the file when I tried to mount it myself, by clicking on the drive name on left panel in Dolphin file browser, it shows errors as below:

An error occurred while accessing 'Home', the system responded: The requested operation has failed.: Error mounting: mount exited with
exit code 1: helper failed with: [mntent]: warning: no final newline
at the end of /etc/fstab mount: only root can mount /dev/sda1 on
/media/ikrz/MyDrive

I have opened fstab file as an administrator (root user), so there should be no issue with administrative authenticity.

It was working fine when I was using Linuxmint 14 MATE.

Please help.

I am having one more trouble which is related to user permission questioned at stackoverflow.com.

Best Answer

If you want to automount it with a normal user, you have to add that flag to the fstab:

/dev/sda1 /media/MyDrive ntfs defaults,user 0 0

Also the error tells you there's no final end line in /etc/fstab, so open the file, get to the end of the last line, hit enter and save it.

Related Question