Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What is the best and easiest way to access data on an NTFS file-system drive in Ubuntu 16.04LTS?
Install ntfs-3g, plug in drive, mount it (you can use the command line or you should be able to use the file manager)
If ntfs-3g isn't already installed, you can do so with:
Install ntfs-3g, plug in drive, mount it (you can use the command line or you should be able to use the file manager)
If ntfs-3g isn't already installed, you can do so with:
Code:
sudo apt-get install ntfs-3g
No success, it tells me ntfs-3g is already installed, then try to mount it and it shows an error splash screen.
Just to inform you that this drive is a 1TB internal hard disk on my desktop.
Easier way is probably to go to system-tools -> system-preferences -> Disks (if you have classic gnome desktop)
or just type Disks in dash search bar if you use unity.
and then try mounting your ntfs partitions via gui.
Easier way is probably to go to system-tools -> system-preferences -> Disks (if you have classic gnome desktop)
or just type Disks in dash search bar if you use unity.
and then try mounting your ntfs partitions via gui.
hope that helps.
I still get the splash screen saying "error mounting file system"
Code:
Error mounting /dev/sdb1 at /media/danny/DAN'S DATA: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sdb1" "/media/danny/DAN'S DATA"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sdb1': 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.
(udisks-error-quark, 0
The 'unsafe state' mentioned in that message means hibernated and no Linux system I am aware of will mount a hibernated partition so you need to do a full shutdown without hibernation and turn off anything related to fast boot.
You are warned to avoid trying to access a hibernated ntfs drive.
It may be possible to use the old ntfs read only access. There is no real need to use ntfs-3g if you simply want to read from ntfs. ntfs-3g is for writing to them.
You are warned to avoid trying to access a hibernated ntfs drive.
It's good to be able to approach these things from the vantage point of knowledge.
Rather than just providing a vague "warning", what are the potential disadvantages of accessing a hibernated NTFS drive (in two situations, read-only and read-write)?
OK good point. The other posted replies and links did offer warnings and the links described solutions in the pages. I just repeated the warning that the most secure way would be to shut down the windows machine properly instead of hibernate. It is also possible that the OP was never intending to hibernate and some other condition exists leaving the drive in this condition. Not to mention that the wrong partition is trying to be accessed.
My point was that they may be able to simply read access the data. I have never tried this situation and not sure I can unless I install a VM. What I suggested is that linux has had ntfs read built in for a very long time. It may be possible to use the old ntfs mount to read the hibernated drive. Since the OP wanted to get data off, I can't determine if they just want to read the data or change the data on ntfs. Ntfs-3g will let you change data for good or bad.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.