[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Clone a hard drive
- To: ekh@hometel.com
- Subject: Re: Clone a hard drive
- From: Robert Citek <robert.citek@gmail.com>
- Date: Mon, 16 Feb 2009 12:14:39 -0600
- Cc: silug-discuss@silug.org
- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=c2EZz5Q+B//WuOU9WINOdporeowa/8muxxqGzNOH6gE=; b=soyYH3o/1QubyNt9R7lRHXTBpjnKVndTOxG2/7tL6SGWw9E4aQ/7kqxiRxNdqs5yo5 18m6XHOitFDJRUF2C7M/PmwI1aaG0EKAVmUxjUWiV6GIYrCv/ElkimPyKpTPUVBqKKPD 9u/fRcGSa2KSeKHqfjY+G8Qa0r0ia41OHmLhM=
- DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=N6XZW261A3tGE4lWCfFLWItoQTKgo4mi/2kwnReieH0e9hEA0TPK5Al5OtKLvi2RzR 8Vh2UP9WGT9Zsf/VjLHu4VKjvEsiPYT8Jxh3NPYMTeNdCZs0BOGulu7/6i2bTHJOjaGH FkYnyG9Y9OuuVT/DsZWUymGAaqQZXjOOl8cfg=
- In-Reply-To: <49951A83.20301@hubsphoto.com>
- Organization: Southern Illinois Linux Users Group
- References: <49951A83.20301@hubsphoto.com>
- Reply-To: silug-discuss@silug.org
- Sender: silug-discuss-owner@silug.org
On Fri, Feb 13, 2009 at 1:00 AM, ekh@hubsphoto.com <ekh@hubsphoto.com> wrote:
> I just learned something neat.
>
> A simple way to clone a drive (/dev/sda) (C:) to another drive attached to
> this system (/dev/sdb) (D:) is to use dd command.
>
> dd if=/dev/sda of=/dev/sdb
>
> This command will copy each bit from sda (Master drive) to sdb (Slave drive)
> including MBR (Master Boot record). Thus after cloning new drive (sdb) is
> ready for deployment. This will also copy any information like File System
> IDs etc.
Mostly correct. In addition, dd will also copy the drive geometry,
which you probably don't want, unless you have an *identical* drive.
That is, both drives being the same size isn't enough.
> I did this while booted in my Ubuntu OS on the sda drive. The sda drive has
> Ubuntu and Windows XP on it. I'll bet this would also work if you only had
> Windows on your drive and booted into Linux using a Live Linux CD. It takes
> a long time but it works.
You probably don't want to copy from a drive that is mounted
read/write. You might want to consider using a LiveCD instead or
something like Clonezilla.
Regards,
- Robert
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.