VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: cannot copy linux files to windows ntfs HD  (Read 4891 times)

icedtea

  • Vectorite
  • ***
  • Posts: 142
cannot copy linux files to windows ntfs HD
« on: November 30, 2008, 08:55:08 pm »

Code: [Select]

[root@vector/home/me]# cp -R linuxfiles/ /mnt/winbak/Xcess/
cp: cannot create directory `/mnt/winbak/Xcess/linuxfiles': Operation not permitted





how can i copy my linux files to my windows ntfs partition?
Logged
using VL 5.1 SOHO , 5.8 GOLD

newt

  • Vectorian
  • ****
  • Posts: 1132
Re: cannot copy linux files to windows ntfs HD
« Reply #1 on: November 30, 2008, 10:10:12 pm »

If your windows partition is not mounted with ntfs-3g then you will not be able to write to the partition, just read from it; perhaps that's the problem?
Logged

icedtea

  • Vectorite
  • ***
  • Posts: 142
Re: cannot copy linux files to windows ntfs HD
« Reply #2 on: December 01, 2008, 01:14:35 am »

If your windows partition is not mounted with ntfs-3g then you will not be able to write to the partition, just read from it; perhaps that's the problem?

how can i make it possible? do i need to install something?
Logged
using VL 5.1 SOHO , 5.8 GOLD

icedtea

  • Vectorite
  • ***
  • Posts: 142
Re: cannot copy linux files to windows ntfs HD
« Reply #3 on: December 01, 2008, 01:43:30 am »

Code: [Select]

root@host:/home/me# cp lilo.txt /mnt/winback/Xcess/
cp: cannot create regular file `/mnt/winback/Xcess/lilo.txt': Permission denied
root@host:/home/me# fdisk -l /dev/hda

Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        2550    20482843+   7  HPFS/NTFS
/dev/hda2            2551        4997    19655527+   f  W95 Ext'd (LBA)
/dev/hda5            2551        4997    19655496    7  HPFS/NTFS





although NTFS is specified in my fstab for windows. .. (and it was mounted on boot ) still i cant be able to copy files. . .
Logged
using VL 5.1 SOHO , 5.8 GOLD

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: cannot copy linux files to windows ntfs HD
« Reply #4 on: December 01, 2008, 07:26:41 am »

ntfs-3g was not part of VL-5.8
IIRC writing to NTFS was not supported at all back then.
you can try and compile ntfs-3g and its deps, but IMO it may be time to upgrade
Logged

newt

  • Vectorian
  • ****
  • Posts: 1132
Re: cannot copy linux files to windows ntfs HD
« Reply #5 on: December 01, 2008, 10:14:55 am »

It looks like joe1962 built the necessary packages (fuse and ntfs-3g) for VL 5.8: http://forum.vectorlinux.com/index.php?topic=4307.0

If you are indeed using VL 5.8, and your fstab indicates the type as simply 'ntfs' then you will likely need to add ntfs-3g support; and then you can adjust your fstab to use type 'ntfs-3g' to mount the partition.
Logged

icedtea

  • Vectorite
  • ***
  • Posts: 142
Re: cannot copy linux files to windows ntfs HD
« Reply #6 on: December 01, 2008, 02:56:17 pm »

im still using VL5.1 SOHO. .. i am still waiting for the version 6 stable release..  i hope that it supports the ntfs already. .. so far i have no problems in security issue with my 5.1 except for some new packages that has some dpendencies that needs to be updated. .


Hi.. using my slackware12.0 with NTFS-3G  1.1004  installed (installed x months ago)  i was able to mount and copy my linux file to my win ntfs partition . ..

Quote

root@striker:~# mount -t ntfs-3g /dev/hda5 /mnt/vl/
root@striker:~# cd /mnt/vl/
root@striker:/mnt/vl# ls
DOWNLOADS/  MSOCache/  System\ Volume\ Information/  gymFILES/  pix/      utilities/
MMA/        RECYCLER/  Xcess/                        mp3s/      tidbits/


root@striker:/home/icey# cp lilo.txt /mnt/vl/Xcess/

root@striker:/home/icey# cd /mnt/vl/Xcess/

root@striker:/mnt/vl/Xcess# ls
lilo.txt* 




I will just try it with the new version in my VL 5.1 but as i remembered some dependencies in my VL 5.1 are outdated so installation did not pushed through. . .
« Last Edit: December 01, 2008, 04:08:30 pm by icedtea »
Logged
using VL 5.1 SOHO , 5.8 GOLD