dd is a common Unix program whose primary purpose is the low-level copying and conversion of raw data.

learn more… | top users | synonyms

1
vote
0answers
46 views

resize2fs: Invalid argument while trying to resize /dev/sda1 (dd problems)

I was attempting to copy my Ubuntu installation to a larger HDD following this guide with the dd command. The guide says: "It's recommended you dd to an identical partition for optimal results." ...
0
votes
0answers
52 views

Format Nokia encrypted micro sd card

I have a micro sd card. I formatted with my old Nokia 2600C mobile phone. The problem is that I have forgotten the password and I don't own the phone any more. So, now I'm trying to format the micro ...
2
votes
3answers
1k views

Why can't Mint boot my cloned Ubuntu partition? (UUID issue)

I've been running Ubuntu 10.04 and just installed Linux Mint 13. I may go with Linux Mint full-time, but for now I wanted to install it to the first partition, but keep Ubuntu bootable. Device ...
0
votes
0answers
21 views

mounting complex ddresuce image

I cloned a disk using ddrescue and got below result by executing mmls. mint@mint ~ $ mmls test.img DOS Partition Table Offset Sector: 0 Units are in 512-byte sectors Slot Start End ...
2
votes
1answer
54 views

1:1 Backup of System on USB Thumb Drive

I installed Ubuntu 12.04 from a USB drive to a USB drive (16 GB) and configured it to my needs. Now I'd like to have a 1:1 backup of the system on the USB drive and was wondering on how to accomplish ...
0
votes
2answers
134 views

Problem with creating a bootable USB stick on OS X?

I have followed the guide from http://www.ubuntu.com/download/help/create-a-usb-stick-on-mac-osx and then at step 8, which is "Execute sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m", I get a ...
2
votes
0answers
47 views

How to fix HDD after doing a dd cloning

So yesterday I received a HDD that was used for cloning, the whole thing went like this: An HDD of 1TB which had 120GB used was resized to 140GB. After that they did the following: sudo dd ...
10
votes
3answers
6k 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 ...
14
votes
5answers
3k 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 ...
3
votes
1answer
119 views

How to recover from wiping by dd a partition table on external disk?

Yesterday I used dd to write an OS into my Raspberry Pi flash card. Even though all my commands ( I checked history ) were for /dev/sdd which was the flash , when I checked my external drive(500GB) ...
2
votes
1answer
64 views

Ubuntu hdd not correct size

I am running ubuntu 12.04 64bit. I used the dd command to clone my 80gb drive (filesystem) to a clean 500gb. It worked flawlessly. Afterwards , I took out the 80gb and replaced it with the new 500gb. ...
0
votes
1answer
537 views

Backup recovery partition of windows 8 in GPT

My friend have acer Laptop which had windows 8 pre installed and a recovery partition(SDA 7). He want to use only windows 8 but wants to make a backup of his recovery partition(sda 7) since "recovery ...
0
votes
1answer
554 views

How do I fix an Input/Output error using dd?

Hi i'm Trying fixing my Windows 7 system with a broken harddrive, but it's still running. I'm trying copy all data to a new drive to reinstall Windows 7. Drive called SQSERVICE. I can't copy at all ...
0
votes
0answers
215 views

How to resolve dd failure with Input/output error on multiple CD-Rs?

When trying to make .iso images of CD-R's I get the following error with always the same number of records regardless of what's on the CD-R. The CD-R is a VCD and plays just fine in VLC. ...
2
votes
1answer
42 views

Insufficient privileges when piping with sudo [duplicate]

I'me using ubuntu 12.04 lts on usb live stick for backup purposes of my ubuntu hd-installation before updating system. The backup usb-hdd is automounted when hotpluged, it gets something like ...
0
votes
1answer
86 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
36 views

Ubuntu recover with photorec

This morning I must have been very tired, because I was thinking of "dd" sabayon to a flash drive and use it later. I have been using the wubi installer a lot, and I use win8 normally on the ...
2
votes
5answers
2k views

Move ext4 partition

I have an ext4 partition at the end of an hard drive, and want to resize it to the full disk size (the rest of the disk is empty). It's not the root partition, just a data partition, so it's no ...
0
votes
2answers
89 views

How do I troubleshoot this dd error when copying image to SD card?

I'm trying to follow the instructions in this answer on how to copy the Ubuntu image to an SD card for the Raspberry Pi. I get the following error using the imagewriter application: Trying to ...
1
vote
1answer
124 views

Is my command to clone a drive optimal?

I have done half an hour reading around to prepare to clone my hard drive. It has multiple partitions, including a Windows partition. I am going to buy a very large external hard drive for the ...
0
votes
1answer
39 views

RAID 0, new drive mirroring issues

Here's the run down: We have a 2 disk RAID 0 array. One of the drives failed and the other is marked as depreciating. We aquired a new drive, same specs as the old. To our thinking we simply replaced ...
9
votes
5answers
992 views

Is there a way to recover files from a storage device partially overwritten with dd?

I'm an idiot, I was writing an image to a USB drive using dd when instead of typing /dev/sdb I typed /dev/sdd and wrote the 135mb image to my 750gb External Hardrive full of files. Is there ANY ...
6
votes
3answers
464 views

Burned CD-R are not identical to the input iso image, why?

I have the issue that sometimes when I burn an iso image to a CD-R with: sudo wodim -v driveropts=burnfree -data dev=/dev/scd0 input.iso And then read it back out again with: sudo dd if=/dev/cdrom ...
0
votes
1answer
57 views

How do I extract the contents of a partition backup done with dd?

I did a partition backup using dd and produced a .bin file. How do I extract the contents of it? I would like to extract the contents to a folder say ~/Test
-1
votes
1answer
227 views

Can't use LiveCD to access corrupt hard drive

I have a hard drive with 15 bad sectors. I'm trying to rescue the files with the latest Ubuntu LiveCD, but the filesystem errors prevent the filesystem from being mounted correctly. I'm hoping that ...
2
votes
1answer
141 views

Using the dd command on external hard drive with partitions

I want to write a .raw file to the first partition of my external drive. I tried: dd if=file of=/dev/sdb3 but it didn't give me a bootable drive since the correct command should had been: dd if=file ...
0
votes
1answer
308 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 ...
3
votes
1answer
190 views

How to make DD make a copy of my iPod's harddrive into my computer?

I'm trying to do this, I'm sure you don't wanna read all that then I'll make a resume on it: A file was accidentally deleted on a iPod4, I need to recover it and I've been able to do all the process ...
1
vote
0answers
184 views

How to move ubuntu 12.04 on another drive

How I can move my ubuntu on another drive? I know about clonezilla but problem is that destination drive is smaller the source one. Gparted can't copy-paste partition if destination not the end last ...
1
vote
1answer
82 views

What's the meaning of: /dev/rdisk0s1 and /dev/rdisk0s2s1?

I'm trying to use SSH to make a disk image by using DD on an iPod. And I'm using this commands: ssh root@192.168.1.100 dd if=/dev/rdisk0s1 bs=1M | dd of=iphone-root.img ssh root@192.168.1.100 dd ...
2
votes
1answer
92 views

Is it possible to use DD to obtain splited images from a hard-drive?

My piano teacher asked me to record one of his recitals with his iPod (3-4 generation, not so sure) and I did it. While trying to edit it, he accidentaly deleted it, I'm trying to recover. After some ...
1
vote
1answer
89 views

Iso size versus Disk size

Hi guys I have a curiosity. Some days ago I installed an ubuntu on a flash disk. Then I took an image of its ext4 and swap area via dd. However, after a while I decided that I should move this ubuntu ...
2
votes
2answers
452 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 ...
10
votes
3answers
230 views

Could it be possible to make a hot copy of a system?

