LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-15-2016, 05:57 AM   #1
adkPrasanna
LQ Newbie
 
Registered: Mar 2016
Posts: 29

Rep: Reputation: Disabled
Post An error occurred while mounting disk partition


I'm using both Slackware 14.1 and Windows 10 in same machine.
While I try to access drives associated with windows. It says:
Quote:
An error occurred while accessing '1.1 TiB Hard Drive', the system responded:
The requested operation has failed.: Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sda6 on /E Drive
My fstab file is like this:
Code:
/dev/sda7        swap             swap        defaults         0   0
/dev/sda8        /                ext4        defaults         1   1
/dev/sda9        /home            ext4        defaults         1   2
/dev/sda1        /C:Drive         ntfs-3g     fmask=133,dmask=022 1   0
/dev/sda5        /D:Drive         ntfs-3g     fmask=111,dmask=000 1   0
/dev/sda6        /E:Drive         ntfs-3g     fmask=111,dmask=000 1   0
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
How to access/mount the ntfs-3g drives, as a normal user? All three drives C, D and E are having the same problem. It would be a great help if someone guide me to solve the problem. I tried adding:
user as well as auto after dmask option but same problem.

Last edited by adkPrasanna; 03-15-2016 at 05:59 AM.
 
Old 03-15-2016, 06:07 AM   #2
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
I imagine it has something to do with you creating your mount points with a colon, which needs to be escaped. Linux, in other words, sees /E:Drive as /E\:Drive

Try edrive instead, or simply e.

Last edited by Gerard Lally; 03-15-2016 at 06:08 AM.
 
1 members found this post helpful.
Old 03-15-2016, 06:12 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
mount: only root can mount /dev/sda6 on /E Drive
How did you try (and exactly what)?
 
Old 03-15-2016, 06:36 AM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Use "su" to switch to root or use "sudo".
 
Old 03-15-2016, 06:59 AM   #5
adkPrasanna
LQ Newbie
 
Registered: Mar 2016
Posts: 29

Original Poster
Rep: Reputation: Disabled
New Error Message

Edited fstab:
replace /E\rive to /E
also changed the name of the directory from E\rive to E

When I try to open the directory again, using dolphin (file manager), the error message is like this:
Quote:
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:
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda6': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
 
Old 03-15-2016, 07:08 AM   #6
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by adkPrasanna View Post
Edited fstab:
replace /E\rive to /E
also changed the name of the directory from E\rive to E

When I try to open the directory again, using dolphin (file manager), the error message is like this:
Well it should be pretty obvious what you have to do. Did you read the error message before posting it here? It says the disk contains an unclean file system. It also suggests rebooting into Windows to fix the file system. Mounting the file system read-only is also an option but that wouldn't do much good since the file system needs to be fixed, and the best way to do that is to allow Windows to fix its own mess.
 
1 members found this post helpful.
Old 03-15-2016, 12:42 PM   #7
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,515

Rep: Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481
What you need to do is disable Windows 10's "fast startup", since that doesn't fully close the Windows volumes during shutdown making it impossible to mount them read-write from Linux:

http://www.tenforums.com/tutorials/4...dows-10-a.html
 
2 members found this post helpful.
Old 03-16-2016, 11:05 AM   #8
adkPrasanna
LQ Newbie
 
Registered: Mar 2016
Posts: 29

Original Poster
Rep: Reputation: Disabled
Solved

Thanks volkerdi,
Disabling 'fast startup' solved the problem
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a disk read error occurred kellogs Linux - Software 11 12-29-2010 05:22 AM
error in mounting external disk iandroul Linux - Hardware 1 07-18-2008 08:55 AM
KDE says "An unknown error has occurred" when mounting usb stick with HAL KingPhillius Linux - Hardware 4 12-08-2006 02:18 AM
Error mounting a ntfs partition jocast Linux - Software 5 07-21-2005 03:45 AM
Problem mounting SunOS disk on RedHat - unknown partition table jerrymc Linux - Software 2 12-03-2001 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration