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
191 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
230 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
432 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
307 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
96 views

Complete wiping of hard drive - shred, wipe or dd?

I need to wipe all data of a number of hard drives, from Ubuntu Linux. I have found three command line tools: shred, wipe and dd. It seems kind of random what people recommend. Sometimes someone ...
0
votes
1answer
87 views

Use dd to copy an HFS+ volume in linux

I have a friend's HFS+ external drive from her Macbook. We created a new similarly-sized partition on a different external drive, also using the Macbook. From everything I understand about dd, it is ...
0
votes
1answer
130 views

how to make a correct bootable usb of a linux distro?

well I have been installing different distros of linux from by usb from time to time. And I always followed same method which until today stopped working for me. So I use to format my usb with ...
0
votes
1answer
54 views

dd MBR and one partition

I have 2 partitions on a drive and I need to use dd to create a new image of just the MBR and second partition. Here is the output of fdisk -l /dev/sda Device Start End Blocks ...
0
votes
1answer
32 views

Writing past the end of the drive with dd?

Suppose I have a drive with 10000 512b sectors. If I do sudo dd if=/dev/zero of=/dev/disk2 skip=99999 count=10 what will happen? When I tested this with a real drive, dd's output suggested that ...
0
votes
1answer
1k views

How do I make a USB flash drive writable on Linux?

I want to reformat a SanDisk Cruzer Edge USB flash drive but it appears read-only: $ sudo dd if=/dev/zero of=/dev/sdg dd: failed to open ‘/dev/sdg’: Read-only file system I checked the readonly ...
0
votes
1answer
162 views

Use Linux dd to copy and read file at specified location

I want to use the dd command to write one file at any location of the hard drive and then to read the same file from this location. I need to be independent on any file system or partitioning. It ...
0
votes
1answer
136 views

Created image of single partition from Imac harddrive using dd - how to mount?

Alright, you'll have to forgive that I don't have an abundance of knowledge with using these tools. I've tried to follow the tips provided in this thread: How to mount a HFS partition in Ubuntu as ...
0
votes
1answer
167 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. ...
0
votes
1answer
77 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 ...
0
votes
1answer
173 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 ...
0
votes
1answer
206 views

Poor compression of compact flash image, even after 0 fill

Problem: I am attempting to create an exact image of a compact flash and then compress the compact flash image for easier storage. The compact flash is not full (~1.5GB used, 32GB size). The problem ...
0
votes
1answer
85 views

How to use dd to make splitted ISO images from an storage device?

This is a double question, I just hope it's valid. I need to know how to use dd to make splitted ISO images from some storage device, I'm doing it through SSH: the process is slow and the risk of ...
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
130 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
62 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
328 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
9 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
79 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
327 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
565 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
498 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
345 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
70 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
6 views

Is dd's extended size notation ignored when bs=<value> is set?

On linux the man page for dd claims: N and BYTES may be followed by the following multiplicative suffixes: c=1, w=2, b=512, kB=1000, K=1024, MB=1000*1000, etc up to M, GB, T, P, E, Z, Y. But ...
0
votes
0answers
8 views

Using gnu dd_rescue to rescue data from a failed hard disk

I'm using gnu ddrescue 1.18.1 from the SystemRescueCD Linux distribution. I started the recovery process yesterday using this tutorial: ...
0
votes
0answers
49 views

How can I identify and read only free-space junk data from EXT4 partition?

I have cloned an EXT4 partition via raw dd command from a Galaxy Nexus phone. How can I identify and read only free-space junk data from the EXT4 partition? I need to recover some WAVE samples(I'm ...
0
votes
0answers
37 views

Is it possible to clone previous boot disk to new imsm raid array?

A PC with a hard drive 750GB. The hard drive has one partition with Vista and several partitions with Ubuntu 14.04. I mainly work with Ubuntu but occasionaly I boot Vista. Recently, the drive's smart ...
0
votes
0answers
16 views

How to recover files and folders from a dd_rescue image?

My 16 GB USB disk crashed, the filesystem disappeared. I tried to fix it with "dosfsck", but no success, it also has bad sectors. Then I made a disk dump with "dd_rescue" command. I was able to ...
0
votes
0answers
13 views

backup wlc2504 cf card

I dd imaged a CF card for a WLC2504 before upgrading to a new FUS image and now have a backup image of the new running software as well. My question is can I use the pre-update CF image if necessary ...
0
votes
0answers
20 views

Moving Select Partitions and MBR From Old Drive To New

On my current drive I have a dual boot system setup (two different versions of ubuntu.) I want to migrate to a new hard drive but I don't wan't to keep one of the Ubuntu installations. So here is how ...
0
votes
0answers
107 views

fdisk doesn't see ssd, clonezilla does but fails anyway

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
164 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
63 views

dd and gparted and Lubuntu disks all acting funky

So I am trying to write some iso images over to an 8 GB USB drive and this happens. The first iso didn't seem to actually write and when I went to boot it in my other box, it booted to a unetbootin ...
0
votes
0answers
19 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
124 views

cannot boot kali usb

I downloaded - from http://www.kali.org/downloads/ - Kali Linux 32 bit ISO and then sha1sum-ed. blkid shows my usb on /dev/sdc1 then dd if=<path-to-kali.iso> of=/dev/sdc (I have also ...
0
votes
0answers
45 views

How to chroot into memory disk so that hard disk can be unmounted?

What I want to achieve is to be able to backup my hard disk over ssh like the following without the need to boot from a live CD / rescue media: dd if=/dev/sda | gzip -1 - | ssh user@hostname dd ...
0
votes
0answers
31 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
15 views

Moving a part of a file with dd

How do I do a memmove for a file on linux? Specifically, will dd work in the following case, when if and of are the same? dd if=test_file of=test_file bs=512 seek=10 skip=0
0
votes
0answers
203 views

Mount Core Storage partitions on image of hard drive created with ddrescue

How do I mount a whole-disk image with an encrypted CoreStorage partition? Update: I found the answer! It was super-simple: hdiutil attach -nomount somePath.img The "nomount" flag is critical ...
0
votes
0answers
130 views

dd records in records out different

Simple question: is it OK if the output in dd for "records in" and "records out" are different by 1? Or is this an indication that a disk error has occured? 96088211456 bytes (96 GB) copied, 873.174 ...
0
votes
0answers
60 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
144 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 ...
0
votes
0answers
252 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 ...
0
votes
0answers
322 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
256 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 ...