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
  •  


Samsung SSD Solid State Drive  MZ-VL25120 512GB picture

Samsung SSD Solid State Drive MZ-VL25120 512GB

$54.99



ON SALE TURBOLINK EVO  4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive picture

ON SALE TURBOLINK EVO 4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive

$199.99



Samsung 870 EVO 500GB 2.5” SATA III Internal SSD MZ-77E500 SSD - Good Health picture

Samsung 870 EVO 500GB 2.5” SATA III Internal SSD MZ-77E500 SSD - Good Health

$59.99



Toshiba THNSN81Q92CSE 1920GB SATA 2.5 Solid State Drive picture

Toshiba THNSN81Q92CSE 1920GB SATA 2.5 Solid State Drive

$199.00



SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps picture

SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps

$40.99



Samsung 860 EVO 250GB, SATA III, 2.5

Samsung 860 EVO 250GB, SATA III, 2.5" Internal Solid State Drive - Black

$29.00



256GB mSATA SSD DRIVE  MIXED BRAND TESTED WORKING picture

256GB mSATA SSD DRIVE MIXED BRAND TESTED WORKING

$23.50



SanDisk 256 GB Internal SATA SSD Fully Tested 100% Health picture

SanDisk 256 GB Internal SATA SSD Fully Tested 100% Health

$26.00



Western Digital Blue 3D NAND 250GB 2.5

Western Digital Blue 3D NAND 250GB 2.5" SATA III Internal SSD - WDS250G2B0A

$29.99



PNY CS900 250GB 2.5

PNY CS900 250GB 2.5" Internal SSD (SSD7CS900-250-RB)

$31.00