LinuxでWindows8のディスクをマウントすると以下のようなエラーが発生する場合があります。
mount exited with exit code 14 Windows is hibernated, refused to mount
本資料では、このような場合でもマウントする方法を記します。
以下、Debianでマウントしようとした時に出力されたエラー画面です。
問題としてWindows8(8.1)の高速スタートアップが絡んでいるようです。
Windows側の高速スタートアップを無効にすれば(場合によっては休止状態)
このようなエラーは発生しないようです。
このような状態でも以下のようにコマンドを実行すればマウントすることができます。
まずは、ntfs-3gパッケージが必要ですのでインストールしていない場合はインストールしてください。
apt-get install ntfs-3g
sudo apt-get install ntfs-3g
yum install ntfs-3g
sakura@mini:~$ su - パスワード:
root@mini:~# mkdir /media/Windows8
root@mini:~# mount -t ntfs-3g -o remove_hiberfile /dev/sdb4 /media/Windows8 The disk contains an unclean file system (0, 0). The file system wasn't safely closed on Windows. Fixing.尚、当方の環境では/dev/sdb4となりましたが、みなさんの環境では異なる文字列になる場合がありますので、
root@mini:~# ls -l /media/Windows8/ | head -10 合計 8301501 drwxrwxrwx 1 root root 0 11月 1 2013 $Recycle.Bin drwxrwxrwx 1 root root 0 11月 19 2012 AuthLog -rwxrwxrwx 1 root root 1 6月 18 2013 BOOTNXT -rwxrwxrwx 1 root root 8192 9月 14 2012 BOOTSECT.BAK drwxrwxrwx 1 root root 8192 9月 14 2012 Boot drwxrwxrwx 1 root root 475136 7月 15 20:18 Config.Msi drwxrwxrwx 1 root root 0 2月 13 2013 DRIVERS lrwxrwxrwx 2 root root 60 8月 22 2013 Documents and Settings -> /media/Windows8/Users
root@mini:~# umount /media/Windows8
remove_hiberfileを調べたところ、以下のように記述されています。
自己責任でおねがいします。
remove_hiberfile Unlike in case of read-only mount, the read-write mount is denied if the NTFS volume is hibernated. One needs either to resume Windows and shutdown it properly, or use this option which will remove the Windows hibernation file. Please note, this means that the saved Windows session will be completely lost. Use this option under your own responsibility.
以上、Windows8(8.1)のディスクをマウントする手順でした。