Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-29-2006, 04:21 PM   #1
LQ Newbie
Registered: Sep 2006
Posts: 27

Rep: Reputation: 15
Mount windows partition

I am dual booting windows xp and debian etch on my laptop. I have the laptop divided into two partitions, one for windows the other for linux. How do mount the windows volume on etch so I have read and write access and it will automatically mount everytime I start up?
Old 10-29-2006, 06:31 PM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
If your Windows partition uses ntfs then it is (effectively) not possible to write to it from Linux. You should be able to read that partition though. This line in /etc/fstab mounts my Windows partition on /mnt/windows for me
/dev/hda1 /mnt/windows ntfs umask=0 0 0
Old 11-01-2006, 06:21 AM   #3
Registered: Jul 2006
Location: Bangladesh
Distribution: Ubuntu
Posts: 93

Rep: Reputation: 15
If you are using a sata drive you'd have to use "sda1" instead of "hda1" in your /etc/fstab file. Personally I use something like this:

/dev/sda1 /mnt/windows vfat auto,rw,umask=0000 0 0
Before I do that I usually make a directory at the mount point

mkdir /mnt/windows
Then give write permision to the directory

chmod 755 /mnt/windows
Using 755 is probably lame, someone might suggest otherwise.

Last edited by robingazi; 11-01-2006 at 06:23 AM.
Old 11-11-2006, 01:38 AM   #4
LQ Newbie
Registered: Sep 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Still does not work

This doesnt seem to work. I tried eveything you said but the folder is still locked and I cannot access it without being root
Old 11-11-2006, 07:38 AM   #5
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 806

Rep: Reputation: 43
In your File Manager, right click on the folder and check permissions. You may find the only owner has permissions. If so change the permissions of "group" and "others".
Old 11-11-2006, 12:54 PM   #6
Registered: Sep 2004
Location: Second ring of youranus
Distribution: debian testing
Posts: 153

Rep: Reputation: 30
yes you "can" write to ntfs under linux

I am using Debian 2.8 kernel

you need fuse 2.5 or better installed

you will also need new driver called ntfs-3g

Be carefull as you may cause damage to your windows booting up if you have a dual boot system. I used this because my XP drive had corruption and I lost the CD making it next to impossible to use the XP drive for an XP system any longer. This allowed me to transfer files to and from the XP drive ntfs partition at will as root.

You may get an error when mounting the ntfs partition such as

"Volume is scheduled for check.
Please boot into Windows TWICE, or use the 'force' mount option."

I then used the following line with the force option as my drive had some serious corruption.

ntfs-3g /dev/hdb1 /mnt/windows -o force

Last edited by H2O-linux; 11-11-2006 at 12:59 PM.
Old 11-11-2006, 11:30 PM   #7
LQ Newbie
Registered: Sep 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks guys. I got it. That seemed to have worked!


ntfs, ntfs3g, write

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot mount windows partition scng Linux - Networking 6 07-09-2005 10:56 PM
How many windows partition can I mount? subaruwrx Debian 4 12-23-2004 06:29 PM
Can't mount Windows XP partition hayden Fedora - Installation 15 09-16-2004 05:04 PM
Mount Windows partition? JoseSilva Linux - General 7 01-27-2004 11:44 PM
can't mount windows nt partition cyberswami Linux - General 3 01-26-2003 09:22 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration