Tag: dd

Backup and Restore Boot sector

Use these commands to backup/restore your boot sector dd if=/dev/hda of=bootsector.img bs=512 count=1 # backup dd if=bootsector.img of=/dev/hda #restore Original…

Backup MBR to Image File

Make a copy of MBR (Master Boot Record) to a file. dd if=/dev/hda of=mbr.img bs=512 count=1 dd if=mbr.img of=/dev/hda bs=512…

Backup HDD To Remote Host

Make a backup of a local hard disk on remote host via ssh dd bs=1M if=/dev/hda | gzip | ssh…

Use DD to Create File of any Size

Use the DD command to create a 10 MB (10*1024*1024=10485760 bytes) size file named testfile_10MB dd if=/dev/zero of=testfile_10MB bs=10485760 count=1…

Backup Entire Harddrive to an Image

Backup content of the harddrive to a file. Creates an image of the drive dd if=/dev/sda of=/tmp/sda.iso

Do Md5 check on CD/DVD/HDD

Perform an md5sum on a device, like a CD dd if=/dev/hdc | md5sum

Create CD Image

These commands can be used to create an image of a CD/DVD/HDD. You can also use some GUI tool like…

Command to make a CD/DVD ISO Image in Linux with dd

This command can be used to create an image of a CD/DVD/HDD. You can also use some GUI tool like…