[GRLUG] ddrescue
Justin Denick
justin.denick at gmail.com
Wed Mar 12 18:16:13 EDT 2014
That one is from the days of bricking windows boxes for fun. It's been a few years, but I recall rsync -avz would even copy partition info if it was called like
rsync -avz /dev/sda /dev/sdb
Where sda contained sda(1,2) and sdb did have any partitions. Probably not the purest solution, for block-by-block copying, but since it's rsync you can stop and start, call it again later and all sorts of near stuff.
Don't screw up the boot up :-) If this partition is the boot partition, the bootmgr may want you to set the boot flag. fdisk can do that, rsync won't.
Let us know if it works or fails.
-j
--
Right to Life of Michigan
Director of Information Services
616.446.6492 / jdenick at rtl.org
> On Mar 12, 2014, at 6:02 PM, "L. V. Lammert" <lvl at omnitec.net> wrote:
>
>> On Wed, 12 Mar 2014, Justin Denick wrote:
>>
>> rsync -av /dev/old /dev/new
>>
>> That's from memory, but I wanted to add -z too, so best to rtm
>>
>> -j
>>
> I would not expect rsync to handle file system issues, .. but it's worth a
> try.
>
> Thanks!
>
> Lee
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20140312/e32bd267/attachment.html>
More information about the grlug
mailing list