LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Write to windows (https://www.linuxquestions.org/questions/linux-newbie-8/write-to-windows-156339/)

andersh3 03-11-2004 11:18 AM

Write to windows
 
Hi.

After i reinstalled xp i cant write or delete in windows partitions. Only read. I formated the disk with fat32. From the command-line i cant get into Documents and Settings in xp. How can write again to windows?

anders.:)

jkobrien 03-11-2004 11:49 AM

Hi,

What are the relevant entries in /etc/fstab?

Also, have you tried writing as root?

John

sirpimpsalot 03-11-2004 12:40 PM

try adding umask=000 to your fstab entry for the fat drive...

my entry looks like this:

/dev/hda4 /mnt/storage vfat umask=000,auto 0 0

Silver_Seagull 03-11-2004 01:01 PM

By any chance, is the windows partition NTFS? As far as I know, you can't write to an NTFS with certain ditros (or at all?)

This is just what I have picked up in my searches for info..there may be a workaround out there! :)

benjithegreat98 03-11-2004 01:32 PM

In your fstab make sure you don't have ro in the line where you would have your fat32 info. I did that by accident early on when I didn't know what I was doing an just copied a line off of a random website.

As for getting access to Docs and settings from the command line you can type
Code:

cd Documents\ and\ Settings
to get in there.

hint: If you are typing on the command line you can hit the tab button to complete you command. if you type cd Docu and hit tab then it will complete as much of the command as it can.

andersh3 03-13-2004 11:49 AM

Hi.

Thx for the replies.

/etc/fstab:

/dev/hdb1 / reiserfs notail 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb6 /home reiserfs notail 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=utf8 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=utf8 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,iocharset=utf8,sync,umask=0 0 0
/dev/hda1 /mnt/win_c vfat iocharset=utf8,ro,umask=0 0 0
none /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
/dev/hdb8 /usr/local reiserfs notail 1 2
/dev/hdb5 swap swap defaults 0 0
/dev/hdb7 swap swap defaults 0 0

anders.

benjithegreat98 03-13-2004 01:08 PM

Your line that says this:
dev/hda1 /mnt/win_c vfat iocharset=utf8,ro,umask=0 0 0
should say this:
dev/hda1 /mnt/win_c vfat iocharset=utf8,umask=0 0 0

The ro stands for read-only which is why you can't write. You gave yourselft only read access.

andersh3 03-14-2004 06:08 AM

Thx


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