A common Unix program whose primary purpose is the low-level copying and conversion of raw data.

learn more… | top users | synonyms

4
votes
1answer
220 views

Why is my 500GB hdd not readable after dd'ed on a different 500GB hdd?

Accidentally formatted an important external 500GB hdd yesterday. Not an SDD, 2.5". (Quick) formatting occured while installing windows xp on it. I had the wrong usb drive plugged in. ~600MB are ...
3
votes
1answer
49 views

Using dd command fails after the first mount

I am using dd command to copy disk drive /dev/sda on /dev/sdb. What I do is the following: I run dd if=/dev/sda of=/dev/sdb then mount /dev/sdb1 (note that /dev/sdb1 is not mounted on boot) to make ...
3
votes
1answer
51 views

dd cannot write the last 24 kB of a disk

I have an old 320 GB laptop hard drive that I'm getting ready to sell (or donate). To prepare it, I'm using dd to write one pass of random data, then one pass of zeros: dd if=/dev/urandom of=/dev/sdb ...
2
votes
1answer
184 views

What's the difference between dd and cat for writing image files?

When writing image files to disk or to a USB stick, the instructions usually use dd, like this: dd if=myimage.img of=/dev/sdb How is this different from, say: cat myimage.img > /dev/sdb I ...
2
votes
1answer
215 views

How to backup MBR with dd for Windows?

I am using dd for Windows to back up. I can back up partions on windows like this: dd if=\\.\g: of=x:\bottom_C_XP1.dd but when it comes to backing up master boot record of harddisk2 I cannot find ...
2
votes
1answer
234 views

Cloning a Windows partition through unix

my boot disk has chameleon installed with a linux partition and a second, empty partition that I would like to use with Windows7. Since you never know how much things will Win7 ruin when installing I ...
1
vote
1answer
85 views

How to read an dar archive via LTO-6 tape

The /data folder was saved on tape with dar -R /data/ -c - | mbuffer -R 110M -P 90 -m 1G | dd of=/dev/nst0 bs=256k How can I test, list and extract it? I tried the following to test the archive ...
1
vote
1answer
2k views

Test USB 3.0 Device Speed

I've looked up hdparm, but all examples are for testing disks. Not sure if it can be used to test external usb devices (specifically usb flash stick). I'm using the following code right now: dd ...
1
vote
1answer
796 views

Restoring a split image created by dcfldd

Say an image is generated by dcfldd using the following command: dcfldd if=/dev/sourcedrive hash=md5,sha256 hashwindow=10G md5log=md5.txt \ sha256log=sha256.txthashconv=after bs=512 conv=noerror,sync ...
1
vote
1answer
326 views

Copy existing Ubuntu drive to partition on new hard drive

I have a new laptop with two partitions, one is currently loaded with Windows 7, the other is blank. I'm pretty familiar with using dd to backup/copy drives, but I'm wondering how I will deal with ...
0
votes
1answer
24 views

Weird speed measurement of ZFS over AFP file copy

I've been checking how fast is my ZFS storage server. I have some big files (>30 GB) and I've been using dd piped to /dev/null to check read speed. When running dd for a specific file for a first ...
2
votes
0answers
117 views

dd an image, but only getting a fraction of the space on my SD card

I downloaded an image of Ubuntu Linaro. I then dd the image onto an SD card that is 32GB as follows: sudo dd bs=4M if=ubuntu-14.04-hdmi-z7010-20140611.img of=/dev/mmcblk0 Works fine, I can boot ...
2
votes
0answers
280 views

msys-1.0's dd on windows

msys-1.0 (MinGW) has an implementation of dd usable on windows (dd.exe) but windows does not have file representations of drives to use with dd. Or does it? Afaik dd operates on files. Is there a way ...
2
votes
0answers
84 views

dd backup produces bigger image file

