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
3answers
19 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 ...
0
votes
0answers
24 views

Operation not supported

$ sudo dd if='/Users/nickzieno/Downloads/ubuntu-14.04.1-desktop-amd64.img' of=/dev/rdiskN bs=1m dd: /dev/rdiskN: Operation not supported I'm pretty sure everything is entered correctly and my disk ...
1
vote
2answers
36 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 ...
16
votes
6answers
2k views

How would I speed up a full disk dd?

I am doing a dd on two identical drives with this command: dd if=/dev/sda of=/dev/sdb bs=4096 Both hard drives are the exact same model number, and both have 1TB of storage space. /dev/sda uses a ...
0
votes
0answers
12 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 ...
0
votes
0answers
81 views

fallocate failed: Operation not supported

When running, fallocate -l 10G /path/to/file I'm returned the following error: fallocate: file: fallocate failed: Operation not supported Creating the file using dd (if=/dev/zero or ...
4
votes
3answers
3k views

How to recover data from a failing hard drive?

An external 3½" HDD seems to be in danger of failing — it's making ticking sounds when idle. I've acquired a replacement drive, and want to know the best strategy to get the data off of the dubious ...
1
vote
1answer
1k views

Trying to mount ddrescue image from a 1tb crashed ntfs drive

It was time, after 5 years my 1tb external drive with all of my family photos and all my music crashed. Stupidly enough, i did not have two drives in raid, which i will do in the future. I ...
0
votes
1answer
981 views

using the dd command to copy the content of a folder

I'm trying to use the dd command to copy the content of the folder boot0 to the my disks intial bytes. This is the command : sudo dd if=boot0/ of=/dev/sdb ibs=440 obs=440 count=1 But I get this ...
0
votes
1answer
34 views

dd confuses grub (and gparted)?

The initial problem was this: I wanted to test the installer I was creating for my app, but of course every time I run the installer it modifies the system, and I needed a way to reset the system to a ...
1
vote
0answers
40 views

Recovering harddrive after using dd [duplicate]

Ok, it was late last night and you know what happens when running sudo at that time...disaster. I ran sudo dd if=/dev/zero of=/dev/sdb bs=8k count=10k on two of my harddrives, both containing my ...
0
votes
2answers
44 views

File Permissions from .dd image

I am trying to access files from a .dd image made of my MacBook Pro. Not the complete disk with the recovery partition and everything, just the partition where my files are. I can mount it in Ubuntu ...
0
votes
0answers
86 views

Kernel panic error while installing Minimal CD

I recently created a bootable USB of Ubuntu 14.04 Minimal CD using the disk destroyer. When I boot, I have the options - Install, Advanced Install, Command Line Install & Help. Clicking on any of ...
0
votes
1answer
64 views

SD card Mounting Copying and file recovery

My micro sd card stopped being recognized by my win2008 computer after a copy paste failure (maybe the card was full? or the antivirus stalled it and now the MBR is corrupted?). Now I want to see if ...
1
vote
1answer
34 views

Why won't my system boot off of a partition that I just transferred the Ubuntu install image to using the dd command?

I have a drive that I would like to install Linux onto, for eventual use on another machine. I want to bring the Ubuntu installer image onto a 20GB partition, and then boot into that. When I boot ...
0
votes
0answers
29 views

When installing Ubuntu, can I use the dd command to copy the image to my 1TB hard drive for subsequent insertion into another machine?

Typically people are installing Ubuntu using a USB drive or burned DVD, but I don't have these. I would rather just go with installing to the destination hard drive itself, make it bootable, and ...
102
votes
10answers
78k views

How do you monitor the progress of dd?

dd is a wonder allowing you to duplicate a hard drive to another, completely zero a hard drive, etc. But once you launch a dd command, there's nothing to tell you of it's progress. It just sits there ...
2
votes
3answers
4k views

Mount sd-card image (created using dd)

I have created an image of my Raspberry Pi SD-card using dd: sudo dd if=/dev/sdf of=/home/myusername/raspberry-backup-2014-04-10.img The SD-card includes two partitions (one vfat, one ext4) which ...
2
votes
3answers
61 views

dd image size - does it equal the size of the partition?

I am using dd to create an image of my boot partition on Ubuntu 14.04. This is my first time doing this. In checking the usage on my disk, I used df -h. You will see that my /dev/sda1 partition is ...
2
votes
1answer
49 views

Trouble with simple script :(

Could someone please tell me why this script doesn't run correctly. Seems to be a problem with the if statement as i keep getting the error: /home/sinttx/Development/backup/ddbackup.sh: line 18: ...
24
votes
4answers
20k views

Mount single partition from image of entire disk (device)

I made an image of my entire disk with dd if=/dev/sda of=/media/external_media/sda.img Now the problem is I'd like to mount an ext4 filesystem that was on that disk but mount -t ext4 -o loop ...
0
votes
1answer
53 views

How to create backup image of clean Windows partition without using dd?

I would like to create image of my fresh Windows 7 partition (with drivers and updates only). It occupies 'only' about 35GB of my 250GB partition, so I'm searching for alternatives to dd because I ...
16
votes
4answers
21k views

How can I know how long `dd` cloning will take?

I have to dd a couple of 1TB hard drives. They are taking several hours to clone and I was wondering if there was any way possible of knowing how fast they are going, how much they have done and how ...
9
votes
10answers
16k views

How to clone to a smaller harddisk?

How to clone a harddisk to a smaller sized one. Clonezilla is great but it doesn't support such functionality. Also dd and PartImage don't support this demand. rsync will not copy the MBR since an ...
0
votes
1answer
77 views

After rescue with `dd` - what to do?

I have an external that very suddenly conked out on me. It might not be in horrible shape, although I can't be sure. I just tried to recover it by using ddrescue, straight to a big partition. sudo ...
5
votes
1answer
22k views

How do I use dd to clone an external USB drive installation to a local hard disk?

can I use the dd command to clone my ubuntu installation from my external disk to my local hard drive. will it even boot? I think I can, but not sure. do I need to make the output partition on my ...
0
votes
2answers
62 views

Using dd and an sdcard

I had Ubuntu 14.04 running sweetly however when installing an IMG to an SD card for a raspberry pi like so: dd bs=4M if=2014-06-20-wheezy-raspbian.img of=/dev/mmcblk0 My beloved Ubuntu now boots ...
2
votes
2answers
247 views

Can I cancel dd command and rebuild partition table?

I am attempting to fix the partition table on a 1 TB hard drive. GParted on my live disk sees the drive as being "2 TiB"... It is clearly labelled as 1 TB on the outside. I started a low level ...
0
votes
2answers
79 views

Creating a large size file in less time

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 ...
6
votes
3answers
13k views

is DD taking too long?

I set up dd to clone a smaller system 40.00GB hard drive (/dev/sda) to a new bigger 111.00GB one connected via a USB reader (dev/sdb) and Its been going for two hours now. The activity meter on the ...
1
vote
0answers
43 views

boot issue after cy with dd command (error : file '/boot/grub/i386-pc/normal.mod' not found)

I'm running Ubuntu through a 16GB USB having one partition for the OS and one dedicated for swap and all is working well. I wanted to make a copy of this usb key to a 32Gb key to increase the ...
1
vote
2answers
286 views

Issue creating bootable USB using dd command

It's a while that I'm trying to create a bootable USB drive with a Windows on it. I first tried with Unebootin unsuccessfully, I reckon the reason is the fact that the last version doesn't support any ...
0
votes
1answer
157 views

Backing up a HDD using dd

I'm trying to install Linux Mint alongside Windows 8 on my laptop, but the install disc did not recognize Windows, so I'll have to do a custom install, which is something I've never done, and I want ...
0
votes
0answers
35 views

flash disk not mounted in ubuntu 14.04

I am new to Linux and I have installed recently ubuntu 14.04. I have an .img file of 2GB and I want to make my flash disk bootable with this image. I used the command: dd if=xxx.img of=/dev/sdb1 ...
0
votes
2answers
1k views

How can I clone a hard disk to a smaller SSD?

I have a hard drive in my laptop with a windows and an ubuntu partition. I got an SSD to replace my hard drive, but it has a slightly lower capacity. I've already partitioned the SSD to the sizes I ...
0
votes
2answers
568 views

how can i recover a raw iso file to a partition?

Well! I made a ISO file from a USB with dd command, like this way! sudo dd if=/dev/sdc1 of=/var/isos/hbcd.iso conv=noerror My USB had a fat32 file system I tried recover with next commands sudo ...
0
votes
0answers
426 views

dd command not working properly in ubuntu 14.04

I have been using dd command to write an image file to my USB drive. After installing Ubuntu 14.04, the image is not getting written properly. The same image, which was written using another machine ...
0
votes
0answers
18 views

How do I 'dd' Backup my Surface?

I like using dd imaging for all my new devices. How do I dd backup my Surface? On my laptops all I did was: F12 > Ubuntu Live on a Usb Memstick > sudo -i ; sudo dd=if=/dev/sda bs=9999k ...
0
votes
1answer
311 views

Trusty - whole disc copy using sudo dd .. of=/dev/disk/by-id/xx does not write

I want to move failing hdd into spare using dd. All goes well usind if=/dev/sdc of=/dev/sdi for example, but I tried to use serial number of hdd to avoid messing the things (well the mistake would be ...
1
vote
2answers
1k views

Cloning dual boot drive

I would like to make an exact copy of my old 250 gb HDD (not installed), and clone to a new 240 gb SSD (installed). The old HDD is dual booted with equal partition scheme, rEFIt booting OSX Snow ...
1
vote
1answer
2k views

steps to create DD image file from usb and restore image to a DIFFERENT usb

I have successfully (file created, ubuntu does NOT issue any error messages) created an image from an entire persistent ubuntu live usb.(sdc1) - the file ubuntu1.img is 4.3gb so it is reasonable to ...
0
votes
0answers
25 views

Use dd from VirtualBox to external HD?

I want to clone my VM Oracle to a another/external HD in my computer. My VM is a Ubuntu 14.04, and I want to use dd command in a external HD. Is possible? When o use # fdisk -l appear just the ...
3
votes
3answers
128 views

Syncing dm-crypted drives?

I have 2 usb sticks, 8GB each: usb1 = /dev/sdb usb2 = /dev/sdc usb1 is a full dm-crypted drive and I am currently using usb2 as a backup, just incase usb1 fails. I am cloning usb1 to usb2 using ...
0
votes
1answer
711 views

No such file or directory error on DD commands

I'm trying to run DD commands to fix a cell phone issue in Ubuntu 14.04. I'm running Ubuntu from a DVD side-by-side with Windows 8 on a 64 bit machine and have automount disabled. For example when ...
0
votes
0answers
28 views

What is the proper way to move from a SCSI drive based install to a virtual machine (mulitple partitions & software raid)?

I realize that many of the individual things that I am asking have been covered to varying degrees, but I am the unfortunate inheritor of this very goofy system that is on it's last legs. It consists ...
1
vote
3answers
4k views

I use dd to backup my ubuntu, but the backup image is too large

I use the command dd if=/dev/sda | gzip > /media/test/system_backup.img.gz to backup my disk. But the system_bakcup.img.gz is up to 5GB, and when I compress this file, the system_backup.img is only ...
0
votes
1answer
94 views

I executed 'dd' on my /dev/sda and now I get “unknown filesystem” error

Yes, I know this error has been answered and solved many times; but I think I know the reason why this is happening (my bad), I just don't know how to solve it. I was formatting and flashing some USB ...
1
vote
1answer
114 views

Raid10: how to tell which disks are in mirror?

When I do "cat /proc/mdstat", there seems no such information as to tell which disks are in mirror. % cat /proc/mdstat md126 : active raid10 sda1[0] sdd1[3] sdc1[2] sdb1[1] ... near-copies Thanks ...
1
vote
1answer
65 views

Cloning a USB stick

make a dd backup of the dm-crypt usb and rest the test the backup I know I can make a copy of a usb stick using the following sudo dd if=/dev/sdb of=~/USB_image and then restore it using ...
2
votes
1answer
54 views

How to restruct RAID 10?

We would like to alter the partition without losing data. Here is the sketch of the plan. I am wondering if it is doable using mdadm; and if so, please kindly point some reference on how to carry out ...