HOWTO: Mount Windows ntfs partition as read-write in Debian Linux
Purpose: We will learn how to mount a Windows NTFS partition as writable (and readable) under Debian Linux. As you must have noticed that under GNOME, Debian mounts your Windows NTFS partition as only “readable” using gnome-volume-manager package. However this is not very useful if you want to copy some data to your Windows partition in Linux. Let’s get started…
Step 1: Find your Windows NTFS partition
First you need to find out what is the partition number of your NTFS partition. You can use any tool like fdisk or cfdisk.
Using fdisk:
debian:~# fdisk -l | grep -i ntfs
/dev/sda1 * 1 3315 26627706 7 HPFS/NTFS
debian:~#
Using cfdisk:
debian:~# cfdisk /dev/sda
In this example, the NTFS partition is /dev/sda1. You can substitute your own.
Step 2: Check if your kernel as FUSE support
Note: If you are using the default Debian Lenny kernel (2.6.26) that gets installed then you can skip this step and go to Step 3.
In case if you are like me using a custom compiled kernel then you need to check first if FUSE support is there in your kernel or not. Give the following command:
# cat /boot/config-2.6.26-custom | grep FUSE
You should either get:
CONFIG_FUSE_FS=m
or
CONFIG_FUSE_FS=y
If you don’t see any one of the above output then you will need to re-compile your kernel with FUSE support.
Step 3: Install ntfs-3g utility
To mount NTFS as read-write you will need the ntfs-3g utility from the Linux-NTFS project.
# apt-get update
# apt-get install ntfs-3g
Step 4: Mount your NTFS partition
Finally we can mount our NTFS partition as readable and writable by giving the following command:
# mkdir /mnt/windows
# mount -t ntfs-3g /dev/sda1 /mnt/windows
Check: You can see if the partition mounted correctly or not by giving following command:
debian:/mnt/windows# ls
AUTOEXEC.BAT pagefile.sys setup.log
boot.ini Garmin PDOXUSRS.NET Shortcut to Desktop.lnk
Config.Msi IO.SYS Program Files System Volume Information
CONFIG.SYS MSDOS.SYS Quarantine TEMP
Demo Album NTDETECT.COM RECYCLER WINDOWS
Documents and Settings ntldr SETUP YServer.txt
debian:/mnt/windows#
Step 5: Mount NTFS partition on every boot automatically
Instead of giving mount command (like above) every time we boot into Linux, we can make this mount permanent so that the NTFS partition will mount automatically every time you boot into your Linux system. Just add the following line to your ”/etc/fstab’ file:
/dev/sda1 /mnt/windows ntfs-3g defaults 0 0
Save the file and reboot your computer and the NTFS partition will be mounted automatically.
You can un-mount the partition by giving the standard command:
# umount /dev/sda1
Happy writing to your NTFS partition.
Note: There might be other solutions/ways to mount NTFS as writable but I haven’t tried those. In case if you know a different method please post here (comment).
Also don’t forget to rate this post below.


Email Subscription









March 3rd, 2009 at 12:50 pm
Many thanks for this. I recently wiped my etch install and replaced it with lenny. Although the XP partition on the drive was showing on the gnome desktop, I couldn’t do anything with it.
Now I can :-)
Reply to this comment
Kushal Reply:
March 3rd, 2009 at 2:55 pm
Thank you for your comment! It’s surprising why ntfs driver mounts it as readable only.
Btw, just of curiosity, why did you “wipe” your installation to upgrade to lenny? Simple apt-get dist-upgrade would have the done the trick for you…
Reply to this comment
SteveE Reply:
March 3rd, 2009 at 4:38 pm
I’d installed Etch as a learning experience, and during my “learning” I had messed it up pretty well :-)
So I thought a fresh install would be a good idea.
When I installed Lenny I could not actually even read the ntfs partition unless I was logged in as root, it was shown on my gnome desktop, but useless. Your guide resolved all that.
Reply to this comment
March 4th, 2009 at 4:20 am
[...] Mount a Windows Network Share on Linux using SAMBA/CIFS May.19, 2008 in Mount, Windows Purpose: This post will explain how you can mount a Windows Network Share on to your Linux machine. Note: If you are looking for how to mount a Windows NTFS partition on your local hard drive (as read-write) on to your Linux filesystem this post may not be for you, click here. [...]
March 12th, 2009 at 8:28 pm
[...] Suppose you have a hard drive on your computer which contains Windows XP and Linux on two separate partitions – The classic dual boot option. Now mounting FAT partition as read-write is fairly simple and most of the programs like gnome-volume-manger would do it automatically for you. However mounting NTFS partition as read-write is not supported by default. Most of the program would mount the NTFS partition as Read-Only. If you would like to know how to mount your NTFS partition as read-write in Linux then click here. [...]
March 14th, 2009 at 8:11 pm
thanks for the guide, very easy to follow, and it helps me a lot :)
Reply to this comment
June 27th, 2009 at 12:53 pm
Hi there!
I’ve just read your article and I could manually mount my USB drives. After editing fstab file and rebooting I can get my USB mounted but with error. It says “ntfs-3g-mount: failed to open /dev/fuse: permission denied”. Can you help me out? I would really appreciate it.
Reply to this comment
September 26th, 2009 at 9:16 am
Thanks for the guide, easy and simple! :)
Reply to this comment
October 15th, 2009 at 11:01 am
Thanks a lot
its working perfect to me
I have debian lenny
Thanks again
Reply to this comment
December 19th, 2009 at 3:39 pm
Great guide! One of many that I have been happy to find for previous installs of Linux, but definitely well written, short, concise, and complete. Thanks for sharing your knowledge and making it easy on so many others.
Reply to this comment
December 29th, 2009 at 10:09 pm
Thanks for the instructions. From tine /mnt/windows directory I could see the Windows partition C:\ files and folders but i cannot access the folders like Documents and Settings. It says bash: cd: No such file or directory even though the read write execute privileges are set correctly.
Did I do something wrong?
Reply to this comment
February 21st, 2010 at 9:44 am
a simple “mount -a” saves the reboot after entering the data in /etc/fstab ;)
reboot is for Windows :D
Reply to this comment
April 1st, 2010 at 8:27 pm
[...] hard drive (as read-write) on to your Linux filesystem this post may not be for you , click here [...]
November 24th, 2011 at 3:58 pm
[...] 12 is the install) This might help if your interested in mounting a Windows partition in Linux. Mount Windows NTFS partition as read writable and readable in Debian Linux | Debian Ubuntu Linux Sol… Note: I have not tried this, maybe other members could link a good article. And that's it for this [...]
April 17th, 2012 at 6:20 am
wow.. that’s nice guide, easy and simple
thanks….
Reply to this comment