PDA

View Full Version : Unclean shutdown - NTFS is marked to be in use..



Armin_boy89
04-15-2009, 11:56 AM
hi

I´m using KANOTIX live cd (now knoppix?).

Yesterday I used my external device to move some files from my computer to the device. It worked without any problems. Next time I tried to open my external device via KANOTIX, I got this errormessage:

"$LogFile indicates unclean shutdown. Failed to mount "/dev/sdb1":

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 "safety remove hardware" icon in the windows taskbar then shutdown Windows Cleanly.

Choice 2: If you dont have wINDOWS you can choose the "force" option...."

I´m using Windows XP Home Edition.

I tried to rightclick on my external device icon and choose "safety remove", nothing happened.

Tried to restart computer and same thing there.

Can you help me?

oliwek
04-20-2009, 06:04 AM
boot from a linux livecd,

use fdisk -l to know how linux calls your ntfs partition

(knoppix/debian based distro) :


sudo fdisk -l

if the partition is sdb1, type in console :



sudo ntfsfix sdb1

(if there was a problem and no ntfsfix, use your packet manager, synaptic or other, and install the package ntfsprogs)

that should do it


edit : you can also mount the partition in linux and use indeed the 'force' option.

in console :


sudo mkdir /mnt/external
sudo mount -t ntfs-3g /dev/sdb1 /mnt/external/ -o force


alternatively adapt your /etc/fstab file : you should have :
dev/sdb1 /mnt/external/ ntfs-3g defaults,force 0 0