[ale] how do I clone a hard drive with clonezilla

Ron Frazier (ALE) atllinuxenthinfo at techstarship.com
Wed Oct 24 03:10:15 EDT 2012


Hi all,

How do I make an exact sector by sector clone of a hard drive with clonezilla?

I want to clone /dev/sda, a 320 gb hard drive with several partitions and various file systems but only less than 300 gb allocated to the partitions

to

/dev/sdb, a 300 gb hard drive.

I want every partition to be copied exactly sector by sector to the 2nd drive.  I also want the mbr to be copied.  However, I want the unallocated space at the end of the drive to be ignored.  The big drive will have more than 20 gb at the end unallocated.  The small drive will have about 3 gb unallocated when done.

I know this can be done, because Acronis true image does it fine.

Every time I try it with clonezilla, it complains about the 2nd drive being too small and aborts.

I specifically want all sectors within all partitions to be copied, even unused ones.  But I don't want unallocated space at the end of the drive to be copied.

Any help would be appreciated.

Sincerely,

Ron


--

Sent from my Android Acer A500 tablet with bluetooth keyboard and K-9 Mail.
Please excuse my potential brevity.

(To whom it may concern.  My email address has changed.  Replying to former
messages prior to 03/31/12 with my personal address will go to the wrong
address.  Please send all personal correspondence to the new address.)

(PS - If you email me and don't get a quick response, you might want to
call on the phone.  I get about 300 emails per day from alternate energy
mailing lists and such.  I don't always see new email messages very quickly.)

Ron Frazier
770-205-9422 (O)   Leave a message.
linuxdude AT techstarship.com




More information about the Ale mailing list