Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-28-2011, 08:08 AM   #1
Registered: Sep 2003
Posts: 61

Rep: Reputation: 15
Moving data from a Linux computer to a windows computer

I have a situation where I am trying to move some data from a Linux computer to a Windows computer. In all there is 700GB of data to move in about 1.5 million files, so I don't want to do this over the network.

My first thought was to use an external USB hard drive and create an NTFS partition and copy the files from the linux computer to mount on the Windows computer. After 4 days of copying without completion I abandoned that idea. I thought the NTFS might be slowing it down, so I created an EXT3 partition. 4 Days later it was still copying. I did some calculations and there was no way the USB 2.0 connection was that slow. I then used ddrescue and cloned the drive to be copied overnight and it took about 12 hours. i was able to mount the USB drive under Linux and access the files appropriately. The only problem is that I can not access that USB drive on my Windows 7 computer. I have tried Explore2fs, DiskInternals Linux Reader, and Ext2 Installable File System For Windows, but none of them is recognizing the external drive.

Can anyone give me some guidance on how to proceed with this?

Thank You
Old 06-28-2011, 08:51 AM   #2
LQ Newbie
Registered: Jun 2011
Posts: 21

Rep: Reputation: Disabled
For 100 % I would suggest to split this bunch of data into smaller packs.
It will be less annoying to test different solutions.

Personally I would split it into 50 GB packets. (14 folders). I would copy those data via FAT32 formated external USB disk. I suppose that your problem is not only connected to size, but to number of files.
Try to pack (tar) 50 GB folders before sending them to remote disk, and unpack on destination PC.

Old 06-28-2011, 12:43 PM   #3
Senior Member
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 1,764

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
*nix to MSW* files

One critcal piece here is the file system, you need to select one that both machines read and write equally well. I second in recommending fat32.

I am confused about your reluctance to use network though. If I had second interfaces available, I might connect them with a crossover CAT-5e and configure the interfaces for an internal subnet and transfer using that connection. Who CARES how long it will take, it will take less time than you have already spent on media experiments.
Old 06-28-2011, 03:04 PM   #4
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Install the ext2fs on your Win system and you should be able to access the USB drive's contents with no problem.

Be aware that Windows convention for text files is that each line terminates with a \r\n sequence (which was reasonable when output went to a physical TTY, and you needed a carriage return and line feed to move the paper up one line and the type-head to the start of the next line). Anyhow, most MS text editors can be used to insert the needed \r characters. (Even "wordpad" can do it.) But, other than that, once you have the driver installed, and you configure the access, you should be "home free."

Note that the name implies only ext2 support, but I can read my ext4 files on my USB drives with no problem. (And, yes, two of those drives contain disk images made with dd.)

That last parenthetical remark raised a question in my mind: Why did you use ddrescue? If it was because you had drive problems, did you verify that you got a good image? (I.e., did you review the log and run fsck on each partition in the USB image?)
Old 06-28-2011, 05:26 PM   #5
Registered: Mar 2008
Posts: 15,512

Rep: Reputation: 2237Reputation: 2237Reputation: 2237Reputation: 2237Reputation: 2237Reputation: 2237Reputation: 2237Reputation: 2237Reputation: 2237Reputation: 2237Reputation: 2237
I think I'd have tried to compress it all to some compressed set or single file.
Old 06-28-2011, 07:43 PM   #6
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,930

Rep: Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865
If the initial copy to an ext3 is also running slow, it most probably ain't a filesystem issue.
If it were me I'd attach the second drive internally and copy to it. When finished, pull it out and install it on the second machine.
And use NTFS - the best option by far IMHO. I haven't used an ext? IFS on Windoze in years.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to move open office doc from Linux computer to Windows computer Phoenixink Linux - Software 6 02-15-2007 08:09 AM
Data lost/changed when moving harddrive to another computer mdb Linux - Hardware 1 05-06-2005 01:59 AM
Why would a windows computer smoke a linux computer for download speed ? lostboy Linux - General 4 10-21-2003 06:20 PM
Moving data from old computer to new one? pilot1 Linux - General 11 05-10-2003 07:15 PM
can I copy data from windows on one computer to linux on another ??? havitush99 General 3 04-01-2002 08:34 PM

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration