Comment 2 for bug 480564

Revision history for this message
Gabor Kelemen (kelemeng) wrote : Re: Fails to mount hibernated windows partition, and falls into endless loop

I just straced the mountall process, like you asked in the other bug.

I also tried to run mountall manually:

$ sudo mountall
fsck from util-linux-ng 2.16
swapon: /dev/disk/by-uuid/674eab72-89bf-4fb6-b4f5-903f5e54f960: swapon failed: Az eszköz vagy erőforrás foglalt
mountall: swapon /dev/disk/by-uuid/674eab72-89bf-4fb6-b4f5-903f5e54f960 [15565] terminated with status 255
mountall: Problem activating swap: /dev/disk/by-uuid/674eab72-89bf-4fb6-b4f5-903f5e54f960
fsck: fsck.ntfs: not found
fsck: Error 2 while executing fsck.ntfs for /dev/sda3
Windows is hibernated, refused to mount.
Failed to mount '/dev/sda3': A művelet nem engedélyezett
The NTFS partition is hibernated. Please resume and shutdown Windows
properly, or mount the volume read-only with the 'ro' mount option, or
mount the volume read-write with the 'remove_hiberfile' mount option.
For example type on the command line:

            mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /media/hdb3

mountall: mount /media/hdb3 [15581] terminated with status 14
mountall: Filesystem could not be mounted: /media/hdb3
^C

The interesting thing is that this get written only once, while at booting, in an endless loop... so maybe the initscript calling mountall is the culprit?

The fstab line for the ntfs partition:
# /dev/hdb3
UUID=96EC35D8EC35B2FB /media/hdb3 ntfs defaults,umask=007,gid=46 0 1

HTH