MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
November
Sun Mon Tue Wed Thu Fri Sat
         
7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
2024
Months
NovDec


Fri, Nov 30, 2007 11:00 pm

Mounting a Dirty NTFS Volume

If you try to mount an NTFS volume on Linux that was used on a Windows system and get the message below, then Windows was not shut down properly. E.g. the system may have crashed or there was a power failure.
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sda1': Operation not supported
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
          clicking on the 'Safely Remove Hardware' icon in the Windows
          taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for
          your own responsibility. For example type on the command line:

            mount -t ntfs-3g /dev/sda1 /mnt/hdd -o force

    Or add the option to the relevant row in the /etc/fstab file:

            /dev/sda1 /mnt/hdd ntfs-3g defaults,force 0 0
Presuming the volume is /dev/sda1 and you want to mount it at /mnt/hdd, you can mount the volume read-only with mount -r /dev/sda1 /mnt/hdd. Or you can force a mount in read-write mode with mount /dev/sda1 /mnt/hdd -o force. But it might be best to run Windows chkdsk or a utility with similar functionality first, since the fact that the dirty bit is set could indicate corruption to the volume's file structure.

[/os/unix/commands/mount] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo