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
19 views

Restoring backup from dd image has really weird results

I've been using Clonezilla for weekly image backups, which is obviously a little bit of a hassle. I've been trying to switch to dd, so I can have cron run it for me. This is what my backup script ...
1
vote
0answers
17 views

dd: Trying to recover my file system

ubuntu: 14.04 By mistake I ran the following command dd if=/dev/zero of=/dev/sda2 bs=1024 count=1 and now grub is unable to recognize file system and so the linux is not starting. I think I have ...
0
votes
2answers
46 views

USB drive doesn't auto mount

I was trying to create a live USB on my Ubuntu 14.04 system using the 'dd' command. After this operation, on inserting the USB stick, the device does not mount automatically as it used to get before. ...
0
votes
1answer
33 views

Copying files from hard drive to external hard drive, GPT Partition got in the way

I am trying to copy files off my laptop to an external hard drive because Windows is corrupt, and I need to reinstall it. I was going to use dd, but when I start the process ...
3
votes
2answers
55 views

GPT PMBR size mismatch after dd clone

I am migrating my Ubuntu EFI boot system to a larger hdd. I used the command dd if=/dev/sdb of=/dev/sda I did not dismount the inputfile before copying and the outputfile was fresh unpartitioned ...
0
votes
0answers
27 views

How to convert a file to a block device?

When I backup a partition with: dd if=/dev/sda2 of=~/sda2 bs=512 I can still mount it using mount ~/sda2 /mnt But what if I backup the whole disk? dd if=/dev/sda of=~/sda bs=512 I can't just ...
0
votes
2answers
31 views

Copy system to new fresh install

I want to wipe my entire hard drive and install a fresh dual-boot Windows7/Ubuntu system, but want to put the entire Ubuntu system as it is now back onto it. The install is located at /dev/sda10. I ...
2
votes
2answers
115 views

Is there a faster way to only occupy disk space than dd [duplicate]

In order to test that our systems correctly detect that they are running out of space, we just need large files on the disk where we do not care about their content at all. At the moment we use dd ...
2
votes
2answers
94 views

GZip of drive image created by using `dd` command

I created yesterday a drive image using GZip. I opened the 51.3 GiB file named ssd.img.gz to see one icon thats a package of 3.9 GiB, yes, thats THree point Nine Gigabytes in size and has the name of ...
4
votes
1answer
93 views

How do i avoid starting dd over again after a system freeze?

Some days ago I decided to wipe my 750 GB hard disk in order to sell it, so I booted Ubuntu off a live DVD and started the process with sudo dd if=/dev/zero of=/dev/sda. I left dd running during the ...
1
vote
1answer
54 views

Disk image, partitions selectively, all this using dd [closed]

Start point situation: HDD with MBR scheme, four primary partitions, one of them is Windows XP system and boot partition. Remaining partitions are used for plain user data files. This formatting was ...
2
votes
1answer
130 views

How to archive dd output directly possibly without using any compression?

It has been determined already (see this question ) that tar cannot archive a file reading the file itself from stdin. How could a dd output be archived directly, possibly without using any ...
0
votes
2answers
49 views

cloning several hardrives using the dd command

I'm developing a software to clone one hard-drive onto several other. I want to clone the content to up to 23 drives at once using dd to clone the partition from the source to the targets using sudo ...
1
vote
1answer
135 views

How to use the dd command to copy an .img file to an SD card?

I've been trying to use the dd command to send an .img file of mine to a partition on my SD card. The command is: dd if=/dev/sda6/media/david/desktop/stellar-unbrick.img of=/dev/sdb1 Unfortunately, ...
1
vote
1answer
61 views

Can not unlock from and lock to Launcher

I just use dd -ip /dev/sda -op /dev/sdb to clone my old disk to new disk, and boot from my new disk. All the things remain the same except that applications in Launcher changed back to default. Why? ...
1
vote
1answer
62 views

How do I DD backup the Microsoft Surface onto a Image file? Has anyone done this and restored it successfully?

I normally back up my PCs with a disk dump. Its effective but slow, but required for us. I usually do something like this: dd if=/dev/sda bs=512k of=/mnt/MyUsbStick4TB/BackupOfMyCDrive_sda.dd Can ...
0
votes
2answers
44 views

Harddrive replication without *full* dump (dumping partitions is OK)

Today, I bought a second server almost identical to my first one (I guess). Specs (processor model, RAM, HDD) are the same. But I failed to copy the disk of the first one to the second one. It didn't ...
-1
votes
1answer
32 views

Lost Harddisk data after creating Bootable disk with it

Today, I tried creating bootable disk(on external harddisk) in ubuntu using the below dd command and it erased all my harddisk's data. dd if=<source> of=/dev/sdb1 bs=<byte size>; sync ...
0
votes
0answers
22 views

SD card image library manager

I'm currently playing with lots of SD cards for various raspberry pi's and I'm looking for a program I can use to take backups of them, store them on my desktop, and write them back to cards when ...
0
votes
2answers
82 views

Trying to use dd to write an iso to a usb stick to be used in Windows 7

I have a Win7/64 laptop without a DVD drive, and a copy of Office on a DVD I'd like to install. I figured I could use another machine running Xubuntu 14.04 to make an ISO of the disk, write that ISO ...
0
votes
3answers
113 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 ...
1
vote
2answers
267 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 ...
0
votes
0answers
68 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
1answer
549 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 ...
0
votes
1answer
52 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
41 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
81 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
2answers
103 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
46 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
44 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 ...
2
votes
3answers
117 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
54 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: ...
0
votes
1answer
103 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 ...
0
votes
2answers
109 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 ...
18
votes
6answers
6k 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
2answers
90 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
540 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 ...
1
vote
0answers
59 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
742 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
2answers
172 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 ...
0
votes
1answer
350 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
43 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
0answers
626 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
23 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
540 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
1answer
4k 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
31 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
140 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 ...