LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-27-2006, 09:14 PM   #1
jaymoney
Member
 
Registered: Mar 2006
Location: Cincinnati, OH
Distribution: Ubuntu 8.10, Xubuntu 8.04, Fedora 10
Posts: 87

Rep: Reputation: 16
write access on mounted windows parition


I have mounted my windows partition successfully. Ive messed around for awhile trying to get write access on that drive, but i havent had any success. here is my fstab, im sure i just need to change something in here, but im just not sure what.


Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda3       /               ext3    defaults,errors=remount-ro 0       1
/dev/sda5       none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto 0       0
/dev/sda2       /c              ntfs    ro,user,nosuid,nodev,umask=0000 0 0
thanks in advance
 
Old 07-27-2006, 09:17 PM   #2
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
ntfs write with linux is still kinda flimsy, Read Me
 
Old 07-27-2006, 11:04 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Code:
      /c              ntfs    ro,user,nosuid,nodev,umask=0000 0 0
That ro (read only) can't be right. This is what my fat32 windows partition looks like in fstab:

Code:
/dev/hda5       /mnt/home32     vfat    umask=000,rw,owner,user,auto      0       0
I would think that if you simply changed vfat to ntfs, it would work; at least insofar as ntfs writing can work. I've heard that the newer kernels handle it fairly well.

Is /c an actual directory on your linux box?
 
Old 07-27-2006, 11:16 PM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
NTFS and FAT32 are very different.

You cannot reliably and safely write to NTFS. There are tools to do it, and some supposedly "work," but I would not risk it.
 
Old 07-27-2006, 11:35 PM   #5
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
the best ive heard of read/write onto ntfs can reliable write to files as long as you dont change the file lenght(size). there are some projects that make some lofty claims, but i dont know how well they work.
 
Old 07-28-2006, 12:20 AM   #6
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Look... I have had the same EXACT problems in the past!

Do EXACTLY this and you will have no further problems.

Go to System>Administration>Login Window. Click on the Security Tab and check the box that reads, "Allow Local System Administrator Login".

THEN, Log in as 'Root'. Go to your Windows folder, right-Click on it and scroll down to 'Properties'. Click on that and then click on the 'Permissions' Tab. You will now see 'Owner, Group, Others'.
Check all the boxes next to "Write" and log in again as a normal user.


Do NOT attempt to write to an NTFS partition! You CANT! Trust me! I dont care what everyone tells you about all the software out there that allows you to! If you're just a regular linux user, you are in for a BIG dissapointment!

Use a Fat32 Partition in order to access your files.





Good Luck!

Last edited by randell6564; 07-28-2006 at 12:30 AM.
 
Old 07-28-2006, 09:13 AM   #7
sparton
Member
 
Registered: Nov 2003
Location: Cincinnati, Ohio
Distribution: Ubuntu 6.06 /SLED10
Posts: 45

Rep: Reputation: 15
Quote:
/dev/sda2 /windows/c ntfs nls=utf8,umask=0222 0 0
Your only going to get read access only. Your best bet is to install a shared drive to use between windows and linux. I have a seperate 120gig drive just to share and then add the line.

Quote:
/dev/hdb1 /windows/d vfat iocharset=utf8,umask=000 0 0
I've heard but i cant confirm this even the read and write access that is out for linux is not 100% stable and you can risk losing and corrupting data.
 
Old 07-28-2006, 09:24 AM   #8
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
read/write for fat32/vfat is 100% stable and reliable.
read for ntfs is about 90% reliable and no cooruption can occur if in read only
but as i said, and a few others have as well, write access on ntfs in linux is dangerous.
It should _NOT_ be attempted unless you have backed up all the data on the partition first.
 
Old 07-28-2006, 09:31 AM   #9
sparton
Member
 
Registered: Nov 2003
Location: Cincinnati, Ohio
Distribution: Ubuntu 6.06 /SLED10
Posts: 45

Rep: Reputation: 15
Quote:
read/write for fat32/vfat is 100% stable and reliable.
read for ntfs is about 90% reliable and no cooruption can occur if in read only
but as i said, and a few others have as well, write access on ntfs in linux is dangerous.
It should _NOT_ be attempted unless you have backed up all the data on the partition first.
in other words...........if you like your windoooze install a seperate shared hard drive.


....if you only use windows for internet and word processing.....switch 100% to ubuntu
 
Old 07-28-2006, 09:38 AM   #10
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
Quote:
Originally Posted by sparton
in other words...........if you like your windoooze install a seperate shared hard drive.


....if you only use windows for internet and word processing.....switch 100% to ubuntu
Is that what i said?

Basicly yeah, get a shared harddrive and format it fat32.
 
Old 07-28-2006, 10:21 AM   #11
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by AAnarchYY
Is that what i said?

Basicly yeah, get a shared harddrive and format it fat32.

EXACTALICKALY!
 
Old 07-28-2006, 10:25 AM   #12
sparton
Member
 
Registered: Nov 2003
Location: Cincinnati, Ohio
Distribution: Ubuntu 6.06 /SLED10
Posts: 45

Rep: Reputation: 15
.....not enough coffee......when im like this i tend to only read the first sentences
 
Old 07-28-2006, 10:44 AM   #13
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Quote:
Originally Posted by AAnarchYY
write access on ntfs in linux is dangerous
Apparently not when the Windows NTFS driver itself is used.
 
Old 07-29-2006, 09:54 AM   #14
jaymoney
Member
 
Registered: Mar 2006
Location: Cincinnati, OH
Distribution: Ubuntu 8.10, Xubuntu 8.04, Fedora 10
Posts: 87

Original Poster
Rep: Reputation: 16
it is not that important for me to be able to write to my windows partition. i can see that its not even worth the risk to add write permissions on my ntfs partition. so i guess i wont even worry about it anymore

i think i finally have ubuntu running to my liking, i havent booted into windows for a couple weeks now.
 
Old 07-29-2006, 08:15 PM   #15
nuxrl
Member
 
Registered: Jun 2006
Location: NY, USA
Distribution: Slackware, Arch
Posts: 176

Rep: Reputation: 35
ntfs-3g

I have been playing with ntfs-3g. It's pretty stable. But sure, backup important data in the ntfs partition before trying to write in case...
 
  


Reply



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
how to write to a mounted windows partiton on fedora? muhrwa Linux - Hardware 4 04-30-2004 06:54 AM
NFS access to mounted windows harddrives uswong Linux - Networking 1 02-17-2004 01:01 PM
write access to mounted drive woja Linux - Newbie 3 11-05-2003 02:24 AM
Why I can only write in mounted windows partition in "su" mode Allen T Linux - Software 5 02-18-2003 01:10 AM
can't write on mounted windows partition! icecube Linux - Hardware 21 12-07-2002 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:12 AM.

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
Open Source Consulting | Domain Registration