LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-02-2004, 04:17 PM   #1
PapaJac
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Rep: Reputation: 0
Question cannot create directory `/mnt/win_d/MP3': Read-only file system


Hi,

I just recently installed Linux Mandrake 9.2.
I can access my windows partition and read file from this partition. The problem is when I want to move or create a new folder. I tried this as a user and then as a root user. This is the answer from my terminal:

[root@localhost matt]# mkdir /mnt/win_d/MP3
mkdir: cannot create directory `/mnt/win_d/MP3': Read-only file system
[root@localhost matt]#

I will like to create new folders, save files in this partition, etc. All this kind of stuff as a root user and also as a normal user.


Does anybody can suggest me what can I do and where.
I used Linux Mandrake 9.2 with the default installation.


Thanks in advance,
Matt
 
Old 03-02-2004, 04:21 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
It would appear that your Windows installation is set up as NTFS. AFAIK, there is no NTFS writing natively from Linux.

You have 2 options:
1. create a fat 32 partition which can then be accessed by both OSes, or
2. go to sourceforge.net or freshmeat.net and grab a program which will allow you to write to NTFS. It should be noted that these programs are still experimental and your meileage may vary.
 
Old 03-02-2004, 04:23 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Post the output of the 'mount' command here. The Windows partition is probably mounted as read-only. Note that Linux can only read NTFS, no safe writing is available. If it's fat32, then you can write after mounting it read-write.
 
Old 03-02-2004, 04:35 PM   #4
PapaJac
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Original Poster
Rep: Reputation: 0
This is the output.

[root@localhost matt]# mount /mnt/win_e/
mount: /dev/hde6 already mounted or /mnt/win_e busy
mount: according to mtab, /dev/ide/host2/bus0/target0/lun0/part6 is already mounted on /mnt/win_e
[root@localhost matt]#


Thanks,
Matt
 
Old 03-02-2004, 04:37 PM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
It was supposed to be just 'mount' by itself. Anyways, it is probably NTFS so it won't matter since Linux can't write to NTFS well.
 
Old 03-02-2004, 04:41 PM   #6
PapaJac
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Any program that you can suggest me?

Any program that you can suggest me?

Thanks,
Matt
 
Old 03-02-2004, 04:44 PM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Nope - I don't use them. Just go to the 2 websites I gave you and do a search.
 
Old 03-02-2004, 04:45 PM   #8
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Currently Linux can not write to NTFS properly. However, progress is being made on the driver, and hopefully it will be done soon.
Another alternative is using the the Windows ntfs driver. I'm not sure if it actually works or if it works well, but you can read more about it here:
http://slashdot.org/articles/03/12/02/1536227.shtml
 
Old 03-04-2004, 02:13 AM   #9
dredgemortle
Member
 
Registered: Feb 2004
Location: Fort Worth, TX
Distribution: Kubuntu 8.04
Posts: 33

Rep: Reputation: 15
You could try Captive to write to ntfs, although I haven't yet:

http://freshmeat.net/projects/captive/
 
Old 03-04-2004, 02:34 AM   #10
crypticsoda
LQ Newbie
 
Registered: Feb 2003
Location: Stuttgart, Germany
Distribution: Fedora
Posts: 26

Rep: Reputation: 15
Quote:
Originally posted by dredgemortle
You could try Captive to write to ntfs, although I haven't yet:

http://freshmeat.net/projects/captive/
Captive worked for me, though it just slowed down the access to the hdd immensely, and took away way too much CPU time. As they said, your mileage may very. So I decided to make that hdd a linux only disk (now having no mp3s and movies when running Windows makes booting Windows even less desirable )

But AFAIK ntfs-for-linux is not included in the standard-mandrake (could be very well wrong though) , so for me it's not clear whether Matt really has ntfs.
Matt, just copy your /etc/fstab here, so we can take a look
 
Old 03-04-2004, 05:16 AM   #11
PapaJac
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Original Poster
Rep: Reputation: 0
This is my fstab

This is my fstab:

/dev/hde9 / ext3 defaults 1 1
/dev/hde7 /boot ext3 defaults 1 2
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/hda,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,sync,iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/hde1 /mnt/win_c ntfs user,umask=0 0 0
/dev/hde5 /mnt/win_d ntfs user,umask=0 0 0
/dev/hde6 /mnt/win_e ntfs user,umask=0 0 0
none /proc proc defaults 0 0
/dev/hde8 swap swap defaults 0 0
 
Old 03-04-2004, 05:25 AM   #12
crypticsoda
LQ Newbie
 
Registered: Feb 2003
Location: Stuttgart, Germany
Distribution: Fedora
Posts: 26

Rep: Reputation: 15
Ok, so I was indeed very wrong You have NTFS, so your best option to get R/W access is to use captive-ntfs.
 
  


Reply


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
mkdir: cannot create directory `test': Read-only file system punt Linux - General 2 04-16-2005 09:58 PM
Mounting windows xp file system, creates mnt point, however, cant read files in share cmd0a0 Linux - Networking 10 04-16-2005 12:28 AM
/mnt ...Read Only File System rblampain Linux - Distributions 4 12-29-2004 11:16 PM
cannot create directory `/mnt/win_d/MP3': Read-only file system PapaJac Mandriva 0 03-02-2004 04:09 PM
"mkdir: cannot create directory `foo': Read-only file system" on FAT32 maddes Linux - Hardware 1 11-26-2003 06:19 PM

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

All times are GMT -5. The time now is 06:04 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