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

learn more… | top users | synonyms

0
votes
1answer
16 views

Shrink total disk image: UEFI GPT Flashdrive - freespace at end

I have a disk image from a bootable flashdrive. It is GPT for EFI booting, so there is a small Vfat32 partition and three other Linux partitions, followed by about 3G of free space. I need to disk ...
0
votes
0answers
25 views

dd'ing images onto an SD card

I have a somewhat weird situation I'm trying to dd an OS image (something which I dd'ed off a card earlier) onto an SD card. The card capacity is 8GB and the image was made off an SD card of similar ...
1
vote
3answers
70 views

Mount or open disk I backed up with dd

I used the command dd in order to generate a full copy of a disk (a SD card). Now I'm trying to retrieve the information that was stored in there, but I don't know how to read the contents of the ...
2
votes
1answer
34 views

How to Move / Migrate a Hard disk with multiple bootable partitions to Larger size?

Currently I am using a 320gb hard disk on my laptop. I have a newer 500gb one. I decided to migrate the 320gb HDD and its contents into the 500gb one. Problem is that my 320gb HDD has multiple ...
0
votes
1answer
44 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
28 views

I accidentally broke my 1tb drive during a dd iso image to a usb thumb drive [duplicate]

Which method suits most useful for this kind of situation. It took me 8-10seconds until i realized i was doing dd on the /dev/sdb instead of sdc and i guess that means 100-150mb of new stuff is ...
0
votes
2answers
57 views

Recovering an HDD after using dd on it

I accidentally used dd on my HDD (/dev/sdc) when I wanted to put an ISO on a USB drive. I tried looking around and read that if the data was overwritten then I'm screwed.... Is there a way to ...
0
votes
2answers
46 views

Time Machine size explodes when copied to new drive

I'm trying to replace a 640GB USB2 drive which I use as my Time Machine backup device with a 1TB FireWire 400 drive without losing the current backup history. Given that the 640GB drive is nearly ...
1
vote
0answers
50 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
146 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 ...
0
votes
1answer
27 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 ...
1
vote
1answer
63 views

dd clone HD to SSD?

I have a home machine running windows 7, and i'm wondering if it would work to do a dd if=/dev/${oldSataSpinningDisk} of=/dev/${newSSD} to clone the contents of the current system running on a SATA HD ...
0
votes
1answer
84 views

Remotely monitoring the status of DD

I have a long dd process running on a Debian system from the local console. I know that I can send USER1 or CTRL+T on the local console, but my only means for the time being is to monitor it via ...
3
votes
2answers
179 views

Accidentally overwrote wrong disk with dd, how to recover?

I wanted to dd an image from sdb to sdc, but because one hour before I had set up things differently, I just copied the same command: dd if=/home/user/Downloads/ubuntu.iso of=/dev/rsdb bs=2M; sync ...
0
votes
0answers
41 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 ...
1
vote
3answers
83 views

dd - how to extract a subsection of a file with 2 offsets?

I have a file that I want where the starting byte offset is 3020852 and the ending byte offset is 13973824. There's some variation of this command: dd ibs=X obs=Y skip=1 count=1 that I haven't got ...
0
votes
1answer
26 views

Retrieve data from a mountable partition refusing `cp` but allowing `dd`

