LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 10-29-2006, 05:21 PM   #1
vcatalano
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, 07: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
Code:
/dev/hda1 /mnt/windows ntfs umask=0 0 0
 
Old 11-01-2006, 07:21 AM   #3
robingazi
Member
 
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:

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

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

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

Last edited by robingazi; 11-01-2006 at 07:23 AM.
 
Old 11-11-2006, 02:38 AM   #4
vcatalano
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, 08:38 AM   #5
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 771

Rep: Reputation: 32
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, 01:54 PM   #6
H2O-linux
Member
 
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 01:59 PM.
 
Old 11-12-2006, 12:30 AM   #7
vcatalano
LQ Newbie
 
Registered: Sep 2006
Posts: 27

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


Reply

Tags
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 11:56 PM
How many windows partition can I mount? subaruwrx Debian 4 12-23-2004 07:29 PM
Can't mount Windows XP partition hayden Fedora - Installation 15 09-16-2004 06:04 PM
Mount Windows partition? JoseSilva Linux - General 7 01-28-2004 12:44 AM
can't mount windows nt partition cyberswami Linux - General 3 01-26-2003 10:22 PM


All times are GMT -5. The time now is 01:08 PM.

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