PDA

View Full Version : How to copy an NTFS drive to another NTFS drive



Bothersome
10-06-2004, 05:34 PM
This is more of a question of how to do than a solution, sorry. :)

I know there is probably a way to do this.

I have two laptops, IBM 600e and 600x. One has a working Win2000 system on it. With the programs that I need already installed and configured. But it has a burned out backlight. The 600x has no system right now. The 600e has a 6GB drive and the 600x has a 20GB drive.

I need to move the system over to the 600x laptop.

Using knoppix, how might best do this?

I'd prefer to "file-copy" the files over from one drive to the other over the network. Using tar or other archive process is ok.

Being that the drives are different sizes, dd doesn't seem a viable alternative.

I need to know how to set up the link between two knoppix cd booted machines to do this.

Thanks for your time.

garyng
10-07-2004, 10:55 AM
dd should work as whatever file systems are on the partitions, they would only be relative to the start of the partition that the file system is on. So, it is possible to first create the partition structure the same as it was on the old one(and leave the rest as unused space), then dd that partition to the new one.

You better first find out how the 6G one is partitioned(no need to even mount the stuff) then create the partitions on the new one.

There are lots of way to link between 2 KNOPPIX booted system. If both have network, just a cross cable and setup the ip properly. Then use netcat to "remote dd" the stuff over.

giacomix
10-07-2004, 02:28 PM
There are lots of way to link between 2 KNOPPIX booted system. If both have network, just a cross cable and setup the ip properly. Then use netcat to "remote dd" the stuff over.

are there ways to link a KNOPPIX machine and a Win98 machine?

garyng
10-07-2004, 03:35 PM
There are lots of way to link between 2 KNOPPIX booted system. If both have network, just a cross cable and setup the ip properly. Then use netcat to "remote dd" the stuff over.

are there ways to link a KNOPPIX machine and a Win98 machine?

lots of ways, too. ftp, netcat etc. A matter of what do you mean by link and what you want to do.

OErjan
10-07-2004, 04:25 PM
ftp and samba come to mind.
samba works ok for 95% of the cases.
ftp works aslong as you have a proper ftpprogram on the win98 side (pureftp, winftp...) explorer, netscape... are not very good at ftp.
putty is a remote admin programe (use win to admin linux over network) that alows sftp iirc. if i remember correctly (would be a minor surprise) you just go here and read further on sftp and samba (two diferent ways to get it done)
http://www.knoppix.net/forum/viewtopic.php?t=13920&highlight=
http://www.knoppix.net/forum/viewtopic.php?t=8855&highlight=
http://www.knoppix.net/forum/viewtopic.php?t=8739
http://www.knoppix.net/forum/viewtopic.php?t=8740

Bothersome
10-07-2004, 10:53 PM
:D :D

OK, I think I got it transfered.

I used two knoppix cds to boot the machines to runlevel 2.

This is the command I used on the receiving laptop:

nc -l -p 1234 | gunzip -c | dd of=/dev/hda

Then on the sending machine:

dd if=/dev/hda | gzip -c | nc -w 3 -n 192.168.0.31 1234

Now I just need to fix the MBR.