segunda-feira, 21 de dezembro de 2015

Montar NTFS no LMDE2

Para montar um sistema de arquivos Windows no LMDE 2 use o comando abaixo:

$ sudo mkdir /mnt/win
$ sudo mount -t ntfs /dev/sda2 /mnt/win



*** Caso apareça a seguinte mensagem de erro:

The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda2': Operação não permitida
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

Execute o seguinte comando:

$ sudo ntfsfix /dev/sda2
Mounting volume... The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
FAILED
Attempting to correct errors... 
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sda2 was processed successfully.


Após o término do comando ntfsfix, execute o comando mount de novo: 

$ sudo mount -t ntfs /dev/sda2 /mnt/win

Nenhum comentário:

Postar um comentário