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

learn more… | top users | synonyms

0
votes
0answers
11 views

Cloning SD Card Problem

After Cloning a 32GB to 32GB in Ubuntu using dd the cloned one will not mount. Any help would be appreciated.
0
votes
1answer
36 views

flash drive at half capacity after 'dd image' format

Yesterday, I wanted to try out Ubuntu, so i torrented Ubuntu 15.10 (I got the torrent file from ubuntu.com) and I used Rufus to format my 32gb flash drive. it then said that it had to "dd image ...
-1
votes
0answers
16 views

Unplugged SD card during Image write!

Basically i was on my ubuntu system trying to wite a .img file to my sd card. A raspbian.img. So i entered the usual dd command and everything was going well when i accidentally pulled the sd card ...
0
votes
2answers
59 views

Is there a faster way to erase a pen (USB) drive using dd command? [duplicate]

I am using the dd command to erase a pen drive with this: sudo dd if=/dev/zero of=/dev/sdd bs=4k && sync where /dev/sdd is the designated device. The pen drive is 16GB in size and this ...
1
vote
1answer
38 views

Accidentally Wiped Root Partition - System Still Running

Alright, this is one of those times when I am are saying... Breathe deep, don't panic. What happened? As a usual part of leisurely tinkering with my system, I was trying write a 24.5 MB img file to ...
0
votes
0answers
27 views

Ubuntu losetup command does not mount the image of sd-card

I have used the gdiskdump tool to create a dd image of my 2gb sd card. And used losetup command to create a loop-back device. Usually when i used only dd command from terminal, and then used losetup, ...
0
votes
2answers
36 views

How can I efficiently format my Ubuntu Live USB to a FAT32 partition?

Consider the following situation: $ sudo fdisk -l [sudo] password for user: Disk /dev/sda: 320.1 GB, 320072933376 bytes ------------%<----------------------------- Disk /dev/sdb: 160.0 GB, ...
1
vote
1answer
82 views

Format usb linux Western Digital external disks

How can I format an external USB drive? I have a Western Digital external usb which adds automatically a virtual read-only CD partition which prevented me to run the standard ways to format a disk. ...
3
votes
0answers
76 views

How to recover my files after executing “dd” [duplicate]

I switched to Ubuntu, someone helped me migrate from Windows to a machine with Ubuntu installed. Someone recommended this as a tip via e-mail: This will double the speed of your computer: sudo ...
3
votes
0answers
137 views

How to use a `dd if=/dev/sda of=/dev/sdb` drive?

Given: a sudo dd if=/dev/sda of=/dev/sdb duplicate drive of the main boot drive. How does one safely, reliably : mount a dd duplicate drive as a second drive? setup the dd duplicate drive as ...
1
vote
1answer
100 views

pv permission denied, but dd works without error [duplicate]

pv is program running above dd. I am cloning my old HDD onto new SDD I bought. It's 500GB of data. I tried to run the following command to copy sda to sdb: ubuntu@ubuntu:/$ sudo pv < /dev/sda > ...
0
votes
1answer
15 views

Move partition from ssd disk to pendrive

I have a 128 GB SSD. There is one partition: sda1 - 12 GB. I tried to move this partition to a USB pendrive. The pendrive is 16 GB in size. I booted from a live medium and ran: dd if=/dev/sda1 ...
1
vote
2answers
428 views

Why is the sync option used with the `dd` command?

Following instructions on this page, the page showed a dd command and a sync option at the end. The command is the following: xzcat ~/ubuntu.img.xz | sudo dd of=/dev/sdX bs=32M sync I know what is ...
0
votes
0answers
26 views

dd status=progress how to use properly [duplicate]

I am trying to see the status of the dd command with this option "status=progress" but it says that it's an invalid status flag. dd if=example.img of=/dev/sdb bs=512 conv=noerror,sync ...
7
votes
4answers
966 views

Format usb and confirm all zeros

I want to format my usb drive and confirm that it has been filled with all zeros. For formatting this is the command I am using: sudo mkfs.vfat -I /dev/sdb How do I confirm the device is filled with ...
-4
votes
2answers
97 views

Why is the dd comand failing to open and/or unable to find my raspian.img file?

Noob here, first post. I'm running Ubuntu 14.04.2 amd64. I want to flash raspian onto an 8GB microsd card. I have been unsuccessful. The command I entered is: sudo dd ...
1
vote
0answers
28 views

How to backup the first 3 of 5 partitions

I'm figuring out how to backup the first 3 of 5 partitions, in order to be able to restore them in case of disk failure or in case I messed up my system. Partition 4 and 5 are setup in RAID 1 ...
0
votes
0answers
22 views

