Cloning a hard disk: Difference between revisions
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
The result will be something like: | The result will be something like: | ||
{| class="wikitableharm" width=" | {| class="wikitableharm" width="1050" | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| width=" | | width="500" | '''Partition Information fdisk'''<br> | ||
In total there are 3 disk found: | |||
* sda | |||
* sdb | |||
* sdc | |||
<br> | |||
<br> | |||
2 Small hard disks, sda and sdb. | 2 Small hard disks, sda and sdb. | ||
* The first hard disk sda has 2 partitions, | * The first hard disk sda has 2 partitions, | ||
Line 23: | Line 29: | ||
** sda2 | ** sda2 | ||
and a total size of 1.073 MB. | and a total size of 1.073 MB. | ||
<br> | <br><br> | ||
The second hard disk sdb has 1 partition with a total size of 136.4 GB. | The second hard disk sdb has 1 partition with a total size of 136.4 GB. | ||
<br> | <br><br> | ||
The third hard disk sdc is completely unformatted, | The third hard disk sdc is completely unformatted, | ||
<br><br> | |||
To clone hard disk A to Hard disk C, simple do: | |||
<br> $ dd if=/dv/sda of=/dev/sdc | |||
| width="550" | [[File:Ubuntu-fdisk.png|thumb}550px|center|Ubuntu fdisk -l]] | | width="550" | [[File:Ubuntu-fdisk.png|thumb}550px|center|Ubuntu fdisk -l]] | ||
|} | |} |
Revision as of 10:55, 4 March 2014
Cloning hard disk drives is a common maintenance task. Several options are available to perform clone options.
The most simple way is to boot Ubuntu from an USB-Drive and use native UNIX commands.
Ubuntu Live
The Ubuntu side has a complete tutorial how to create an Ubuntu Live USB on Windows [1] which is based on the USB installer provided at pendrivelinux.com [2][3] and a basic iso-Ubuntu distribution [4].
Unix dd
Unix dd has the functionality to clone one hard disk to another. To see what hard disk are available use the fdisk utility on linux.
$ sudo fidsk -l
The result will be something like:
See also
Reference
- ↑ Ubuntu, Create an usb stick on Windows.
- ↑ pendrivelinux.com, Homewebsite
- ↑ pendrivelinux.com, Download universal usb-installer
- ↑ Ubuntu, Download Ubuntu Desktop,