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
9 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
12 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
votes
0answers
7 views

Mint won't install over ubuntu from unetbootin, startup disk creator, or terminal dd commands

I'm new to linux but have been with Windoze since forever, so have a fair/average knowledge of general IT stuff. OK we have a Lenovo Thinkpad S10 149GB HDD 1.5GB RAM Last week I removed Windows XP ...
1
vote
0answers
40 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
42 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
10 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
12 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. ...
41
votes
5answers
5k 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.
0
votes
1answer
77 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
67 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
147 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
25 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
619 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
36 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
64 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 ...
1
vote
0answers
37 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
21 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
78 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
25 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 ...
2
votes
1answer
343 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’: ...
0
votes
1answer
130 views

Problem with DD & Startup disk creator

I want to create a bootable USB drive for Chromium OS. I downloaded this image (direct link) and I want to put it on my 4 Gb USB. The IMG file is 2.6 Gb and my USB is 4 Gb, so there is space for the ...
0
votes
1answer
42 views

What is the best way to clone a disk?

My guess is that dd if=/dev/sda of=/dev/sdb bs=4096 will work out well for me. I have some concerns though: What is the ideal bs size? Is it advisable to use a live cd? I simply don't want to ...
2
votes
1answer
74 views

Creating an SD disk image from scratch: “you must specify a filesystem type”

The really short version: I am trying to create a disk image that includes an MBR/bootloader provided in another image, and one partition with a root filesystem provided in a tarball. Creating the ...
1
vote
1answer
48 views

Using dd to test Write speeds

I'm trying to check the write speed of different devices that I have using the following: dd bs=1M count=256 if=/dev/zero of=/path/to/device oflag=dsync I want an accurate reading of write speed ...
3
votes
1answer
37 views

How to copy directories and files from a corrupted harddrive?

I have an I/O error every time I copy folders and files from a partition to a backup harddrive . So how can I safely backup this data to my backup HDD?
0
votes
0answers
47 views

Complete I/O error HDD after doing dd

Ok, before reading this, I just want to say that this is not a duplicate post. I once owned a Seagate Momentus Thin 500GB that contains Windows 8. After messing up a bit, it restarted and what I saw ...
1
vote
1answer
34 views

System hangs after being restored from dd backup

I've been using Clonezilla for weekly image backups, which is obviously a little bit of a hassle. I've been trying to switch to dd, so I can have cron run it for me. This is what my backup script ...
1
vote
0answers
33 views

Restoring backup from dd image has really weird results

I've been using Clonezilla for weekly image backups, which is obviously a little bit of a hassle. I've been trying to switch to dd, so I can have cron run it for me. This is what my backup script ...
1
vote
0answers
41 views

dd: Trying to recover my file system

ubuntu: 14.04 By mistake I ran the following command dd if=/dev/zero of=/dev/sda2 bs=1024 count=1 and now grub is unable to recognize file system and so the linux is not starting. I think I have ...
0
votes
2answers
132 views

USB drive doesn't auto mount

I was trying to create a live USB on my Ubuntu 14.04 system using the 'dd' command. After this operation, on inserting the USB stick, the device does not mount automatically as it used to get before. ...
0
votes
1answer
70 views

Copying files from hard drive to external hard drive, GPT Partition got in the way

I am trying to copy files off my laptop to an external hard drive because Windows is corrupt, and I need to reinstall it. I was going to use dd, but when I start the process ...
3
votes
2answers
314 views

GPT PMBR size mismatch after dd clone

I am migrating my Ubuntu EFI boot system to a larger hdd. I used the command dd if=/dev/sdb of=/dev/sda I did not dismount the inputfile before copying and the outputfile was fresh unpartitioned ...
0
votes
0answers
57 views

How to convert a file to a block device?

When I backup a partition with: dd if=/dev/sda2 of=~/sda2 bs=512 I can still mount it using mount ~/sda2 /mnt But what if I backup the whole disk? dd if=/dev/sda of=~/sda bs=512 I can't just ...
0
votes
2answers
38 views

Copy system to new fresh install

I want to wipe my entire hard drive and install a fresh dual-boot Windows7/Ubuntu system, but want to put the entire Ubuntu system as it is now back onto it. The install is located at /dev/sda10. I ...
2
votes
2answers
164 views

Is there a faster way to only occupy disk space than dd [duplicate]

In order to test that our systems correctly detect that they are running out of space, we just need large files on the disk where we do not care about their content at all. At the moment we use dd ...
2
votes
2answers
262 views

GZip of drive image created by using `dd` command

I created yesterday a drive image using GZip. I opened the 51.3 GiB file named ssd.img.gz to see one icon thats a package of 3.9 GiB, yes, thats THree point Nine Gigabytes in size and has the name of ...
4
votes
1answer
131 views

How do i avoid starting dd over again after a system freeze?

Some days ago I decided to wipe my 750 GB hard disk in order to sell it, so I booted Ubuntu off a live DVD and started the process with sudo dd if=/dev/zero of=/dev/sda. I left dd running during the ...
1
vote
1answer
100 views

Disk image, partitions selectively, all this using dd [closed]

Start point situation: HDD with MBR scheme, four primary partitions, one of them is Windows XP system and boot partition. Remaining partitions are used for plain user data files. This formatting was ...
2
votes
1answer
174 views

How can I archive dd's output directly possibly without using any compression?

It has been determined already in this question that tar cannot read input from stdin. How else can a dd output be archived directly possibly without using any compression? The purpose of doing ...
0
votes
2answers
65 views

cloning several hardrives using the dd command

I'm developing a software to clone one hard-drive onto several other. I want to clone the content to up to 23 drives at once using dd to clone the partition from the source to the targets using sudo ...
1
vote
1answer
410 views

How to use the dd command to copy an .img file to an SD card?

I've been trying to use the dd command to send an .img file of mine to a partition on my SD card. The command is: dd if=/dev/sda6/media/david/desktop/stellar-unbrick.img of=/dev/sdb1 Unfortunately, ...
1
vote
1answer
207 views

Can not unlock from and lock to Launcher

I just use dd -ip /dev/sda -op /dev/sdb to clone my old disk to new disk, and boot from my new disk. All the things remain the same except that applications in Launcher changed back to default. Why? ...
1
vote
1answer
95 views

How do I DD backup the Microsoft Surface onto a Image file? Has anyone done this and restored it successfully?

I normally back up my PCs with a disk dump. Its effective but slow, but required for us. I usually do something like this: dd if=/dev/sda bs=512k of=/mnt/MyUsbStick4TB/BackupOfMyCDrive_sda.dd Can ...
0
votes
2answers
71 views

Harddrive replication without *full* dump (dumping partitions is OK)

Today, I bought a second server almost identical to my first one (I guess). Specs (processor model, RAM, HDD) are the same. But I failed to copy the disk of the first one to the second one. It didn't ...
-1
votes
1answer
36 views

Lost Harddisk data after creating Bootable disk with it

Today, I tried creating bootable disk(on external harddisk) in ubuntu using the below dd command and it erased all my harddisk's data. dd if=<source> of=/dev/sdb1 bs=<byte size>; sync ...
0
votes
0answers
25 views

SD card image library manager

I'm currently playing with lots of SD cards for various raspberry pi's and I'm looking for a program I can use to take backups of them, store them on my desktop, and write them back to cards when ...
0
votes
2answers
156 views

Trying to use dd to write an iso to a usb stick to be used in Windows 7

I have a Win7/64 laptop without a DVD drive, and a copy of Office on a DVD I'd like to install. I figured I could use another machine running Xubuntu 14.04 to make an ISO of the disk, write that ISO ...
0
votes
3answers
227 views

dd: Operation not supported (on unmounted, but not ejected drive)

I have looked through the other questions here on AU, and none of them seem to help me deal with this particular problem, so I am starting a new question. For some context, all I am trying to do is ...
1
vote
2answers
725 views

USB Disk stuck in read only after dd an ISO

This has probably been asked before but I have not been able to find it so I'll ask again. Here's what I did: sudo dd if=./windows.iso of=/dev/sdb #sdb is a 64gb USB disk Afterwards I was unable ...
0
votes
0answers
107 views

bash script: netcat output not occur and not identified

I want to create partition image of a rooted Android Smart Phone. In a terminal I can do it as below. Session 0: adb forward tcp:31337 tcp:31337 Session 1: adb shell su :/# dd if= bs=4096 | nc -l ...