Im having troubles making a boot drive

I'm wanting to dual-boot with arch. I type dd if=home/user/2f872866ca6b57c77dfd5ba6635b835cab67f2f9/Downloads/archlinux-2015.10.01-dual.iso of=/media/removable/UNTITLED oflag=direct bs=1048576 it ...
1
vote
0answers
68 views

Change filesystem blocksize when installing 15.10

so, I'm very much out of my depth in the whole world of *nix here. I'm searching all over about file system block sizes, and I found this script which determines what I can tell are read-speeds with ...
1
vote
0answers
46 views

How to recovered destroyed partition(dd command)

So I have been using a ubuntu livecd to help backup my windows os that won't start. I used the sudo dd if=dev/sda4 of dev/sdc1 accidentally and OVERWROTE the whole 700gig external hard drive and it ...
0
votes
0answers
40 views

dd read errors on /dev/sr0

I have a problem with my dvd drive, which seems like a hardware issue to me, as I have tried several things and I can't properly read my DVDs. However, I want to ask if anyone has seen similar issues ...
0
votes
0answers
81 views

V2P for a Vagrant VM results in “wrong fs type, bad option, bad superblock”

So I have created a Vagrant VM and ran it in Virtualbox which worked fine and I would like to turn into physical machine. Reason being that I want the OS to run on a different computer remotely so ...
0
votes
2answers
83 views

Alternative to backup hdd with dd

I want to backup my os disk, I have several os and would love to dd my whole disk dd if="/dev/sda" | gzip | split -b 1000MiB - "/media/.../backup/us.bin.gz." but it takes to long and backups are ...
13
votes
1answer
700 views

Does dd act at the filesystem level or go to the raw device directly?

Does dd act at the filesystem level or go to the raw device directly?
1
vote
1answer
45 views

Is it possible to UNDO a (failed) partition cloning made with the dd command to an external hardrive?

Yes, the old story: Trying to create an image of a partition to save in a different location... the accident is/was cloning to an external drive instead of the intended location and now the external ...
0
votes
0answers
52 views

How to decrease dd output size via defragmenting and zero fill empty space

