{"id":533,"date":"2018-11-18T12:00:54","date_gmt":"2018-11-18T15:00:54","guid":{"rendered":"http:\/\/www.bfnetworks.com.br\/?p=533"},"modified":"2022-07-15T10:18:34","modified_gmt":"2022-07-15T13:18:34","slug":"montar-ntfs-sem-hiberfil","status":"publish","type":"post","link":"https:\/\/bfnetworks.com.br\/montar-ntfs-sem-hiberfil\/","title":{"rendered":"MONTAR NTFS SEM FILE HIBERFIL.SYS – LINUX\/WINDOWS"},"content":{"rendered":"

Hiberfil.sys \u00e9 o arquivo hiberna\u00e7\u00e3o que o\u00a0Windows\u00a0usa para armazenar os processos em execu\u00e7\u00e3o, o Windows 10 usa muito para\u00a0salvar tudo da sua sess\u00e3o atual para o disco r\u00edgido, antes que voc\u00ea desligue o PC e quando ligar novamente ele ir\u00e1 restaurar os processos abertos ou ainda para inicializa\u00e7\u00e3o mais r\u00e1pido do S.O. \u00c9 at\u00e9 um recurso interessante, por\u00e9m esse arquivo impede do linux montar essa parti\u00e7\u00e3o quando se usa esse recurso.
\nGeralmente o erro recebido quando se tenta montar:<\/p>\n

Error mounting \/dev\/sda2 at \/media\/gabriel\/B4E60F53E60F14F01: Command-line `mount -t \"ntfs\" -o \"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000\" \"\/dev\/sda2\" \"\/media\/gabriel\/B4E60F53E60F14F01\"' exited with non-zero exit status 14: Windows is hibernated<\/strong>, refused to mount.\nFailed to mount '\/dev\/sda2': Opera\u00e7\u00e3o n\u00e3o permitida\nThe NTFS partition is in an unsafe state. Please resume and shutdown\nWindows fully (no hibernation or fast restarting), or mount the volume\nread-only with the 'ro' mount option.<\/pre>\n

Para montar a parti\u00e7\u00e3o veja as op\u00e7\u00f5es abaixo:<\/p>\n

MONTAR APENAS COMO LEITURA<\/h3>\n

A primeira op\u00e7\u00e3o que temos \u00e9 montar a parti\u00e7\u00e3o apenas como leitura, ent\u00e3o tente com o comando abaixo:<\/p>\n

\n
mount -o ro \/dev\/sdc1 \/mnt<\/div> <\/div><\/div>\n
<\/div>\n

MONTAR PERDENDO ARQUIVO DE HIBERNA\u00c7\u00c3O<\/h3>\n
\n
ntfsfix \/dev\/sdc2<\/div>
mount -t ntfs-3g -o remove_hiberfile \/dev\/sdc2 \/mnt<\/div> <\/div>\n

DESATIVANDO RECURSO HIBERNA\u00c7\u00c3O NO WINDOWS<\/h3>\n

Para desativar esse recurso de inicializa\u00e7\u00e3o r\u00e1pida ou arquivo de hiberna\u00e7\u00e3o, siga o comando abaixo no cmd como administrador no Windows:
\n

\n
powercfg -h off<\/div> <\/div>
\nPara reativar troque no comando cima o off<\/strong> por on<\/strong>.<\/p>\n

FONTE<\/h3>\n

Force mount hibernated NTFS volume<\/a><\/p><\/blockquote>\n