I found a solution so I thought I would share it. A friend suggested that I use this:
cp /dev/hda /dev/hdb
And to adjust for the correct device name.
To anyone whom may be able to help:
I just recieved my replacement Maxtor drive, which will be replacing one that is failing evey few days. Reading through the faq did not answer my question, so I am posting it here.
I have two drives installed on my system. One is brand-new and has not been used (not even formatted) while the other is my old Debian Linux drive. Both drives are of the same make and where produced by the same company. With my Knoppix v3.4 live cd running, how do I copy the old drive's image onto the new drive? My goal is to have an exact copy of the old drive, before it becomes un-usable.
Please note that so far I have only found instructions on how to do this over a network, which is problematic, because I need to do this locally.
Thank you for your time,
-Xeoron
I found a solution so I thought I would share it. A friend suggested that I use this:
cp /dev/hda /dev/hdb
And to adjust for the correct device name.
You may want to try this instead. From a root shell type:
dd if=/dev/hda of=/dev/hdb
If you just use "cp" it will only copy over the data(I'm pretty sure anyway), if you use "dd" you will get an exact bit for bit copy of it, including your partition tables and everything.
dd will only work well if the disks are same size, and i would use cp -a /dev... that would preserve permisions... better.
I would mark all directories with mc, and copy (preserving attributes).
Then I would modify lilo.conf, and rerun lilo for booting from the new drive.
Assuming you have only one partition and use the lilo - bootloader.
that would work. MC uses cp -a for that...

Atari 800 Home Computer System 800 Untested
$95.00
DEFECTIVE Atari 810 Vintage Computer Disk Drive powers on Unit Only Boo G3D
$55.24
Vintage Atari 410 Program Recorder CIB Open Box Appears Unused 400 800
$194.99
ATARI 800 XL 8-Bit Computer w/ Power Supply
$169.00
Atari 800XL Home Computer Unit Only - UNTESTED, For Parts or Repairs
$94.97
VTG Atari 800XL Home Computer Retro System Console Untested Parts Repair Only
$119.99
ATARI 800 XL 8-Bit Computer w/ Power Supply and video cable - Works
$219.99
Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working
$99.99
Atari 1020 Color Printer w/ Paper Only Untested Parts Or Repair
$55.00
Vintage Atari 800 Computer + 1050 Disk Drive Manuals Games Software Cables Power
$349.00