I want to make backups of a whole hdd using dd, unfortunately backup sizes matter I use the following commands to ensure compression and splitting (fat32 habit, since you cant save anything more than ...
1
vote
1answer
348 views

Manually installing an ISO onto a USB?

I'm trying to install TAILS. I've downloaded and verified it and everything and I'm on to installing it. I want to install it manually onto a USB stick. The TAILS website doesn't have any instructions ...
1
vote
2answers
67 views

Preventing the dd command on extra drives

I use dd a lot day to day for writing Raspberry Pi SD card images. However every now and then I slip and by accident dd the wrong partition and thus killing my other drives. I was wondering if ...
2
votes
2answers
121 views

How to find card reader block device?

I am trying to make an image from USB Card Reader using dd. When I connect device, this is what the log tells me: Aug 21 11:26:50 acid kernel: [ 1399.579168] usb 1-1: New USB device found, ...
0
votes
1answer
283 views

Do I have to unmount the drive when using dd command?

I have a 60 GB SSD where my Ubuntu installation and home folder is and a 1 TB HDD that I used to use as storage device (movies, music..). I have decided to sell the 1 TB drive but before I do that I ...
-3
votes
1answer
481 views

dd: failed to open ‘kali-linux-1.1.0a-amd64.iso’: No such file or directory

I'm trying to create a Kali Bootable USB Drive on Ubuntu 14.04 LTS following these instructions -> http://docs.kali.org/downloading/kali-linux-live-usb-install Everything seemed alright till the ...
0
votes
0answers
351 views

Mount raw disk image

I want to mount all partition of a dd image in actually partition to my Ubuntu I want to it like same as a actual disk /dev/sdx , /dev/sdx1 , /dev/sdx2 & etc. I try to mount image with: ...
1
vote
2answers
46 views

How does dd write to a device node when you usually can't?

Now usually you'll have a partition on your USB drive or whatever, and you can only write things to there. But dd has the ability to write things outside of partitions, presumably in the MBR. How does ...
1
vote
0answers
119 views

Making a backup copy of the DVD “Iron Man 2”

I am trying to make a backup copy of my DVD Iron Man 2 (I live in a country where it is OK). This particular DVD has special tricks to prevent buyers from doing that (see dicussion for Mac). I ...
1
vote
1answer
490 views

Permission denied for “dd” of Android phone's file system connected over mtpfs in Ubunutu 14.0.4

I have connected my rooted Mi3 android phone to Ubuntu 14.0.4 using jmtpfs. I am using ~/Desktop/phone as my mount point. I am able to browse the Android device using Nautilus. Now I want to recover ...
0
votes
1answer
23 views

Write to a non-existant device using dd

Hello I wanted to write an iso image to an USB stick (which is in /dev/sdd) but I've made a slight typo, instead of typing: dd if=/path/to/downloaded.iso of=/dev/sdd I typed: dd ...
0
votes
0answers
65 views

dd if=/dev/sdX of=image conv=notrunc,noerror,synv copies only a fraction of disk

I tried imaging my bootable usb stick, to free it for other data. However running sudo dd if=/dev/sdc of=windows7 bs=512 conv=notrunc,noerror,sync copies only 1.1GB for a 8 GB (7.7GibiByte) stick. ...
44
votes
5answers
6k views

What does the command name “dd” stand for?

I'm using dd to copy an image onto a USB. But what does dd stand for? I understand its use, but not what the name dd actually means, or is an acronym for. It doesn't even say in the man page.
1
vote
1answer
100 views

Does dd or shred do any harm to the physical media of a hard disk?

Does dd or shred commands only overwrite the data and the filesystem or do they change or modify the physical media of the hard disk? Because I know that I can format a hard disk millions of times ...
0
votes
0answers
351 views

Cannot format read-only USB; 'Error calling fsync(2) on /dev/sdb: Input/output error ' when I try to format the drive

I'm trying to format this USB, when I plug it in it mounts and I can read what's on it, but can't write to it or delete anything (read-only error). First I tried the normal 'Disk utility' - unmount - ...
0
votes
3answers
493 views

SD Card Slot doesn't work

Alternative way to earn the bounty: Show me how to store a file system like ext4 (a FS which can store large files, I don't really need all of the good stuff ext4 provides for this use case) in many ...
1
vote
1answer
55 views

I ran “dd if=file1” on accident and gibberish started flowing - Bad?

I ran "dd if=correctfilelocation" on accident before I was able to add in the second half of the command and gibberish text in terminal started going crazy. Did I break anything? The file was an OS I ...
4
votes
6answers
781 views

Create Random non words [closed]

dd if=/dev/urandom of=a.log bs=1M count=2 Question: if this code ^ gives me random numbers, how can I get random non-words (unintelligible) such as “hgcqw”. Question 2: Can the shuf command be ...
0
votes
1answer
189 views

Cloning SSD with dd But Clone Does Not Boot

At my job we have always used dd to make clones of our master os image, but recently we have updated from Ubuntu 12.04 to 14.04. We made an image of it and created a news SSD with it. sudo dd ...
0
votes
2answers
1k views

Can't erase everything (partition/data) on sdcard, even with dd

I have a Kingston sdcard (16g) with partition and data written on it. here is the output of root@victor-ss9:/home/victor# fdisk -l /dev/sdf Disk /dev/sdf: 15.6 GB, 15560867840 bytes 4 heads, 16 ...
0
votes
0answers
109 views

Create exact copy of compact flash with encryption with dd

I have a touchscreen system that's using some sort of encryption on a compact flash card to run it's OS. The card died, but I have access to identical machines. But when I try to copy the cf with DD ...
1
vote
0answers
32 views

Unable to login after dd clone

I have a test system with two 80GB drives: /dev/sda has Windows7 installed on it and /dev/sdb has Ubuntu 14.04. I imaged the Ubuntu drive to a third USB HDD using dd if=/dev/sdb ...
0
votes
0answers
195 views

DD doesn't seem to work in Ubuntu 15.04

I have used the dd command for a while to add my bootloader to a floppy image created with mkdosfs. mkdosfs -C disk_images/aquaos.flp 1440 dd status=noxfer conv=notrunc ...
0
votes
0answers
50 views

thumb drive went in to read only mode, no idea why?

It's almost brand new, suddenly sudo dd if=/dev/zero of=/dev/sdd bs=512 count=1 dd: failed to open ‘/dev/sdd’: Read-only file system tried with sudo hdparm -r0 /dev/sdd /dev/sdd: setting ...
3
votes
1answer
2k views

Error, even with sudo: “dd: failed to open ‘/dev/sda1’: Permission denied” (dd input piped from gzip)

My command which doesn't work: sudo gzip -dc sda1.image.gz | dd of=/dev/sda1 returns the following error even before I've had a chance to enter my password: dd: failed to open ‘/dev/sda1’: ...