Questions tagged [dd]

This command is used to do low level copying of data.

Convert and copy a file, write disk headers, boot records, create a boot floppy. dd can make an exact clone of an (unmounted) disk, this will include all blank space so the output destination must be at least as large as the input.

For more info refer to the manpage.

212 questions
6
votes
1 answer

Using dd on disks with different sector sizes

I would like to move a partition to a new drive. The old drive has a sector size of 512 bytes while the new one has a sector size of 4096 bytes. I tried doing a dd of the full disk, but that failed because the partition on the old drive was not…
pavon
  • 363
2
votes
3 answers

Can't make good size image with the command DD

Need to make an image disk of my DD. This a is a 4to hard drive with 2 partitions (total used :1,7 TO). How to get an 1,7 TO correct image with the dd command ? Disque status with fdisk Used : dd if=/dev/sdq count=2399842303 of=/tmp/imagedisk.img…
1
vote
2 answers

how can I sync 2 almost identical disk after dd

Lets say I have /dev/sda and /dev/sdb. Before, I run dd if=/dev/sda of=/dev/sdb bs=128M, and it succeeded. Then after some time, there is update on first disk, and I want to clone it to second disk. But I don't want to run dd from beginning,…
1
vote
2 answers

DCFLDD and a Hex Editor

I sometimes use dcfldd, because it has more features and is easier to use than regular dd. It gives a constant status and updates it fast, and it also has pattern input which is a lot faster than reading from /dev/zero or any other device. As an…
Recursion
  • 619
0
votes
1 answer

dd "no space left on device" cloning SSD to USB drive

So I have a weird error, while dd'ing partition 3 (partition table below) from my laptop's SSD to a larger USB drive with an identical partition table. After writing ~3-4GB (expecting to write >75GB), I get an error from dd "No space left on…
Erick
  • 1
0
votes
2 answers

how to boot from a backup disk created by dd

I use dd command to backup a disk. # dd if=/dev/sda of=/dev/sdb but when I boot from the backup disk, I got a error message check filesystem failed! I do not know how to settle this problem. I thought the sdb is a copy of sda, so it can be…
0
votes
1 answer

Can I migrate a Windows 10 with a license key to another computer using dd?

Not trying to do anything malicious or violate copyrights. Just out of pure curiosity. If dd creates a full clone of a disk, will it work if I use dd to make a full copy of windows 10 with a license key to another drive and boot it on another…
Algo7
  • 297
-2
votes
3 answers

Using dd for backup with a single disk

I have a RHEL5 Amazon cloud instance that I need to image to another instance in order to setup a test environment for some upcoming patching I'm doing. The server to be imaged is a production server. The server has a single disk (xvda1, and yes the…