I created a disk image with dd. The hard disk capacity is 2 GB. However, the image produced a 3.8 GB file. I used: dd if=/dev/mmcblk0 > /mnt/sd/disk0.img (where mmcblk0 is a microSD card, with 3 ...
2
votes
0answers
381 views

Why does my disk ignore erase and write commands to some sectors?

I did an ATA secure erase on an SSD (with SystemRescueCD and hdparm). Some parts of the disk are reset to zero, but some parts are not. In particular, the MBR and the boot sector of a Windows Vista ...
1
vote
0answers
30 views

Move HDD dd image to Raid-0 Fake Raid array

I recently robbed a spare 120Gb SSD from an old laptop with the intention to throw it in my desktop machine that had an existing SSD hdd of the same size. My goal was to make a dd copy of my existing ...
1
vote
0answers
94 views

Install Remix Os to SSD drive using dd

I have successfully unlocked my Baytrail chromebook and I am able to run Remix Os from an USB stick. Now I would like to install it as the default operating system on the SSD. Knowing that Remix Os ...
1
vote
0answers
30 views

Data recovery on flash drive showing incorrect size

I have a Kingston 32gb USB 3.0 flash drive that I need to recover data from. The problem is that the drive is now showing as 32.5kb of raw storage in Ubuntu (using gparted) and Windows is not ...
1
vote
0answers
32 views

Truncate empy space from a raw dd image

I have a raw disk image I took using dd of a Ubuntu instance. The total disk size is 300 GB, but only 5.5 GB used. Is there a way to resize the raw dd image down to 20 GB, keeping all of the 5.5 GB ...
1
vote
0answers
94 views

USB read only with recursive filesystem

I have a USB flash drive 4GB Sandisk Edge After "DD"ing to make a live USB, the drive failed to boot and after checking it, the whole drive is broken. When using Gparted shows: | Partition | File ...
1
vote
0answers
311 views

Can't boot from USB on MacBook Pro Retina

I downloaded the latest i386 netinst iso for Debian Jessie and have followed these instructions: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx However, when I press alt/option ...
1
vote
0answers
277 views

Can not mount copy of image file (ddrescue): “can't have a partition outside the disk”

I'm struggling for days now moving my old Windows XP installation to a new hard disk, because the old disk is failing. Long story short: I successfully created an image of the entire (failing) disk ...
1
vote
0answers
148 views

Cannot mount western digital hard drive. Can I clone it?

I have a 1TB Western Digital USB3 external hard drive. Last day I dropped it and after that I was unable to mount it. The hard drive doesn't have a SATA connector but the circuit board translate from ...
1
vote
0answers
46 views

canot restore disk image with dd (target part filled with zero)

I have a RAID0 disk before, now I want change the size of it. From the manual, the only way is backup data, delete RAID, re-create with new size, and restore data. now I have many old 2.5" hdd, each ...
1
vote
0answers
106 views

Backing up MBR - why not restoring the boot code?

I've seen two pages explaining how to backup & restore the MBR: Linux: How to backup hard disk partition table (MBR) UNIX / Linux: Copy Master Boot Record (MBR) They've shown an example with ...
1
vote
0answers
852 views

Clonezilla Disk too Small when it isn't

I took a 320 gig hard drive, shrunk the partition for Windows to 40 gigabytes, and cloned the partition. I'm trying to restore onto a 250 gig drive. I keep getting either a failed partition table, or ...
1
vote
0answers
227 views

Linux command to get FAT32 sectors of a file

I'd like to find an equivalent command to debugfs but for FAT32 partitions within Linux. I need to list all the sectors corresponding to a specific file (I'm working on a disk imaged with dd). If ...
1
vote
0answers
774 views

Recover hard disk from Raw format

I have been all over the web today with no results. So my drive was encrypted (truecrypt) the whole drive where windows resided. I decided to partition it to install W8 and forgot it was encrypted. ...
1
vote
0answers
611 views

Resume interrupted multiple-file disk images created with dd?

This is the effort to recover a failed hard drive containing several important research works. To sum up: with the method I tried (described below) I could not resume failed multiple images created ...
1
vote
0answers
420 views

Is it possible to repair iso images incorrectly made with dd in OSX Snow Leopard?

About a year ago, I made rips of a bunch of my CD/DVD games and packed the originals away. The problem is that now I'm trying to use WinXP Pro on VirtualBox on OSX Snow Leopard to play these iso ...
1
vote
0answers
71 views

Maintaining peak IO potential with DD / CP

