How to mount Windows(NTFS) File System on Linux
[et_pb_section bb_built=”1″][et_pb_row][et_pb_column type=”4_4″][et_pb_text _builder_version=”3.10.1″]
Mount Windows Files on Linux
In some cases, whenever you boot Linux, you may get a message ” Unable to access the windows volume”.This article tells you how to resolve/mount the NTFS volume.
Why it occurs?
You are seeing this error because you hibernated Windows instead of turning it off the normal way/ or the system might do not shut down properly (in newer versions of Windows, hibernate might be the default option).
Hibernating saves the current state information to the hard disk and then powers down the computer.
Shutting down the computer closes all programs and ends all running processes before powering down the computer.
[/et_pb_text][et_pb_image _builder_version=”3.10.1″ src=”http://tec4tric.com/wp-content/uploads/2017/02/mount-windows-on-linux.png” align=”center” /][et_pb_code _builder_version=”3.10.1″]<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script><!– [et_pb_line_break_holder] –><ins class=”adsbygoogle”<!– [et_pb_line_break_holder] –> style=”display:block; text-align:center;”<!– [et_pb_line_break_holder] –> data-ad-layout=”in-article”<!– [et_pb_line_break_holder] –> data-ad-format=”fluid”<!– [et_pb_line_break_holder] –> data-ad-client=”ca-pub-1750980986506231″<!– [et_pb_line_break_holder] –> data-ad-slot=”3802595016″></ins><!– [et_pb_line_break_holder] –><script><!– [et_pb_line_break_holder] –> (adsbygoogle = window.adsbygoogle || []).push({});<!– [et_pb_line_break_holder] –></script>[/et_pb_code][et_pb_text _builder_version=”3.10.1″]
When you turn off Windows by hibernating it, you are essentially pausing the system and saving all of that information (into a big file called hiberfil.sys) This way when you resume from hibernation all of your applications and files will be exactly how you left them. It also sets a flag in hiberfil.sys to let other Operating Systems know that Windows is hibernated.
Making changes to your Windows (ntfs) partition while it is hibernated could be dangerous-it could cause Windows to not resume from hibernation or to crash after resuming. Because of this, the tool (ntfs-3g) that mounts (opens) the partition will not mount it in read-write mode if it sees a hibernation flag.
There are three ways to mount a hibernated Windows partition:
-
- Boot into Windows and power down the system by shutting it down completely. You may then boot back into Ubuntu(simply restart the machine from Windows) and the partition will mount in read-write mode automatically when you open it in Nautilus. Note that the “Shut Down” option may not be the one displayed in your start menu by default. You may need to click the button next to it to see further options.
[/et_pb_text][et_pb_code _builder_version=”3.10.1″]<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script><!– [et_pb_line_break_holder] –><ins class=”adsbygoogle”<!– [et_pb_line_break_holder] –> style=”display:block; text-align:center;”<!– [et_pb_line_break_holder] –> data-ad-layout=”in-article”<!– [et_pb_line_break_holder] –> data-ad-format=”fluid”<!– [et_pb_line_break_holder] –> data-ad-client=”ca-pub-1750980986506231″<!– [et_pb_line_break_holder] –> data-ad-slot=”5472675697″></ins><!– [et_pb_line_break_holder] –><script><!– [et_pb_line_break_holder] –> (adsbygoogle = window.adsbygoogle || []).push({});<!– [et_pb_line_break_holder] –></script>[/et_pb_code][et_pb_text _builder_version=”3.10.1″]
2. Manually mount the filesystem in read-only mode.
-
- Check to see if you have a mount point (folder for mounting your partition in) for your Windows partition in the folder /media using this command: ls /media
-
- If you don’t see a folder for your Windows partition, you should create one with the following command:sudo mkdir /media/windows
- Next, mount the partition in read-only mode onto this folder with this command: mount -t ntfs-3g -o ro /dev/sda3 /media/windowsNote that you should change /media/windows if your mount point is called something else.
[/et_pb_text][et_pb_code _builder_version=”3.10.1″]<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script><!– [et_pb_line_break_holder] –><ins class=”adsbygoogle”<!– [et_pb_line_break_holder] –> style=”display:block; text-align:center;”<!– [et_pb_line_break_holder] –> data-ad-layout=”in-article”<!– [et_pb_line_break_holder] –> data-ad-format=”fluid”<!– [et_pb_line_break_holder] –> data-ad-client=”ca-pub-1750980986506231″<!– [et_pb_line_break_holder] –> data-ad-slot=”4455839354″></ins><!– [et_pb_line_break_holder] –><script><!– [et_pb_line_break_holder] –> (adsbygoogle = window.adsbygoogle || []).push({});<!– [et_pb_line_break_holder] –></script>[/et_pb_code][et_pb_text _builder_version=”3.10.1″]
3. Open Terminal ( ctrl+alt+t), and type the following command.
sudo ntfsfix /dev/sdXY
where XY is the partition. ex: sda2 or sdb1
ntfsfix repairs some fundamental NTFS inconsistencies reset the NTFS journal file and schedule an NTFS consistency check for the first boot into Windows.
[/et_pb_text][et_pb_post_nav _builder_version=”3.10.1″ in_same_term=”off” /][/et_pb_column][/et_pb_row][/et_pb_section]