Mailinglist Archive: opensuse (4626 mails)

< Previous Next >
Re: [opensuse] How to Clone a whole disk?
  • From: Reinhard Gimbel <opensuse@xxxxxxxxxxxxx>
  • Date: Sat, 13 Jan 2007 13:02:32 +0100 (MET)
  • Message-id: <45A8CA70.2000303@xxxxxxxxxxxxx>
Hello Bo, hello community !

Bo wrote / schrieb:

> I've just been lurking so far but
> I would be happy to recieve some help on the topic of how to clone an
> entire disk (with
> partitions and diferent filesystems and all) on a dual boot home systen.
> No servers or anything.

Unix command "dd" (= device dump) is your friend !

Assuming the disk to clone is connected to primary IDE channel as master
(=/dev/hda) and the target disk resides on primary IDE as slave
(=/dev/hdb) the command you need to issue looks like this:

dd if=/dev/hda of=/dev/hdb bs=128M

The option "bs" specifies a buffer of 128MB size. Otherwise "dd" would
copy blocks of 512 byte each ...

If you need more information:

man dd
info dd
dd --help

Never give up !

Best regards / Gruß, Reinhard.

"Software is like a parachute. It doesn't work if it is not open."
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >