Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cloning an Entire Disk



As a free hand-me-out, I use this command generally...:

dd bs=512 if=/dev/rdisk0s3 of=/some_dir/foo.dmg conv=noerror,sync

The if=/dev/rdisk should correspond to either your partition or your disk and the of path should match your destination file.

Mike

On Jan 19, 2007, at 2:21 PM, <email@hidden> <email@hidden> wrote:

Date: Fri, 19 Jan 2007 14:14:56 -0500

From: Dan Shoop <email@hidden>

Subject: Re: Cloning an Entire Disk

To: Amedeo Mantica <email@hidden>, macosx-server Server

<email@hidden>

Message-ID: <p0623092ec1d6c7e5c027@[192.168.1.88]>

Content-Type: text/plain; charset=us-ascii; format=flowed


At 12:51 PM +0100 1/19/07, Amedeo Mantica wrote:

Hi all,


Maybe not MacOS related, but I'm looking how to clone an entire 

device drive drive, regardless filesystems on it,  I need to 

"simply" make two hard drive equals, if have read about 'dd' command 

but is a bit hard to understand the options...


in my opinion should be:


dd if=sourceDrive of=targetDrive conv=notrunc


for source and target should I use 'disk' or 'rdisk' ?


can anyone help me or know where to read further docs?


dd has a man page. You can also google for more info. It works the 

same on OS X as any *nix.


If you're looking to clone the entire device, including all partition 

tables and filesystems on the disk, use the rdisk device. You'll 

probably want it unmounted.


-- 


-dhan


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.