MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a dual boot system with Win XP and Mandriva 2008 running KDE, and I can copy and past files from my Windows drive to my Linux drive, but can't copy and past from Linux to Windows? What do I need to do to be able to move the files between the 2 systems while in Linux?
It depends. It could be that you're using the "ntfs" driver to mount the Windows partition, which means you can only mount the partition as read-only (read, copy things from there, but not to there). To get a read-write*support for your NTFS partitions, you need to use something else - maybe fuse-3g or whatever it's called. Not sure if Mandriva ships with it, some distributions do, some don't.
You need to install the ntfs-3g package and any dependencies, then edit your /etc/fstab file to change how your Windows partition is mounted if you wish to write to an ntfs file system. I do not have a Windows partition on my system here, but you can search this forum for ntfs-3g to learn what changes to make to your /etc/fstab file.
To install ntfs-3g, open a terminal window, su to root, and install the package(s) with urpmi:
Code:
[user@localhost ~]$ su (press the ENTER key)
Password: (enter your root password here, then press the ENTER key)
[root@localhost user]# urpmi ntfs3g (press the ENTER key)
If urpmi requests the installation of any additional packages (and I am sure it will), and the YES option in parenthesis is in caps, simply press the ENTER key to install them, if not, respond with yes then press the ENTER key.
To edit your /etc/fstab file, you will have to open it in a text editor with root access. The following example will open KDE's kwrite text editor from a terminal window as root:
Code:
[user@localhost ~]$ su (press the ENTER key)
Password: (enter your root password here, then press the ENTER key)
[root@localhost user]# kwrite /etc/fstab (press the ENTER key)
If you want to use a different text editor, replace kwrite with the name of the text editor you want to use.
I just rechecked on this machine and my Windows drives are all FAT 32, still won't let me copy files from my linux to them? When I was runing SLED 10.0 I was able to copy to them?
Look at the ownership and permissions of the filesystem. Check the fmask= and dmask= options in your /etc/fstab file. Values like "fmask=0111,dmask=000" will allow "others" to write to the file. Also make sure that the "rw" option is used.
Another possibility is that there is something wrong with the filesystem causing it to be mounted read-only.
These are the entries to change. Change the "umask=0022" to "fmask=0111,dmask=000". This will mount these partitions with rw file access for everyone. The 'x' bit for directories allows you to enter that directory. Because vfat isn't a native filetype, the permissions are determined when the partition is mounted and effect the entire partition.
See "man mount" and "info coreutils" for more info on mount and permissions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.