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...

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1299.99
IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$149.99
IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99
Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00
IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$108.92
IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99
IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS
$80.00
IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5" Server Hard Drive
$200.00
IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$250.00
Lot of 2 IBM blade center Type H chassis 8852
$559.00