2

I have a dual boot system with an NTFS partition (C:) dedicated to the windows 8 OS files, an EXT4 partition dedicated to Linux Mint 17.

There is also another NTFS partition (E:) which I would like to use for some files shared between the two OS's.

The problem is that whenever I hibernate Windows 8 it sets the hibernation flag on both C: and E: making it impossible to write into the shared partition from Linux.

Is there any way to force Linux Mint to mount the partiton as R/W or to prevent windows 8 from setting this flag on the shared partition? I know that an obvious solution would be to just normally shutdown windows 8 (with fast boot disabled) but I really need to have it hibernated.

  • Since Windows is the culprit here, I'm afraid U&L does not really fit for your question (unless someone knows a way to take the partition from Windows' hands). Nevertheless, here's a related answer on AskUbuntu. – John WH Smith Oct 23 '14 at 15:39
3

ntfs-3g has an option that will force delete the hibernation file and force a rw mount:

# mount -t ntfs-3g -o remove_hiberfile /dev/sdXX /media/windows

From ntfs-3g(8):

SYNOPSIS

mount -t ntfs-3g [-o option[,...]] volume mount_point

OPTIONS

remove_hiberfile

Unlike in case of read-only mount, the read-write mount is denied if the NTFS volume is hibernated. One needs either to resume Windows and shutdown it properly, or use this option which will remove the Windows hibernation file. Please note, this means that the saved Windows session will be completely lost. Use this option under your own responsibility.

  • 1
    I have a windows partition corrupted by some images files but can't mount it because has a hibernate state, I'ĺl try this later, thanks – theGabyRod Aug 15 at 13:04
3

If you want to keep hibernation and also be able to access all hibernate flagged partitions (such C:) by Windows OS on Mint 17, then you will lose the hibernate status on Windows. If you want to access just another partition than C: (which is your Windows partition), you can do so by executing:

sudo ntfsfix /dev/sdXY

...where you must change XY depending on where your partition is mounted. For example it can be mounted on /dev/sda2. You can use gparted to find this location:

Screenshot of Gparted

(Reminder: you will lose the hibernation status on Windows if you force mount the partition where you installed Windows(C:))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.