Linux mount NTFS partition bug fix

Source: Internet
Author: User
Tags cairo

Today in Linux open the win NTFS hard disk always prompt error, and all NTFS disks are error, where the SDA1 error appears as follows:

Error mounting/dev/sda1 At/media/wangbo/24f02eecf02ec3c0:command-line 'Mount-T"NTFS"-O"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda1" "/media/wangbo/24f02eecf02ec3c0"'exited with Non-zero exit status 14:windows was hibernated, refused to mount.Failed toMount '/dev/sda1': Operation not permittedthe NTFS partition isinchAn unsafe state. Please resume and shutdownwindows fully (no hibernation or fast restarting), orMountThe volumeread-only with the'ro' MountOption.

Well, mount error, it seems that because the state of WIN8 is advanced hibernation, try to use ntfsfix repair,

If it is not installed first, perform

sudo Install ntfs-3g

Because I've already installed it, so ...

[sudo] Password forwangbo:reading Package Lists ... Donebuilding Dependency Tree Reading state information ... Donentfs-3g is already the newest version. The following packages were automatically installed and is no longer required:gir1.2-appindicator3-0.1Gir1.2-javascriptcoregtk-3.0Gir1.2-webkit-3.0Gir1.2-xkl-1.0python3-Cairo Python3-crypto Python3-gi-cairo Python3-icu python3-keyring Python3-pyicu python3-Secretstorageuse'Apt-get Autoremove'To remove them.0Upgraded,0Newly installed,0To remove and0Not upgraded.

Once installed, the NTFS disks that originally mounted the error are executed separately

sudo ntfsfix/dev/sda1
sudo ntfsfix/dev/sda8

Fix partition error, result,

Fixed the sda8 when it was repaired successfully.

 [email protected]:~/temp$ sudo  ntfsfix/dev/ sda8mounting volume ... The disk contains an unclean  file  system (0 , 0  ). Metadata kept  in  Windows Cache, refused to  . Failedattempting to correct errors ... Processing $MFT and $MFTMirr ... Reading $MFT ... Okreading $MFTMirr ... Okcomparing $MFTMirr to $MFT ... Okprocessing of $MFT and $MFTMirr completed successfully. Setting required flags on partition ... Okgoing to Empty the journal ($LogFile) ... Okchecking The alternate boot sector ... Okntfs volume version is  3.1  . NTFS partition /dev/sda8 was processed successfully. 

But in the repair sda1, because WIN8 advanced hibernation, repair failed ...

sudo ntfsfix/dev/MountMount. Remount Failed:operation not permitted

Well, the solution, into the WIN8, close the quick start, yes, yes, shut it down OK

The closing method is the control Panel, in power management, select the function to close the lid, change the options that cannot be changed, remove the quick-start hook, nice, OK, reboot into Linux,ok

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.