I wanted to copy a file (40 gig dataset) from a single drive to a dual disk raid-0 drive. I tried with CP and it sustained read - 4mb and write - 11 mb (doesn't make sense I know (must be the stripe ...
0
votes
0answers
10 views

Writing .img to USB using dd results in corrupt primary GPT header

I have a 64GB USB 3.0 drive that I plan on installing bootable operating systems to for sysadmin purposes. My primary operating system is Mac OS X 10.11. I have a copy of ...
0
votes
0answers
33 views

Cloned Linux Mint Root parition to a new disk - won't boot

I used gparted and dd to clone a failing drive's root & swap partitions to a new drive. First I used gparted to copy and paste the root partition into a larger partition, gparted said it resized ...
0
votes
0answers
29 views

ISO of not recognized DVD

I'm often dumping DVDs to ISO-files for backup by using dd on my linux machine. But now I've got a DVD in a filesystem that linux doesn't recognize. Still, I want to dump it's data in an *.img-file, ...
0
votes
0answers
55 views

readom and dd are creating different ISO-Images

When I am making an ISO-Image from a disc, according to the MD5-Hash of the created file, there is a difference between the data. They also differ in size. Tested on two completely different devices. ...
0
votes
0answers
37 views

Error converting custome bootloader .img file to .iso file

I am trying to convert a bootloader I wrote in Assembly Language to iso image file. The following is the code from MikeOS bootloader BITS 16 start: mov ax, 07C0h ; Set up 4K stack space after ...
0
votes
0answers
18 views

is DD possible to skip error and create problematic image without “noerror” option?

is DD possible to skip error and create problematic image without "noerror" option ? I am trying to dd the same thing twice and compare since sometimes there might be some random errors.
0
votes
0answers
74 views

create an image of cloudlinux drive on VPS via SSH

we have a cloudlinux running on a VPS that we need to run some test's on. We do not have access to the VPS nor there is an option to clone this VPS. Is there a way for us to use dd or some other tool ...
0
votes
0answers
37 views

How to create sector by sector image from live Windows?

I need to create image from live Windows XP, which later will be restored using linux dd command. Unfortunately I can't boot linux there to make that clone, for technical reasons. So the only way ...
0
votes
0answers
96 views

How come monitoring the status of a write to USB isn't reliable?

I write ISO files to USB thumb drives a lot, and I'm trying to find a way to monitor the status of a write. Googling this, I have found a bunch of solutions, including pv, dcfldd and the USR1 signal ...
0
votes
0answers
28 views

Are dd read/write tests using dsync reliable under RAID?

I'm performing performance testing of some new hardware, and I was quoted from a vendor what kind of performance i should get from a dd command using the oflag=dsync option. However this amount was ...
0
votes
0answers
584 views

Can I use dd to upgrade 1-bay synology NAS to bigger HD?

I have a 1-bay Synology NAS (DS112). According to the Synology compatibility list it can take a 6TB disk. If possible I'd like to clone my existing 2TB disk to the 6TB disk using dd or any other tool ...
0
votes
0answers
44 views

How can I allow users to write an image to a SD Card via dd?

With dd if=myimage of=/dev/sdb root can write an image to an SD card. How can I allow users to do this?
0
votes
0answers
144 views

Copy huge file skipping first line using dd in Linux

I was trying to copy the content of a huge file (10GB) to another skipping the first line (as in head -n1). I tried multiple ways of head, tail, awk and sed. Settled on using tail -n+2 > ./xab.1 ...
0
votes
0answers
1k views

Disk Cloning Probelm

I'm trying to clone a Windows 7 Pro installation from one SSD to another. The current SSD is nearly full, so I'm cloning it to a larger disk. My problem is that there is something about the source ...
0
votes
0answers
43 views

Make Windows boot after sector-wise copying from 4 GB flash card to 8 GB

I've Windows Embedded XP system installed on a 4 GB Compact Flash card (which is visible as IDE drive to operating system). I've used dd to move it sector-to-sector to another flash drive which is 8 ...
0
votes
0answers
37 views

Restoring backup with dd

I have made a backup of an hard drive using ddrescue. Now I have the .img file. How can I restore the .img Backup to an other hard drive? I have tried dd if=backup.img of=/dev/sdc but the hdd sdc is ...
0
votes
0answers
64 views

Why cannot dd write more than 790 MB of null bits?

Using dd to fill a 250 GB partition with 0-bits, I cannot have more than 790 MB written. dd is run from GParted LiveCD. I tried all these: dd if=/dev/zero of=/dev/sdb2 dd if=/dev/zero of=/dev/sdb2 ...
0
votes
0answers
479 views

dd Copies Drive with no Errors, Gparted shows Partitions as Empty, No Flags

So with the assistance of Hennes I was able to use dd to copy my entire sda to sdb, but after dd finished I checked the partitions with gparted and found that all partitions were listed as empty, the ...
0
votes
0answers
347 views

Clone Image Without Empty Blocks

I've been using dd if/mnt/sda1/images/$1 of=/dev/$2 to clone some embedded images for compact flashes. I used to only be using one brand of CFs, but, now I have two of them (both 2g, but obviously ...