Unable to mount Windows (NTFS) filesystem due to hibernation - Ask Ubuntu


whenever boot ubuntu, message cannot mount windows partition, , can choose either wait, skip or manually mount.

when try enter windows partition through nautilus message saying partition hibernated , need enter file system , close it, have done no problem don't know why happens.

here's partition table, if more data needed please let me know.

   device boot      start         end      blocks   id  system /dev/sda1            2048    20000767     9999360   83  linux /dev/sda2        20002814   478001151   228999169    5  extended /dev/sda3   *   478001152   622532607    72265728    7  hpfs/ntfs/exfat /dev/sda4       622532608   625141759     1304576   82  linux swap / solaris /dev/sda5        20002816   478001151   228999168   83  linux 

a bug has been filed nautilus dialog seeing recommends potentially dangerous option result in data loss. please not run command in dialog unless want delete saved windows session , potentially lose unsaved work.

explanation: why linux can't open hibernated windows partitions:

you seeing error because hibernated windows instead of turning off normal way (in newer versions of windows, hibernate might default option).

  • hibernating saves current state information hard disk , powers down computer.
  • shutting down computer closes programs , ends running processes before powering down computer.

when turn off windows hibernating it, pausing system , saving of information (into big file called hiberfil.sys) way when resume hibernation of applications , files how left them. sets flag in hiberfil.sys let other operating systems know windows hibernated.

making changes windows (ntfs) partition while hibernated dangerous--it cause windows not resume hibernation or crash after resuming. because of this, tool (ntfs-3g) mounts (opens) partition not mount in read-write mode if sees hibernation flag. such, nautilus, default file browser, not able automatically open partition--hence error message see--because trying open in read-write mode.

workaround versions of windows:

there 3 ways mount hibernated windows partition:

  1. boot windows , power down system shutting down completely. may boot ubuntu , partition mount in read-write mode automatically when open in nautilus. note "shut down" option may not 1 displayed in start menu default. may need click button next see further options.

  2. manually mount filesystem in read mode.

    • check see if have mount point (folder mounting partition in) windows partition in folder /media using command:

      ls /media

    • if don't see folder windows partition, should create 1 following command:

      sudo mkdir /media/windows

    • next, mount partition in read-only mode onto folder command:

      mount -t ntfs-3g -o ro /dev/sda3 /media/windows

      note should change /media/windows if mountpoint called else.

    • now able view/open files on windows partition using program in ubuntu. not able write partition or modify files in read mode.
  3. if need mount partition in read-write mode , not able or willing boot windows , shut down there third option. however, not included here because completely deletes hiberfil.sys , cause lose unsaved information in hibernated windows programs. following quotation man ntfs-3g option used this.

    remove_hiberfile               unlike in case of  read-only  mount,   read-write  mount                denied  if   ntfs  volume hibernated. 1 needs either               resume windows , shutdown  properly,  or  use   option                 remove   windows hibernation file. please note,               means saved windows  session                  lost. use option under own responsibility. 

solution (only windows 8 , 10):

there new feature in windows 8 called fast startup. if feature enabled (which default), windows 8 not shutdown when choose shutdown. instead, "hybrid shutdown". hibernating; makes booting windows 8 faster. so, need disable feature able shut down properly, , able mount windows partitions. this, boot windows 8 and:

note: disabling fast startup make windows 8 take longer time boot. there no "exact" numbers, let's if took 10 seconds boot windows 8, take 50 seconds after disabling feature.

  1. open control panel in small icons view , click on power options. (see screenshot 1)
  2. click on choose power buttons do. (see screenshot 2)
  3. click on change settings unavailable. (see screenshot 3)
  4. uncheck turn on fast startup (recommended). (see screenshot 4)

click on save changes. now, shutdown windows 8 , boot ubuntu.

if still aren't able mount without getting errors, may need turn off hibernation completely. open elevated command prompt (right click on shortcut, click on “run administrator”), , input:

powercfg /h off 

source: fast startup - turn on or off in windows 8.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User