I'd like to backup my system without turning it off. The system clone should also able to run in an other machine. I've tried to "dd" the entire system partition on another disk, after that I'm ...
8
votes
1answer
3k views

What's the difference between ddrescue, gddrescue, and dd_rescue?

The dd command is commonly used to make image backups of a drive or partition. However, it performs poorly if the source drive is unreliable or failing. I read that ddrescue/dd_rescue is a good tool ...
0
votes
2answers
103 views

Couldn't find package dd [closed]

I have run sudo apt-get update and upgrade, but apt-get install dd fails as above. I am using Xandros on a asus eeepc.
4
votes
1answer
851 views

Copying root partition and /home to a new larger hard drive

I am getting a larger hard drive and would like to copy root directory to it. The partition for root is 20G. I would like to make it larger on the new drive. I also would like to copy /home to a ...
6
votes
3answers
1k views

Drive reporting incorrect free space

So I swapped my shiny SATA SSD for an even shinier PCI-E SSD. I run my core OS on the SSD because it's silly-fast. I did this on my old SSD so I created a new EXT4 partition and then just dded the ...
2
votes
1answer
1k views

When cloning ext4 partition with the “dd” command to a bigger partition free space doesn't increase [duplicate]

Possible Duplicate: Drive reporting incorrect free space Recently I've been trying to clone my hd using dd tool. Everything was ok, as cloning ntfs partitions but when it comes to ext4 - dd ...
2
votes
4answers
1k 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 ...
4
votes
1answer
4k 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 ...
1
vote
1answer
292 views

How do I create a dd image of multiple filesystems in Xubuntu 12.04?

I have four filesystems with various samples files on them that I want to combine into a single dd image, how would I do this using dd? Should I be using something else other than dd? Thanks.
0
votes
0answers
258 views

How do I use dd to write a bootsector to a flash drive?

I developed a bootsector and I tried to use dd to write the data. This resulted in the corruption of files and I had to reformat my entire flash drive. This bootsector was designed for FAT32 in mind. ...
0
votes
0answers
233 views

HELP! Deja Dup restore problem

thanks to a typo I made in dd, I messed up my secondary drive. Did all the checks, the drive is fine; but restoring my data from a Deja Dup Backup turns out to be more problematic. I have just ...
0
votes
2answers
88 views

Want to back up using dd, but my present ubuntu installation is 149.04 + 3.81(swap) GB, my target drive is only 149.05 GB

My netbook is a Windows7-Ubuntu 12.04 dual boot. in gparted the strcture looks like Partition filesystem size /dev/sda2 extended 152.86GiB __/dev/sda6 ext4 149.04GiB __/dev/sda5 ...
6
votes
1answer
5k views

Why dd is not a reliable command to write bootable .iso files to USB thumb drive?

As the answers here indicate Ubuntu .iso s are not expected to boot if copied with dd to a USB thumb drive. Now my question is why is so that some Linux distributions have the option to directly write ...
3
votes
1answer
3k views

How to create a complete recovery Image for my new netbook

I just got a new acer netbook, it comes with windows 7. I wanted to know how I could create a recovery image using tools like dd. I want to know what command creates the exact backup of the hard disk ...
0
votes
1answer
1k views

Update MBR of new drive after cloning

I just cloned the Linux partition of my laptop to be used on the desktop. However, this was just a straight DD execution, and the MBR of the new drive is not affected. How can I change the new drive ...
1
vote
1answer
4k views

How to write image to SD card

I am following the RidgeRun documentation: How to boot a board from a SD card. I disable Nautilus from auto-mounting file systems to avoid a possible race condition and build the SD card image. I am ...
3
votes
3answers
1k views

Can't boot after a dd, BIOS reports no bootable drives

I bought a new computer, removed the Windows disk (as usual) and installed 2 brand new 3TB drives. Installed 11.10 from USB stick, apt-get updates and favorite installs, everything was fine. Then I ...

1 2