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
48 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 ...
4
votes
3answers
595 views

How to tell if you have a fake sd card

I've been given some flash drives that appear to be fake. The silk screen says 64 gigs, and they show up as 64 gigs to the OS. However if you attempt to write any files larger than 4 gigs the file ...
14
votes
1answer
6k views

Mac OSX - Why is /dev/rdisk 20 times faster than /dev/disk

According to the rasbery pi documentation, You can load your OS to a flash card with either /dev/disk or /dev/rdisk. rdisk stands for raw disk. /dev/disk is a block level device, why would rdisk ...
0
votes
1answer
932 views

Windows 7 on GPT partitioned SSD backup using dd

i have a SSD device as primary sata hard drive witch contains my os. On this device i have Windows and Linux Mint installed. Now i want to make an image of my windows installation so that i can ...
-1
votes
1answer
124 views

what are the types of error messages that dd outputs? [duplicate]

What are the error messages that dd outputs? I tried to look at manual, but it does not say anything about it. Or I do not know how to look at manuals (man). Edit: OK. I'll make it simple: what error ...
2
votes
1answer
147 views

What happens if dd encounters errors while output of dd is being piped to gzip?

Suppose that dd if=/dev/sda bs=100M | gzip -c > somefile.img.gz is done. If errors occur in dd, do I get to see error messages in terminal, or do they get ignored? Also, suppose that dd ...
-1
votes
1answer
6k views

What does dd conv=sync,noerror do?

So what is the case when adding conv=sync,noerror makes a difference when backing up an entire hard disk onto an image file? Is conv=sync,noerror a requirement when doing forensic stuff? If so, why is ...
2
votes
2answers
1k views

DD: No Space Left On Device

I've been messing with an old Brother WP-2200 and I've hit a bit of a snag. I was hoping I would be able to make images out of the floppies I typed on it using dd under Linux. Unfortunately that ...
0
votes
0answers
110 views

backup strategy for Linux Machine configured as LAN gateway

I am total newbie to Linux Disk and backup management tasks, but I need to backup a CentOS 6 Linux Box configured as gateway for a small LAN. This box has been already been configured for gateway ...
1
vote
2answers
11k views

How can I clone a hard drive directly to a vdi image

I would like to make a VirtualBox .vdi image out of my hard drive. I've found howto's online that describe doing this by first usind DD to create a .raw image, then using VBoxManage to convert the ...
0
votes
1answer
127 views

Rescue data from ext4 ISO image?

so, my SD card got broken and cannot be read completely (escpacially the directory I want to read from has problems). I was able to create an ISO image of the partition using dd but cannot mount it. ...
1
vote
1answer
3k views

How to resize img file created with dd?

I have a DD image from a 4GB SD card that has two partitions, these two partitions are only using up about 800 MB and as such I wish to reduce the size of the img fie. Does anyone know of a way to ...
1
vote
2answers
1k views

Clone hdd with bad sectors

I have a 250 gig hdd and a 240 gig ssd. I want to transfer the data from the 250 gig hdd to the 240 gig ssd. I have tried a variety of methods with no success: (keep in mind i can boot perfectly from ...
2
votes
1answer
3k views

Why do we use cp to copy files and not dd? (in unix-derivatives)

For normal file copying in *nix, I've only ever seen people use cp (eg. cp /mnt/mydevice/myfile ~/myfile), but I eventually ran into dd, which appears to do the exact same thing (dd ...
0
votes
1answer
322 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 ...
0
votes
1answer
520 views

dd restore image to HDD (having issues)

I had made a complete image (at least I think I have) using dd if=/dev/sda of=/mnt/sda.img bs=32M where mnt is an external HD I use. I came to restore that image this morning, so I booted up on a ...
0
votes
1answer
86 views

How to do a 1:1 copy of a Windows HD [duplicate]

I have a Windows 7 installation on a separate HDD, since installing Windows takes at least half a day on my machine do to the fact that I have to install a big list of drivers, I would like to do an ...
0
votes
2answers
633 views

Can dd be used to make an exact disk image(copy) of HDD and SSD?

So I want to take a disk image of my SSD/HDD, but I want my disk image to be exactly the same as every bits/information of my physical hard disk. (so that if there are files deleted but recoverable ...
0
votes
1answer
72 views

Fedora restored from cloned image has broken image

Ive had the following issue. Yesterday Ive dd-ed a HDD with fedora 18 which was split in 3 parts: fedoras sda1 which was ext4, sda2 which was the LVM and sda3 which was ntfs storage partition. Ive ...
4
votes
1answer
176 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 ...
2
votes
1answer
99 views

Consequences of zeroing out a partition with dd

I have a partition called sdb1 formatted as ext4. The partition is currently mounted. If I do the following: dd if=/dev/zero of=/dev/sdb1 What are the consequences (beyond all data on the being ...
10
votes
2answers
15k views

creating a bootable USB from command line on linux

I have a CD that's created from an ISO file which I use to install a custom version of Ubuntu via plop linux. The cd works fine but I'd like to use a bootable USB drive instead. I used the command dd ...
4
votes
2answers
96 views

Attempting to test an embedded nand flash chip by filling up a file to drive capacity

I'm trying to test an embedded nand flash chip using the dd command (write random data to a file): dd if=/dev/urandom of=/nand/storage/testnand/test.raw bs=100000 count=50 2> /dev/null However, ...
4
votes
1answer
106 views

What is the difference between byte sizes for DD

If I use the extreme byte size of 1 gb vs 1 mb for instance, on the hardware level, what is the difference? What does a byte size do if a constant stream of data is just getting written to the disk>?
1
vote
3answers
571 views

How do I image a 128GB drive to a 120GB one using Linux dd?

I have 2 SSD's. My system (Ubuntu 12.04) is installed on one and I want to clone it to another. The problem is that the system is currently on a 128GB drive and the new one is only 120GB. Is it ...
10
votes
6answers
990 views

What happens if I dd zeros to the drive where dd resides?

Will this command: dd if=/dev/zero of=/dev/sda bs=1M succeed if the dd command was originally on /dev/sda? Will this complete because dd is in memory at that time?
0
votes
2answers
313 views

Why does dd copy slower with really small and really big block sizes?

I have realized that if I use really small block sizes, the dd copy is slower, but if I use really big block sizes, it also is slow. I have found that 1M is optimum. Why is this?
1
vote
0answers
247 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 ...
7
votes
4answers
4k views

How to use Cygwin to copy an image from an SD memory card

Long story short, I'm working on a Windows 7 machine and I'd like to strip the image off an SD card (backing up the card from a Raspberry Pi). I'm trying to use Cygwin, but not having much success. ...
0
votes
2answers
543 views

How come writing varying file sizes results in varying speeds? [duplicate]

Here is some output from the dd command: $ dd if=/dev/zero of=test.file bs=10M count=1 1+0 records in 1+0 records out 10485760 bytes (10 MB) copied, 0.130214 s, 80.5 MB/s $ dd if=/dev/zero ...
0
votes
1answer
274 views

dd cloned drive not recognised by Windows

I have a Lenovo Windows 7 laptop with an MBR hard drive I want to clone. I used a Linux (Kali, FYI) live USB stick, booted on the PC and used dd if=/dev/sda of=/dev/sdc bs=100M conv=notrunc to clone ...
3
votes
1answer
3k views

Use losetup and dd to make filesystems images ready to be deployed

Introduction Using dd, one can easily backup the MBR and partition table of a disk. It's as easy as: dd if=/dev/disk2 of=~/Desktop/disk2_mbr bs=512 count=1 One can also backup whole partitions: dd ...
1
vote
1answer
77 views

A bootable usb key prevent system to boot

I'm written a ChromiumOS image on an usb key with the command dd. When I boot my computer with the usb key plugged, the start-up blocks just after the line describing the cpu, so before I can select ...
0
votes
0answers
116 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 ...
4
votes
2answers
9k views

Can I use dd to clone a larger SD card to a smaller SD card if the actual partitions will fit?

I have a 16GB SD card that has a few partitions on it (it's actually the card for a Raspberry Pi). I have several other 4GB cards that I want to clone the primary card to. The 3 partitions on the ...
2
votes
2answers
664 views

Can I clone a large hard drive (with little data on it) to a smaller hard drive (with no data on it) with “dd”? Is there a better way?

I recently got a new desktop, and two hard drives to go with it: a 128GB solid state drive, and a 750GB hybrid drive. I installed Windows to the hybrid drive, but have come to realize that it would ...
0
votes
1answer
148 views

how to dd capture partitions of a VMware Player VM

I have a Linux VM that runs in VMware Player. It has /dev/sda1 mounted as /boot and /dev/sda2 mounted as /. I want to use dd to capture both partitions. I now know from the answer to this post that ...
3
votes
0answers
2k views

Attempting to access RAM /dev/mem… says “Operation not permitted”

I am using Ubuntu 12.04 I read the following tutorial on how to access the contents of RAM in Linux.... http://www.rootninja.com/using-dd-to-search-for-strings-in-memory-or-devices/ Code: dd ...
2
votes
0answers
95 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
60 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 ...
0
votes
0answers
222 views

Operating System not found when loading DD image in VMware

I provide much details below to hopefully make my issue as clear as possible. Using dd if=/dev/ps3da2 of=/mnt/edexhdd/EDPS3LINUX.iso bs=16384 I copied a fairly huge partition from a physical Linux ...
2
votes
1answer
231 views

Are there any pitfalls to moving my Windows partition to a new hard drive using dd?

My current hard drive has an 80 GB NTFS partition running Windows (/dev/sda1) in addition to several Linux partitions. I purchased a new hard drive and want to move my Windows 8 partition to a new ...
1
vote
1answer
566 views

recover data after using dd command

Hi I have an Iomega HD for mac. I was writing a ubuntu server image to another drive but accidentally selected my 500GB Iomega with my files on it. The command I ran was: sudo dd ...
1
vote
1answer
200 views

Use ntfsundelete on dd image

I have a feeling the answer to this is right in front of me, but I am not seeing it. :/ I used dd to to create an image of a failing drive. Now, I would like to attempt to recover anything I can from ...
1
vote
2answers
3k views

using dd to copy partition to another partition, while using physical drive

I'm not sure how to explain this in the subject better, so the "question" may not be right. But here goes. I have three hard drives. Drive A is a 320GB drive, Drive B is a 80 GB Drive, and Drive C is ...
-2
votes
1answer
2k views

Make Live USB with dd

The last time I booted from USB was back in 2006. Ever since, I keep failing at making live usb bootables. I tried getting Fedora 18, Ubuntu, and ton of other distros to boot from USB and never ever ...
0
votes
0answers
245 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
2answers
223 views

restore dd image to another usb stick failed

I'm trying to create a dd image which contains two partition. The first is a ext3,(19MB) the 2nd is fat32.(16MB) I use one 512M usb stick to create image. And use dd if=/dev/sdc of=image.dd bs=1M ...
1
vote
2answers
111 views

dd /dev/sda to img on drive

If I run: sudo dd if=/dev/sda1 of=~/image.img bs=1M Will the image.img (which is located on /dev/sda1) be continuously copied onto itself? As it gets bigger from data, will that additional data be ...
1
vote
3answers
3k views

How to create an image of a Live system over ssh?

I have a question about a FreeBSD server that I cannot access at the moment. But because we would like to try some new stuff we want to create a backup of this system first. The question is: is ...