[ale] how do I clone a hard drive with clonezilla
Ron Frazier (ALE)
atllinuxenthinfo at techstarship.com
Thu Oct 25 16:09:14 EDT 2012
Hi JD, Phil, and others,
Thanks for all the answers. I'm probably going to take a closer look at dd, dc3dd, pv, and partimage.
Is there an advantage to running sysresccd vs a Ubuntu Live CD?
Sincerely,
Ron
JD <jdp at algoloma.com> wrote:
>Check out partimage. If it knows the file system, it can handle larger
>to
>smaller recoveries. If it doesn't, then it uses dd too. It is a
>disk-image
>backup and easy to use.
>
>'man partimage' should answer everything. Google should answer anything
>thing else.
>
>
>
>
>
>
>On 10/25/2012 09:19 AM, Phil Turmel wrote:
>> On 10/25/2012 09:00 AM, Ron Frazier (ALE) wrote:
>>> Hi Phil,
>>>
>>> Thanks for that info. That brings up a few of more questions.
>>>
>>> a) Will this work even if the target device is the shorter one?
>>
>> Yes, with two caveats:
>> 1) No partition may extend past the end of the target.
>> 2) If GPT instead of classic DOS partitioning, the backup copy of the
>> GPT will not be copied. Re-running parted on the copy should offer
>to
>> fix it.
>>
>>> b) Will it work if the final partition doesn't end on a 1M boundary?
>>
>> Yes.
>>
>>> c) Does it copy the MBR?
>>
>> Yes.
>>
>>> d) What happens if there is a read error on the source or write
>error
>>> on the target?
>>
>> With dd, it bails out at that point, and reports where it stopped.
>You
>> can resume with seek= and skip= options, or use 'dd_rescue' or
>> 'ddrescue' instead of 'dd'.
>>
>>> e) Does it copy partition attributes like "active" and "boot", etc.?
>>
>> Yes. These are in the partition table(s).
>>
>>> f) Will it work if the source file system is mounted, ie, I'm
>running
>>> from the HDD, or do I have to use a live CD?
>>
>> It should work, but the target fs will likely need an fsck
>afterwards.
>> Some log file corruption would be expected. I don't do that.
>>
>>> I never said why I wanted to do this in the original post, but, I
>>> want the target drive to be a backup of the source, so, I could just
>>> swap it in and run it in the event of a failure of the source drive.
>>> In my case, I have both NTFS and EXT4 file systems, and the boot
>>> loader is Win NT.
>>
>> Yes, although you may get an alert from "Disk Management" that the
>drive
>> serial number is different. With XP, you get a "new hardware" popup
>and
>> that's it.
>>
>>> Thanks for the help.
>>
>> You're welcome.
>>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://mail.ale.org/mailman/listinfo/ale
>See JOBS, ANNOUNCE and SCHOOLS lists at
>http://mail.ale.org/mailman/listinfo
--
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