Recently, my internal drive failed after a manual reboot and I would like to retrieve the data before changing it. My computer is a Macbook Pro mid-2012 and the drive is formatted as HFS+. (From my ...
1
vote
0answers
38 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 ...
0
votes
0answers
31 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, ...
1
vote
2answers
69 views

In which case should I prefer dd over GNU ddrescue?

As far as I can see, comparing dd with ddrescue can be concluded saying that ddrescue is far better at rescuing data from broken data sources. dd does not have this ability. dd_rescue vs dcfldd vs dd ...
0
votes
0answers
70 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. ...
1
vote
1answer
253 views

Alternative to using usbcopy to create Solaris Text Installer USB stick

I have a blank T5120 server without any optical drive onto which I want to install Solaris 11.3. I downloaded the sol-11_3-text-sparc.usb installer. The docs tell me to use a tool named usbcopy to ...
0
votes
1answer
21 views

dd utility number of passes on bad block

In ddrescue you can set how many times to try to read from bad block (ddrescue -r1 will try once). It does not seem to be the case with dd. Does anybody know how many times dd tries bad blocks? ...
0
votes
0answers
38 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.
3
votes
1answer
55 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 ...
0
votes
1answer
139 views

How to calculate the required size of a partition backup from the block count of the containing ext3 filesystem

I need to generate a disk image containing the MBR, and one primary partition. The partition contains an ext3 Filesystem, which was resized to the minimum with resize2fs -M /dev/sdc1. I got the output ...
1
vote
1answer
216 views

How to use `dd` in order to restore the windows 7 backed up raw files into a new hard drive?

This is the typical case where the windows 7 installation had created a SYSTEM partition of about 1.1GB in size and another partition for the rest of the available space in a hard disk drive. ...
2
votes
1answer
152 views

Using dd to backup disk to same disk

I've tried using dd to back up my computer's hard drive, but I met with some rather confusing results. I've seen on multiple sources (e.g.: ...
0
votes
0answers
80 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 ...
6
votes
1answer
80 views

What steps am I missing in my attempt to create bootable Linux distribution image?

I am trying to create a distribution image (via Linux’s dd command) for an OS that will work with hard drives and flash media. I have been successful at creating the image, but I can’t get it to boot ...
1
vote
2answers
90 views

Wiping portable hard drive with DD in Linux [duplicate]

I’ve got 3 portable hard drives one is 160GB, the other two are 500GB. I want to write zeros to them using Linux and dd. I found this command: dd if=/dev/zero of=/dev/sda bs=? How for the block ...
0
votes
2answers
335 views

DD Bash backup issues - “unrecognized operand”

I’m using the Datto Block Driver to take snapshots of my running server every night. After the snapshot is taken, I dd the snapshot from /dev/datto0 through PipeViewer (pv) and gzip to a file on the ...
1
vote
1answer
92 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 ...
18
votes
3answers
1k views

Why does dd sometimes not wait until data is written?

Sometimes, when I write images to a flash drive, this happens: $ sudo dd if=install57.fs of=/dev/sdc 573440+0 records in 573440+0 records out 293601280 bytes (294 MB) copied, 0.549231 s, 535 MB/s ...
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 ...
2
votes
2answers
61 views

Using dd to write zeroes to CF card on USB Card Reader causes much reading

I am zeroing a CF card using dd dd if=/dev/zero of=/dev/sdg Watching the system using gkrellm or iostat I see lots of reads from the CF card device, followed by bursts of writes. With this ...
1
vote
0answers
33 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
105 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 ...
0
votes
1answer
38 views

dd over ssh poor network throughput performance

I am running a raw block copy of one ec2 instance to another ec2 instance over a local ssh connection using a large block size of 16MB. ssh -i ~/.ssh/id_rsa ubuntu@10.0.59.92 'sudo dd if=/dev/xvda1 ...
0
votes
1answer
61 views

Perform dd from input file, excluding last 4 bytes of every block

I have a very large file (999,952,379,904 bytes to be precise), which is a partial disk image. Looking at it in a hex editor I have found that the structure is as follows: 0-2073 byte offsets ...
0
votes
0answers
100 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
1answer
31 views

How do I recreate a Rasbberry pi OS from partition images?

I have a Raspberry PI that I cant take offline. Using DD I have backed up the /dev/root/ and the /dev/mmcblk0p5 boot partitions on to a windows network share. How do I restore images taken using ...
1
vote
2answers
121 views

zero a large block device with parallelized dd

We have a sixty terabyte block device which we want to zero using dd. Is it possible to parallelize this operation in order to reduce the amount of time it takes? I've tried running the following ...
2
votes
1answer
197 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 ...
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
1answer
266 views

Why am i getting Very slow dd dsync test results in Linux.

I am investigating slow application issues with some New Hardware and am running into some odd results. I am trying to determine what is causing this behavior. I am using dd if=x.b1 of=x.b10 ...
2
votes
1answer
246 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
4answers
193 views

How To Format A Disk Image To Be Recognized By MS-DOS?

I'm trying to emulate windows with bochs on my android device. I've got the following drives: an empty disk image to install windows on, a virtual vvfat drive with the setup files, and a cdrom drive ...
0
votes
1answer
211 views

How To Make A Sparse File On Android With Terminal

I'm trying to make a sparse file on android. For this I'm using Android Terminal Emulator. I have installed Busybox so I can use the dd command. Other commands like truncate aren't installed. My ...