LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Copy files from NTFS to NTFS (https://www.linuxquestions.org/questions/linux-hardware-18/copy-files-from-ntfs-to-ntfs-325755/)

ThaHackBoy 05-21-2005 03:57 PM

Copy files from NTFS to NTFS
 
Hello,

I have 2 harddrives, a 40 Gb with a Linux ext2 partition and a NTFS partition, and a 120 Gb with a Linux ext2 fs and another NTFS partition. I currently only have Slackware installed on the 40 Gb harddisk, but I have some files on the 40 Gb NTFS harddrive too. Now I want to copy those files to the NTFS partition on the 120 Gb Harddrive (40 Gb NTFS to 120 Gb NTFS).

How should I do that (so I've only one OS, slackware on the 40 gb)?
Some kind of bootdisk perhaps?

zeca_pedra 05-21-2005 05:47 PM

Changing permissions maybe?
 
I guess you want to move everything that you have in 40 Gb NTFS related to Window$ to the 120 Gb NTFS partition so that you have the 40 Gb partition with Linux and Linux only and the 120 Gb with Window$, is that it?
I think you'll have to edit your fstab because my guess is that you don't have the permissions to read and write in NTFS.

as root type in console/terminal

Code:

sudo gedit /etc/fstab
I'm using Gnome as DE that's why I edit it with gedit- you'll have to use any available editor that you have.

take a look at my fstab file so that you can see what you can do
Code:

/dev/hda1      /mnt/hda1      vfat auto,users,rw,umask=000 0 0
/dev/hda3      /mnt/hda3      ntfs noauto,users,ro,umask=000 0 0
/dev/hda5      /mnt/hda5      ntfs noauto,users,ro,umask=000 0 0

then change that ro to rw. I believe that will do the trick. If you find problems try to use captive ntfs (I've heard is more secure, can't tell you why!)
this works for me because I don't want to write to ntfs but I've already had NTFS with the option of writing to it :-)

see these threads, they might help you
http://www.linuxquestions.org/questi...t=captive+ntfs
get captive NTFS if you wish

Hope this helps, somehow

Electro 05-21-2005 06:36 PM

You can use Partition Magic to copy the files from a ext2/ext3 filesystem to NTFS. Linux can write to NTFS but there are rules you have go by. The file size can not change and you can not add files. If you use captive, you can write to NTFS with out any problems. Captive needs certain files from either Windows 2000 or Windows XP. I do not know how well it will work with 2.6.x kernels.

If you use either Partition Magic or captive, I strongly suggest making backups before using these programs.

There are programs in Linux that can do the same as Partition Magic but it stops its abilities with NTFS partitions.

Its best to use FAT or FAT32 if multi-booting between Windows and Linux.

Many distributions that include NTFS support do not include write support.


All times are GMT -5. The time now is 07:10 PM.