Results 1 to 6 of 6

Thread: cloning locally-- please help

Hybrid View

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    2

    cloning locally-- please help

    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

  2. #2
    Junior Member
    Join Date
    Aug 2004
    Posts
    2
    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.

  3. #3
    Junior Member registered user
    Join Date
    Aug 2004
    Posts
    18
    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.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    dd will only work well if the disks are same size, and i would use cp -a /dev... that would preserve permisions... better.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    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.

  6. #6
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    that would work. MC uses cp -a for that...

Similar Threads

  1. Cloning a hard disk
    By ferrel in forum General Support
    Replies: 2
    Last Post: 07-02-2005, 01:39 PM
  2. Disk Cloning?
    By eon in forum General Support
    Replies: 6
    Last Post: 04-02-2005, 11:14 AM
  3. cloning HD using Knoppix
    By drjawn in forum General Support
    Replies: 10
    Last Post: 01-17-2005, 12:23 PM
  4. Networked disk cloning HOWTO?
    By MethodMan in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 08-30-2004, 09:25 PM
  5. Cloning a harddisk
    By Balaam in forum General Support
    Replies: 15
    Last Post: 04-07-2004, 12:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w

$174.95



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays

$259.99



Dell R640 Diskless Servers 2x Gold 18-Cores 6254 3.10GHz CPU, 32gb RAM, No Raid picture

Dell R640 Diskless Servers 2x Gold 18-Cores 6254 3.10GHz CPU, 32gb RAM, No Raid

$699.00



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays

$349.99



Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w picture

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w

$359.99



Dell PowerEdge R640  8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU picture

Dell PowerEdge R640 8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU

$315.00



Dell Poweredge T420 SFF 2x E5-2430 v2 2.5Ghz / 64gb / H710 / 8x Trays / 2x 495w picture

Dell Poweredge T420 SFF 2x E5-2430 v2 2.5Ghz / 64gb / H710 / 8x Trays / 2x 495w

$394.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99