Page 1 of 1

Unable to mount ntfs partition <solved>

Posted: 31 Mar 2014 20:45
by Benm
I've just installed solydk and find I can't mount my ntfs media partition.

Dolphin asks me to authenticate, then comes back with this error message...

An error occurred while accessing 'Media ntfs', the system responded: The requested operation has failed: Error mounting system-managed device /dev/sda9: Command-line `mount "ntfs"' exited with non-zero exit status 32: mount: unknown filesystem type 'defaults'

I'd be glad of some help to fix this. Thanks.

Re: Unable to mount ntfs partition

Posted: 01 Apr 2014 01:27
by zerozero
Hi Benm 8-) welcome to the Forums

can you, please, share the terminal output of

Code: Select all

cat /etc/fstab

Re: Unable to mount ntfs partition

Posted: 01 Apr 2014 01:52
by Benm
Hi zerozero, thanks for the welcome.
Here you go...

Code: Select all

~ $ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc    /proc   proc    defaults        0       0
# /dev/sda5
UUID=01a6e2fc-818a-42fb-bd32-cbaa04d44850       /       ext4    rw,errors=remount-ro    0       1
# /dev/sda6
UUID=c9e3a60f-2490-4431-baa3-f16e915d9e7c       swap    swap    sw      0       0
# /dev/sda7
UUID=83c7765b-c50b-44d4-b82a-f35baac6ed32       /home   ext4    rw,errors=remount-ro    0       0
# /dev/sda9
UUID=3D15DA0268DCCA4B           ntfs    defaults        0       0
btw this is a triple boot setup on a Lenovo T410, with Win7pro and KXStudio (Ubuntu 12.04). The ntfs partition in question is for media, shared between all three boots, which has worked well until now.

Re: Unable to mount ntfs partition

Posted: 02 Apr 2014 17:40
by Benm
I'm relatively new to Linux, so the significance of the above code may have gone over my head.

As I understand it, etc/fstab contains instructions about which partitions are to be mounted at boot, but this is a fresh install of SolydK and I have yet to set the ntfs partition to auto-mount. Why is it even listed here?
Prior to this install I had Mint15 on this partition, and I set it to auto-mount the ntfs partition using the Disks utility in Mint which worked fine. I wonder if some kind of flag was left behind?

If I run the cat /etc/fstab command in the KXStudio installation, only the /, /home and swap are listed, and I can mount the ntfs partition fine in Dolphin (though I still need to authenticate to do so - I didn't think ntfs beleived in permissions?) Windows can see and access the ntfs partition also.

I still don't understand why SolydK can't access this partition.

Thanks for any help you can offer me,

Ben

Re: Unable to mount ntfs partition

Posted: 02 Apr 2014 19:48
by kobros
I have installed disk-manager in SolydK. Install it and run it - you can configure access to local partitions, including ntfs partitions. You'll be able to set read/write access to any ntfs partitions, even automatically mount them at boottime.

Re: Unable to mount ntfs partition

Posted: 03 Apr 2014 01:28
by Benm
Thanks kobros. I installed Disks, but I still can't mount the partition with it. However, looking at the mount options I see that the mount- point is listed as "ntfs" and the filesystem type says "defaults" so it seems there is no actual mountpoint listed and the other values have got shifted along to the left.

So I created a new mountpoint, /media/Media, and put that in the relevent box (in Disks), and changed the filesystem type to ntfs. Hit enter and authenticated and got this error message...

Error updating /etc/fstab entry
Didn't find entry to remove (udisks-error-quark, 0)


I'm not sure what to do now. Any ideas?

Re: Unable to mount ntfs partition

Posted: 03 Apr 2014 03:05
by Benm
Hurrah!
I managed to figure out how to edit etc/fstab with Kwrite and can now finally get to my music collection again, and as an added bonus I've set it up to mount on boot, which was my original aim; at least I think I have - sudo mount -a works ok. I'll find out when I reboot...


Was this a test? :)

Re: Unable to mount ntfs partition

Posted: 03 Apr 2014 10:28
by kobros
Was this a test? :)
We'll know when you have rebooted... :mrgreen:

Re: Unable to mount ntfs partition

Posted: 03 Apr 2014 16:02
by Benm
OK, rebooted successfully with the partition mounted automagically!

So I guess I can mark the thread as solved, although I'm still unclear as to why I had to fix it in the first place :?

Re: Unable to mount ntfs partition <solved>

Posted: 03 Apr 2014 16:34
by kobros
I don't know why you had this problem; I didn't have it with ntfs partitions after installing solydk and solydx on 2 computers. You're the first one [that I know of]...:-)

Re: Unable to mount ntfs partition <solved>

Posted: 03 Apr 2014 17:15
by Benm
kobros wrote: ...You're the first one [that I know of]...:-)
I guess I passed the test then, huh? :D

Re: Unable to mount ntfs partition <solved>

Posted: 03 Apr 2014 18:13
by Deleted User 2763
Perhaps it was a missing newline at the end of the last line.
-Hinto

Re: Unable to mount ntfs partition <solved>

Posted: 04 Apr 2014 22:46
by GNUday
Keeping in mind my NTFS drive completely occupies a separate HDD and I have the ntfs-3g package installed, this is the line in my fstab, u(ser)id=1000 is me, I like to be able to use the Trash normally on that drive, this HDD is also completely mounted by the time the desktop is loaded...

Code: Select all

UUID=8E01922319E69484 /media/1TB_storage ntfs-3g auto,rw,users,uid=1000,gid=1000,permissions,x-gvfs-show 0 0
x-gvfs-show may cause problems for you, it may be safe to take that part out, I believe it's only so the partition shows in the GUI whether it's mounted or not.

Your UUID (or drive/partition, i.e. sdb4) and mount point (/media/<volumename>) will be different.

I found this helpful when writing my own, watch out for Disk Manager, it has issues, I was able to get out of trouble by booting my computer with a Unetbootin SolydK USB stick and edit the fstab file. :(