Copying files to a windows XP partition (mtools?)

With a lot of help from people on this list, I have a dual-boot
system with /dev/sda1 as a windows partition (etch install).

After mount -t ntfs /dev/sda1 ./mntpoint

I can use ls to see files in the windows partition and copy files
to debian. However, I cannot send files in the other direction.
I hope there is a simple fix.

On an older dual-boot system, I used mtools. Is this still
recommended? I tried created a mtools.conf file that just said

drive c:
file="/dev/sda1"

but I just get a message "drive c: not supported"

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Copying files to a windows XP partition (mtools?)

Hello,

Unfortunatly, you should have a vfat partition to exchange data between
Linux and Windows using mtools. As ntfs filesystem and "write permission
under linux" are not very friendly, you may want to have a look at
ntfs-3g.

On Sun, Mar 25, 2007 at 01:16:15PM -0500, Charles Blair wrote:
> With a lot of help from people on this list, I have a dual-boot
> system with /dev/sda1 as a windows partition (etch install).
>
> After mount -t ntfs /dev/sda1 ./mntpoint
>
> I can use ls to see files in the windows partition and copy files
> to debian. However, I cannot send files in the other direction.
> I hope there is a simple fix.
>
> On an older dual-boot system, I used mtools. Is this still
> recommended? I tried created a mtools.conf file that just said
>
> drive c:
> file="/dev/sda1"
>
> but I just get a message "drive c: not supported"
>
>
> --

Copying files to a windows XP partition (mtools?)

Thias wrote:
> Hello,
>
> Unfortunatly, you should have a vfat partition to exchange data between
> Linux and Windows using mtools. As ntfs filesystem and "write permission
> under linux" are not very friendly, you may want to have a look at
> ntfs-3g.
>
> On Sun, Mar 25, 2007 at 01:16:15PM -0500, Charles Blair wrote:
>> With a lot of help from people on this list, I have a dual-boot
>> system with /dev/sda1 as a windows partition (etch install).
>>
>> After mount -t ntfs /dev/sda1 ./mntpoint
>>
>> I can use ls to see files in the windows partition and copy files
>> to debian. However, I cannot send files in the other direction.
>> I hope there is a simple fix.
>>
>> On an older dual-boot system, I used mtools. Is this still
>> recommended? I tried created a mtools.conf file that just said
>>
>> drive c:
>> file="/dev/sda1"
>>
>> but I just get a message "drive c: not supported"
>>
>>
If you dont have/cant make a vfat partition there is another option.
There is a windows driver for ext2 (1) (assuming that's what you use)
which enables you to copy from linux to windows when in windows.

HTH

Wackojacko

(1) http://www.fs-driver.org/

--

Copying files to a windows XP partition (mtools?)

On Sunday 25 March 2007 21:25, Wackojacko wrote:
>
> If you dont have/cant make a vfat partition there is another option.
> There is a windows driver for ext2 (1) (assuming that's what you use)
> which enables you to copy from linux to windows when in windows.
>
This can also be used with ext3 partitions, the journal of which it will
ignore.

Thomas

Copying files to a windows XP partition (mtools?)

If you dont have/cant make a vfat partition there is another option.There is a windows driver for ext2 (1) (assuming that's what you use)
which enables you to copy from linux to windows when in windows.Why not just use NTFS-3G? I hear that there is a stable release since January 2007.-- Software is like sex: it is better when it is free.

Re: Copying files to a windows XP partition (mtools?)

I have exactly the same problem!!!

Could you people help me?

I have Windows Vista Professional and Kubuntu 7.04 on a Medion Laptop.

There is only one HD with partitions:
1. NTFS with Windows
2. NTFS with Documents
3. EXT3 with Kubuntu
4. SWAP

I cannot make other partitions and I would love to find a solution that wouldn't force me to format my 'Documents' partition.

Sorry for invading the topic but it seems the problem is pretty much the same :-)

Thanks...

PS: I am a newbie.

root@LEO-PC-KUBUNTU:/media# ls -l
total 16
lrwxrwxrwx 1 root root 6 2008-09-03 09:54 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2008-09-03 09:54 cdrom0
dr-xr-x--- 1 root plugdev 8192 2008-09-02 16:58 sda1
dr-xr-x--- 1 root plugdev 4096 2008-09-02 20:06 sda2
root@LEO-PC-KUBUNTU:/media# chmod u+w sda2
chmod: changing permissions of `sda2': Read-only file system
root@LEO-PC-KUBUNTU:/media# umount sda2
root@LEO-PC-KUBUNTU:/media# mount -w /dev/sda2
root@LEO-PC-KUBUNTU:/media# ls -l
total 16
lrwxrwxrwx 1 root root 6 2008-09-03 09:54 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2008-09-03 09:54 cdrom0
dr-xr-x--- 1 root plugdev 8192 2008-09-02 16:58 sda1
dr-xr-x--- 1 root plugdev 4096 2008-09-02 20:06 sda2
root@LEO-PC-KUBUNTU:/media# umount sda2
root@LEO-PC-KUBUNTU:/media# ls -l
total 16
lrwxrwxrwx 1 root root 6 2008-09-03 09:54 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2008-09-03 09:54 cdrom0
dr-xr-x--- 1 root plugdev 8192 2008-09-02 16:58 sda1
drwxr-xr-x 2 root root 4096 2008-09-03 09:54 sda2
root@LEO-PC-KUBUNTU:/media# ls -la sda2
total 8
drwxr-xr-x 2 root root 4096 2008-09-03 09:54 .
drwxr-xr-x 5 root root 4096 2007-04-17 02:25 ..
root@LEO-PC-KUBUNTU:/media#

root@LEO-PC-KUBUNTU:/# mount
/dev/sda3 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.20-15-generic/volatile type tmpfs (rw)
/dev/sda1 on /media/sda1 type ntfs (rw,nls=utf8,umask=007,gid=46)
tmpfs on /lib/modules/2.6.20-17-generic/volatile type tmpfs (rw,mode=0755)
/dev/sda2 on /media/sda2 type ntfs (rw,nls=utf8,umask=007,gid=46)
root@LEO-PC-KUBUNTU:/#

Re: Copying files to a windows XP partition (mtools?)

It worked!

Following instructions of
http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_mount_Windows_partitions_.28NTFS.29_on_boot-up.2C_and_allow_users_read_and_write_access
(see also http://kubuntuguide.org/Feisty#Mounting_NTFS_Partitions.28with_read.2Fwrite_privilege.29 for more information)

I installed "gksu" and "ntfs-config" using adept-manager.

Now I can go on "Start", "System", "NTFS Configuration Tool" and enable/disable writing on it.

One problem: I do not know how to control which users will have writing permissions.

My system: Kubuntu 7.04
My kernel: 2.6.20-17-generic

I have no idea if it is the right way to do it, but it worked.

Syndicate content