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
4 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
4 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: ...
4
votes
2answers
4k views

How to Copy .VHD File to Physical Hard Disk Using DD Command

I have read other question/answers on this site that say this is possible, but I'm wondering how it is done. I have tried the following command, which completes successfully, but the NTFS isn't valid ...
0
votes
2answers
3k views

changing permissions of Read-only file system in linux

i use this command to make a bootable flash disk of linux mint sudo dd if=~/Desktop/linuxmint.iso of=/dev/sdx oflag=direct bs=1048576 it's work, but now my flash disk is lock and i can't change ...
1
vote
0answers
8 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 ...
0
votes
2answers
22 views

How to append data in a file by dd?

I want to append new data in a file stored in SSD. dd if=/dev/shm/test of=/data/sdb/test bs=1G oflag=append But df -h shows the dd command always overwrite the test file, instead appends new data ...
0
votes
1answer
32 views

Will Steam not run if its partition is copied to another using dd?

If I have Steam installed on one windows partition and then I copy that windows partition into another partition using dd, will Steam not run in that new partition? If so is there a way to fix it?
0
votes
1answer
27 views

How to write bootable iso to a partition?

I want to install a new operating system. Neither want to write the installer ISO to DVD, nor to USB flash drive but to a partition on the HDD itself. I have done it before: I created a bootable USB ...
1
vote
3answers
2k views

Use `dd` linux program to save / recover a disk's MBR

I have an Ubuntu OS installed on my laptop. I want to install Windows 7 as well to another disk partition (I will do it by recovering it from a special partition on my laptop). After installing ...
0
votes
1answer
15 views

Does dd require CAP_SYS_RAWIO?

A little while ago, I found out from this that there used to be a way to semi-permanently disable the ability of even root to modify immutable & append-only flags (lcap CAP_LINUX_IMMUTABLE) or ...
0
votes
1answer
84 views

Making a VDI image bootable for VirtualBox

I created a disk image of a Ubuntu (12.04) system by using dd if=/dev/sda6 of=xxx.img The VDI image was created by using vboxmanage clonehd xxx.img xxx.vdi --format VDI When I create a new VM ...
1
vote
2answers
44 views

windows equivalent for dd

I need to read and write various flash card images. The way i always did this in linux was with dd, and that did the trick. What is a good windows equivalent? Simply put, i need to be able to read an ...
6
votes
3answers
11k 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 ...
1
vote
2answers
392 views

dd - just copy partitions

I have a SanDisk Extreme SD card contaning my Homeserver runing on the RaspberryPI. I want to move this sytsem to another 4GB SD card using dd. But unfortunaltely when I make an image via dd it has ...
0
votes
2answers
27 views

Can dd copy raw data from hard drives when operating system cannot recognize file system of partitions of hard disks?

As the title says, can dd copy down from hard disks even when operating system cannot recognize file system of partitions of hard disks?
4
votes
2answers
124 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, ...
1
vote
2answers
47 views

Understanding the dd command in Linux

can someone explain to me what this command does: dd if=/dev/zero of=10MBfile1 count=10000 bs=1024 which produces this output: 10000+0 records in 10000+0 records out 10240000 bytes (10 MB) copied, ...
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
36 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
1answer
88 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
2answers
13k views

How to copy an ISO image onto USB with dd

The last paragraph of the SliTaz 3.0 Release Notes says the following about the liveCD: The ISO image now uses a 'hybrid' system: it can also be copied onto an USB stick without formating it ...
1
vote
3answers
436 views

Creating a large file of random bytes quickly

I want to create a large file ~10G filled with zeros and random values. I have tried using: dd if=/dev/urandom of=10Gfile bs=5G count=10 it creates a file of about 2Gb and exits with a exit status ...
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 ...
1
vote
2answers
83 views

How do I wipe a USB drive using dd on cygwin on Windows?

I am trying to use dd to wipe a usb drive using Cygwin on Windows. What should I use for the of argument? dd if=/dev/null of=?
0
votes
1answer
70 views

