![]() ![]() # gunzip -c centos-core-7.gz | dd of=/dev/da0 Tip #1: Not enough disk space locally? Use the remote box # gunzip -c IMAGE.HERE-GZ | dd of=/dev/OUTPUT/DEVICE-HERE The above command just cloned the entire hard disk, including the MBR, bootloader, all partitions, UUIDs, and data. # dd if=/dev/da0 conv=sync,noerror bs=128K | gzip -c > centos-core-7.gz cloning /dev/da0 and save in the current directory: ![]() In this example, create disk image for /dev/da0 i.e. The syntax is as followsĭd if=/dev/INPUT/DEVICE-NAME-HERE conv=sync,noerror bs=64K | gzip -c > /path/to/ You can store disk image on an external USB disk. Once booted, make sure no partitions are mounted from the source hard drive disk. You can boot from a live cd or USB pen drive. Making disk image with dd using live CD/DVD or USB pen drive To clone /dev/sdc1 to /dev/sdd1 with dd and create an image, enter: ![]() How to clone a partition and make disk image with dd
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |