Author Topic: Complete disk cloning - how? --- SOLVED  (Read 1074 times)

Offline eager2no

  • Sr. Member
  • ****
  • Posts: 435
Complete disk cloning - how? --- SOLVED
« on: February 13, 2010, 01:55:05 PM »
I have two identical 400GB had disks partitioned identically, one the backup of the other.
Each has FAT32, NTFS and Linux partitions (dual booting Lin/Win).
Now with the upcoming PCLOS 2010, I'd like to repartition one, do a full reinstall of both Windows and Linux, and then clone the entire disk to the other one.
What is the best method to do this?

Thank you.
« Last Edit: February 14, 2010, 12:07:38 AM by eager2no »

Online muungwana

  • Hero Member
  • *****
  • Posts: 6252
Re: Complete disk cloning - how?
« Reply #1 on: February 13, 2010, 02:36:43 PM »
dd command could do that for you ..look at the following link for more info: http://en.wikipedia.org/wiki/Dd_%28Unix%29


the following command could that for you

dd if=/dev/sda of=/dev/sdb bs=4096 conv=notrunc,noerror

where "/dev/sda" if the drive with the original stuff and "/dev/sdb" is the drive you want to create a copy to
« Last Edit: February 13, 2010, 02:46:49 PM by muungwana »
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: Complete disk cloning - how?
« Reply #2 on: February 13, 2010, 03:52:27 PM »
dd command could do that for you ..look at the following link for more info: http://en.wikipedia.org/wiki/Dd_%28Unix%29


the following command could that for you

dd if=/dev/sda of=/dev/sdb bs=4096 conv=notrunc,noerror

where "/dev/sda" if the drive with the original stuff and "/dev/sdb" is the drive you want to create a copy to


..probably best done from a liveCD

Offline eager2no

  • Sr. Member
  • ****
  • Posts: 435
Re: Complete disk cloning - how?
« Reply #3 on: February 14, 2010, 12:07:09 AM »
muungwana, travisn000,
Thank you.

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3834
Re: Complete disk cloning - how? --- SOLVED
« Reply #4 on: February 14, 2010, 02:13:33 AM »
I believe " Clonezilla " would do that job
http://clonezilla.org/
The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )

Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
Re: Complete disk cloning - how? --- SOLVED
« Reply #5 on: February 15, 2010, 02:16:27 PM »
boot from live cd and use this

Code: [Select]
rsync -av --stats --delete /mount1/ /mount2
mount1 is where your partition is that you want backed up, and mount2 is the mount point of the partition you are copying too.  Just make sure you double check and get it right otherwise you may just delete your original partition....
« Last Edit: February 15, 2010, 02:56:51 PM by travisn000 »