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
0answers
22 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
50 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
10 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
151 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
23 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
23 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
13 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
15 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
39 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
31 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
71 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
37 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
68 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
65 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
1k 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
38 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
63 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
68 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
38 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
145 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
21 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
72 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
109 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
51 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
46 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
41 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
144 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
268 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
179 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
1k 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
32 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
175 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
36 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
99 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
61 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
44 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
110 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
171 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 ...
13
votes
1answer
721 views

Does dd act at the filesystem level or go to the raw device directly?

Does dd act at the filesystem level or go to the raw device directly?
1
vote
1answer
58 views

Is it possible to UNDO a (failed) partition cloning made with the dd command to an external hardrive?

Yes, the old story: Trying to create an image of a partition to save in a different location... the accident is/was cloning to an external drive instead of the intended location and now the external ...
0
votes
0answers
62 views

How to decrease dd output size via defragmenting and zero fill empty space

I want to make backups of a whole hdd using dd, unfortunately backup sizes matter I use the following commands to ensure compression and splitting (fat32 habit, since you cant save anything more than ...
1
vote
1answer
499 views

Manually installing an ISO onto a USB?

I'm trying to install TAILS. I've downloaded and verified it and everything and I'm on to installing it. I want to install it manually onto a USB stick. The TAILS website doesn't have any instructions ...
1
vote
2answers
69 views

Preventing the dd command on extra drives

I use dd a lot day to day for writing Raspberry Pi SD card images. However every now and then I slip and by accident dd the wrong partition and thus killing my other drives. I was wondering if ...
2
votes
2answers
194 views

How to find card reader block device?

I am trying to make an image from USB Card Reader using dd. When I connect device, this is what the log tells me: Aug 21 11:26:50 acid kernel: [ 1399.579168] usb 1-1: New USB device found, ...
1
vote
1answer
634 views

Do I have to unmount the drive when using dd command?

I have a 60 GB SSD where my Ubuntu installation and home folder is and a 1 TB HDD that I used to use as storage device (movies, music..). I have decided to sell the 1 TB drive but before I do that I ...
-3
votes
1answer
721 views

dd: failed to open ‘kali-linux-1.1.0a-amd64.iso’: No such file or directory

I'm trying to create a Kali Bootable USB Drive on Ubuntu 14.04 LTS following these instructions -> http://docs.kali.org/downloading/kali-linux-live-usb-install Everything seemed alright till the ...