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

learn more… | top users | synonyms

-3
votes
1answer
24 views

How to fix the checksum on Kali Linux 2.0 light? “No DEFAULT or UI configuration directive found!” [on hold]

I have a Toshiba Satellite L300 with multiboot, Win7 Enterprise 32bit, and Ubuntu 14.04 LTS 32bit. Already tried to make a bootable Kali on a 8Gb usb drive with various methods on both OS. On Win7 I ...
1
vote
0answers
15 views

Using zenity progress bar with bzcat to dd copy

I know there are ways to add a progress bar to dd, but I can't seem to get anything to work with my specific situation. Here is what I have so far: bzcat /file/path/goes/here.dd.bz2 | pv -n | dd ...
1
vote
2answers
47 views

How to dd from smaller SD to bigger?

I run out of memory (8GB) in one system, and I need to move the existing system to bigger memory (16GB). Details /dev/disk4s1 is the input i.e. from where I want to get the data /dev/disk2s1 is the ...
0
votes
1answer
27 views

Recover drive from corrupted `dd`

Two years ago I took my hard drive and zero-d out the drive using dd. However, I was a little impatient so I cancelled out the process and restarted the computer. The result is that I got an ...
0
votes
3answers
53 views

Use DD to clone only Linux partition to external USB drive?

I have a 1 TB internal drive that has two 1/2 TB partitions, one for Windows and the other for Ubuntu 14.04 LTS. The station has become primarily a Linux station and I never boot into Windows ...
0
votes
0answers
60 views

“isolinux.bin missing or corrupt” when trying to boot 16.04 from USB

I wiped my USB drive using GParted and then installed the Ubuntu 16.04 ISO to the drive using Disks (gnome-disks) by selecting the "Restore Partition Image..." option and then writing the ISO to the ...
-1
votes
0answers
23 views

How can I get ``dd`` to skip unallocated space?

I'm virtualizing my current install before setting up 16.04. Manually backing up and eliminating what I could, my current partition table looks like this: /dev/sdb1 fat32 EFI Boot ...
0
votes
1answer
31 views

What is the format of .img files created by gnome-disk-utility?

In the built-in "Disks" tool (gnome-disk-utility), I am given the option to back up a partition with the "Create Partition Image..." option. If I select this, I am prompted for a filename, which has ...
0
votes
0answers
49 views

Writing ubuntu img to USB using dd results in corrupt primary GPT header

I have a 64GB USB 3.0 drive that I plan on installing bootable operating systems to for sysadmin purposes. My primary operating system is Mac OS X 10.11. I have a copy of ...
3
votes
3answers
52 views

how do i make shell ask for confimation for rm -rf command (even sudo)?

I want to make the command shell to prompt me for confirmation before execution of certain commands like dd , rm -rf etc.
0
votes
0answers
12 views

Why Live Ubuntu terminal freezes at the end of disk cloning?

I had taken Ubuntu whole disk backup using dd command as: $ sudo dd if=/dev/sda* of=/dev/sdc* bs=512 conv=noerror,sync where /sda is computer harddisk and sdc is External Backup USB drive. Later I ...
1
vote
0answers
371 views

Ubuntu 16.04 not booting from USB

I tried to create a bootable USB for Ubuntu 16.04. When booting from the USB I only see a black screen with a blinking cursor though. Here are the different attempts I've tried: Download the Ubuntu ...
0
votes
1answer
31 views

is my flash drive broken?

I have usb flash drive which is not recognized when plugged in two of my pcs . Here is what happens when i plug the drive: [ 1809.142270] usb 2-3: New USB device found, idVendor=058f, idProduct=1234 ...
0
votes
1answer
24 views

dd command failed!

I have a peculiar problem. I had a blackberry I used to encrypt the files and now I can't seem to remove the (encryption) password from the card. It always asks for the password when I put the card in ...
0
votes
1answer
17 views

Cutting out using DD command

I need to cut out a partition, using DD command. How do I achieve this? In my case I need to copy from block 205267 to (including this block) 29311545. The blocksize is 512 Bytes.
0
votes
0answers
19 views

I broke /dev/sdb, after copy MBR from /dev/sda

I've used this command: sudo dd if=/dev/sda of=/dev/sdb bs=512 count=1 After system reboot, there are grub errors, and I can't login to root, only guest, and /dev/sdb can't load on grub. I have ...
1
vote
1answer
49 views

Gdiskdump does not show harddrives, only partitions