Write iso files to usb sticks with dd

So far I have always succeeded at creating bootable USB, until yesterday. I tried creating a bootable USB for Arch Linux, Chakra OS, and Ubuntu this way: Locate my USB stick: lsblk # My drive is in ...
0
votes
1answer
66 views

Cloning md partitions for recovery

I have a failed software RAID5 (3x500GB disks) that I'm trying to recover. I don't want to try some of the more risky steps on the actual disks, so I want to clone them to new partitions on a new 3TB ...
0
votes
2answers
137 views

Linux Full Disk Backup of a Remote System?

I have a home file server in the following configuration: 4 HDDs of 2TB each 1 USB flash drive running the Debian OS of 8GB I would like to make a full disk backup of the OS flash drive to another ...
0
votes
0answers
121 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 ...
1
vote
2answers
4k 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 ...
0
votes
1answer
21 views

Expand size of disk image after dd operation

Background : I used the debian wheezy raspberry pi build, a generic kernel image with qemu to build a raspberry pi image. I copied the resulting image to the SD card with dd. That SD card is a 16 gb ...
0
votes
1answer
53 views

Does dd care when cloning from smaller hdd to bigger hdd?

Does DD care about hard drive size? I currently have a smaller 500GB HDD that i want cloned to a 1TB SSD. Will it clone without a problem relating to size? will there be non partitioned space? was ...
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
149 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
18 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 ...
1
vote
4answers
1k views

bash - test if disk is unparitioned

I'm currently working on a DIY network storage which aggregates free disk space using mhddfs. Now what I want is, for example given a hotswap bay, when I insert a brand new unpartitioned disk, I wish ...
4
votes
2answers
7k 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 ...
18
votes
5answers
13k views

Why is my /dev/random so slow when using dd?

I am trying to semi-securely erase a bunch of hard drives. The following is working at 20-50Mb/s dd if=/dev/zero of=/dev/sda But dd if=/dev/random of=/dev/sda seems not to work. Also when I ...
2
votes
2answers
81 views

Is there a way to output the status of dd (on OS X) during the copy process?

I am using dd to copy iso images to a thumb drive. Is there a way to output the status of dd during the copy process?
0
votes
0answers
99 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
2answers
195 views

Any way to boot a OpenSuSE installation DVD ISO and install from it, without burning it to a DVD?

Because the DVD image is too big to fit on a disk, I would like to install system using sequence of commands like this, running from an Ubuntu live CD: cd /tmp wget ...
0
votes
1answer
84 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 ...
1
vote
2answers
430 views

DD the fastest way

I have this "disk list" table: /dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *16.4 GB disk2 ...
0
votes
1answer
42 views

'dd' command on Damn Small Linux?

I looked at the package list of DSL, and I don't see 'dd'. For example I would like to restore /dev/sdb from an .img file like so: dd bs=1M if=/home/myname/image.img of=/dev/sdb What command do I ...
0
votes
0answers
62 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
1answer
137 views

Hard drive checking by using of dd and md5sum tools

I bought new external USB 3.0 hard drive WD Elements 2 TB and decided to check it by using dd, head and md5sum tools. First I zeroed all hard drive: root@yurko-laptop:/home/yurko-laptop# dd ...
1
vote
1answer
143 views

What's the difference between dd's command options bs=1024 count=1 and bs=1 count=1024

Consider the following two commands both creating a dumb 1KB file dd if=/dev/urandom of=test.file bs=1024 count=1 dd if=/dev/urandom of=test.file bs=1 count=1024 The first command uses a block ...
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 ...
0
votes
1answer
142 views

Can I pause dd writing, remove the medium, mount it again and continue without causing I/O error?

I'm creating a compressed image of a laptop's internal drive into an external USB disk using a LiveCD GNU/Linux system. Also I use pv to monitor the progress. Here's how the command looks like: dd ...
0
votes
1answer
125 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 ...