I can see partitions but not even one harddisk. How can I see my harddisks and clone them?
0
votes
1answer
36 views

What is the difference in using cp and dd when cloning USB sticks?

I found that there are at least two methods to clone a USB stick: (with /dev/sdb as the source while /dev/sdc the target) Cloning with cp: sudo cp /dev/sdb /dev/sdc Cloning with dd: sudo dd ...
-1
votes
4answers
97 views

dd command 'no such file or directory'

I am trying to put a .img file onto a sd card to later put onto a raspberry pi. I run the following command dd bs=4M if=~/Home/Downloads/kali.img of=/dev/sdb and the following result puts out dd: ...
0
votes
1answer
46 views

Can the dd command be used to copy clone only certain folders?

I have a failing hdd, all I need from there is my music and movies folder, I have managed to copy all the other files from the failing hdd. But when I try to copy the above 2 folders, I get read ...
1
vote
2answers
81 views

How to clone entire hard-disk into new one?

I was use dd command to copy my 500GB hard-disk into my new 1TB hard disk. After 9 hours system display message everything was successfully copied but I can't display any data into my new hard disk. I ...
0
votes
1answer
77 views

Not able to successfully flash Snappy Core image to BBB eMMC.Image too large?

I have tried several different methods, including the Feb 15 posted instructions by brechtvc. Every time, I have a space issue with the eMMC. The latest terminal output, using the brectvc method is: ...
15
votes
4answers
2k views

Moving entire Linux installation to another drive

I have Ubuntu 14.04 with a lot of packages and work related stuff that I am very happy with it. It is installed on my main SSD drive which is a 120GB one (I had choosen "/" when I installed ubuntu, so ...
0
votes
0answers
47 views

Unable to mount root filesystem after cloning volume with dd

I am trying to clone a Ubuntu install on an 8GB SD card. I created an image of the volume using dd, then copied this image onto another SD card using dd again. The SD card contains 2 partitions: a ...
0
votes
1answer
66 views

Create a bootable USB from iso file in Linux [duplicate]

Do you want to write your favorite Linux-iso to a USB-stick? Are you confused by all the forum posts on the internet? Below is the quick and mostly fail safe way to do it.
0
votes
2answers
85 views

Flash drive's capacity drastically reduced after dd [closed]

I'm currently using Xubuntu 14.04.4. I used the dd utility from a terminal to write a Debian ISO image to a flash drive (/dev/sdb). This is the command I used: sudo dd ...
0
votes
1answer
39 views

Why must partition be unmounted before dd?

Why must partition be unmounted before using dd? For example, for copying an iso to a flash drive, we have to unmount the drive before we use dd. I've seen many places tell me to do this but never ...
2
votes
0answers
168 views

How to upgrade coreutils from 8.21 to 8.24 in Linux Ubuntu 14.04?

I want to use the 'progress' status option with dd which is available with coreutils 8.24 up. Ubuntu 14.04 (Trusty) has coreutils 8.21 and the current (stable) release for coreutils is >8.24. I wish ...
0
votes
0answers
23 views

Cloning SD Card Problem

After Cloning a 32GB to 32GB in Ubuntu using dd the cloned one will not mount. Any help would be appreciated.
0
votes
1answer
89 views

flash drive at half capacity after 'dd image' format

Yesterday, I wanted to try out Ubuntu, so i torrented Ubuntu 15.10 (I got the torrent file from ubuntu.com) and I used Rufus to format my 32gb flash drive. it then said that it had to "dd image ...
0
votes
2answers
116 views

Is there a faster way to erase a pen (USB) drive using dd command? [duplicate]

I am using the dd command to erase a pen drive with this: sudo dd if=/dev/zero of=/dev/sdd bs=4k && sync where /dev/sdd is the designated device. The pen drive is 16GB in size and this ...
1
vote
1answer
54 views

Accidentally Wiped Root Partition - System Still Running

Alright, this is one of those times when I am are saying... Breathe deep, don't panic. What happened? As a usual part of leisurely tinkering with my system, I was trying write a 24.5 MB img file to ...
0
votes
0answers
48 views

Ubuntu losetup command does not mount the image of sd-card

I have used the gdiskdump tool to create a dd image of my 2gb sd card. And used losetup command to create a loop-back device. Usually when i used only dd command from terminal, and then used losetup, ...
0
votes
2answers
43 views

How can I efficiently format my Ubuntu Live USB to a FAT32 partition?

Consider the following situation: $ sudo fdisk -l [sudo] password for user: Disk /dev/sda: 320.1 GB, 320072933376 bytes ------------%<----------------------------- Disk /dev/sdb: 160.0 GB, ...
1
vote
1answer
154 views

Format usb linux Western Digital external disks

How can I format an external USB drive? I have a Western Digital external usb which adds automatically a virtual read-only CD partition which prevented me to run the standard ways to format a disk. ...
3
votes
0answers
76 views

How to recover my files after executing “dd” [duplicate]

I switched to Ubuntu, someone helped me migrate from Windows to a machine with Ubuntu installed. Someone recommended this as a tip via e-mail: This will double the speed of your computer: sudo ...
3
votes
0answers
302 views

How to use a `dd if=/dev/sda of=/dev/sdb` drive?

Given: a sudo dd if=/dev/sda of=/dev/sdb duplicate drive of the main boot drive. How does one safely, reliably : mount a dd duplicate drive as a second drive? setup the dd duplicate drive as ...
1
vote
1answer
202 views

pv permission denied, but dd works without error [duplicate]

pv is program running above dd. I am cloning my old HDD onto new SDD I bought. It's 500GB of data. I tried to run the following command to copy sda to sdb: ubuntu@ubuntu:/$ sudo pv < /dev/sda > ...
0
votes
1answer
18 views

Move partition from ssd disk to pendrive

I have a 128 GB SSD. There is one partition: sda1 - 12 GB. I tried to move this partition to a USB pendrive. The pendrive is 16 GB in size. I booted from a live medium and ran: dd if=/dev/sda1 ...
1
vote
2answers
2k views

Why is the sync option used with the `dd` command?

Following instructions on this page, the page showed a dd command and a sync option at the end. The command is the following: xzcat ~/ubuntu.img.xz | sudo dd of=/dev/sdX bs=32M sync I know what is ...
0
votes
0answers
33 views

dd status=progress how to use properly [duplicate]

I am trying to see the status of the dd command with this option "status=progress" but it says that it's an invalid status flag. dd if=example.img of=/dev/sdb bs=512 conv=noerror,sync ...
7
votes
4answers
1k views

Format usb and confirm all zeros

I want to format my usb drive and confirm that it has been filled with all zeros. For formatting this is the command I am using: sudo mkfs.vfat -I /dev/sdb How do I confirm the device is filled with ...
-4
votes
2answers
206 views

Why is the dd comand failing to open and/or unable to find my raspian.img file?

Noob here, first post. I'm running Ubuntu 14.04.2 amd64. I want to flash raspian onto an 8GB microsd card. I have been unsuccessful. The command I entered is: sudo dd ...
1
vote
0answers
39 views

How to backup the first 3 of 5 partitions

I'm figuring out how to backup the first 3 of 5 partitions, in order to be able to restore them in case of disk failure or in case I messed up my system. Partition 4 and 5 are setup in RAID 1 ...
0
votes
0answers
23 views

Im having troubles making a boot drive

I'm wanting to dual-boot with arch. I type dd if=home/user/2f872866ca6b57c77dfd5ba6635b835cab67f2f9/Downloads/archlinux-2015.10.01-dual.iso of=/media/removable/UNTITLED oflag=direct bs=1048576 it ...
1
vote
0answers
112 views

Change filesystem blocksize when installing 15.10

so, I'm very much out of my depth in the whole world of *nix here. I'm searching all over about file system block sizes, and I found this script which determines what I can tell are read-speeds with ...
1
vote
0answers
68 views

How to recovered destroyed partition(dd command)

So I have been using a ubuntu livecd to help backup my windows os that won't start. I used the sudo dd if=dev/sda4 of dev/sdc1 accidentally and OVERWROTE the whole 700gig external hard drive and it ...
0
votes
0answers
49 views

dd read errors on /dev/sr0

I have a problem with my dvd drive, which seems like a hardware issue to me, as I have tried several things and I can't properly read my DVDs. However, I want to ask if anyone has seen similar issues ...
0
votes
0answers
113 views

V2P for a Vagrant VM results in “wrong fs type, bad option, bad superblock”

So I have created a Vagrant VM and ran it in Virtualbox which worked fine and I would like to turn into physical machine. Reason being that I want the OS to run on a different computer remotely so ...
0
votes
2answers
181 views

Alternative to backup hdd with dd

I want to backup my os disk, I have several os and would love to dd my whole disk dd if="/dev/sda" | gzip | split -b 1000MiB - "/media/.../backup/us.bin.gz." but it takes to long and backups are ...