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
8 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
54 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
42 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
47 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
17 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
81 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
11 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
43 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
117 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
24 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
116 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
20 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
42 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 ...
3
votes
3answers
99 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 ...
1
vote
1answer
48 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 ...
0
votes
0answers
145 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 ...
1
vote
1answer
40 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 ...
2
votes
1answer
33 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 ...
0
votes
0answers
23 views

Some info about SD card patitions after the use of the dd statment and some oiters doubts?

I am not very experienced using Linux and I have the following situation that cause me some doubts. I have wrote RaspBian (the RaspBerry linux distribution) on an SD card using Ubuntu dd statment: ...
0
votes
0answers
15 views

How to open a dd image and sniff G725 files from it

I have extracted some data from a magnetic tape using the dd command. Now I want to sniff from this image to check whether it has G726/G729 audio encoded files. Do you know a tool that does this? ...
0
votes
0answers
65 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 ...
1
vote
2answers
102 views

Cloning with DD command

How can I back-up a partition (not the whole disk) to another partition on an external hard-disk using DD? I achived this with the following command: sudo dd if=/dev/sda6 of=/dev/sdb3 bs=1M ...
-1
votes
1answer
87 views

I want to backup my entire Ubuntu system

The following table illustrate my partition Device Boot Start End Blocks Id System /dev/sda1 * 63 83891429 41945683+ 7 HPFS/NTFS/exFAT /dev/sda2 ...
1
vote
2answers
47 views

Why is dd creating an enormous file when I try to create a backup disk image?

I've been trying to get CUDA to work on my system and in the process of messing with nvidia drivers I have broken ubuntu badly enough that I've had to reformat my drive partition multiple times. I've ...
0
votes
0answers
29 views

It possible to restore the system, after dd if=/dev/zero of=/dev/sdb? [duplicate]

As a result of the following command dd if=/dev/zero of=/dev/sdb (I wanted reset /dev/sdd), I accidentally deleted my system directories. After removal of my ubuntu continued to work as nothing was. ...
1
vote
2answers
1k 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 ...
0
votes
0answers
21 views

disk image creation outputs zero sized cylinders

I use the following command to create a disk image dd if=/dev/zero of=/tmp/image.ext2 bs=1k count=100000 This is the odd observation, the output of fdisk -l image.ext2 this instruction on my ...
0
votes
1answer
64 views

Lost disk space after DD

I've made a typo while doing: $ sudo dd if=/dev/zero bs=1MiB of=/host/ubuntu/disks/root.disk conv=notrunc oflag=append count=2048 $ sudo losetup -c /dev/loop0/ $ sudo resize2fs /dev/loop0 In first ...
0
votes
1answer
59 views

Will dd if=/image.iso of=/dev/sdb copy the image onto pendrive or burn it?

Or maybe I should just use unetbootin instead (crying)
0
votes
1answer
40 views

Can I dd a larger drive to a smaller one?

I have resized the partition of the larger drive with GParted. Can I do sudo dd if=/dev/LargerDrive of=/dev/SmallDrive ?
3
votes
1answer
82 views

What is the best value for the bs option of dd command?

I am using the dd command for the first time, so I am wary, I've reading articles in wikipedia but have some unclear part, so I am asking here, is bs option matter? If I set the wrong number, would ...
1
vote
1answer
86 views

How to make a pendrive snapshot

I am building a NAS server with Ubuntu Server 12.04 on an old laptop and am very happy with it. The OS is installed on a 8Gb pendrive (the swap partition and grub are also installed on it). I did a ...
3
votes
2answers
37 views

Used dd to backup a disk, now want to look at the filesystem

I dd copied /dev/sdd sudo dd if=/dev/sdd of=backup.img sudo fdisk backup.img Command (m for help): p Disk backup.img: 143.3 GB, 143274860544 bytes 61 heads, 35 sectors/track, 131069 cylinders, ...
0
votes
1answer
35 views

faster (and less precise) alternarives to dd

I love dd with all my electronic heart, but sometimes it takes to long and i dont actually need byte by byte exact hdd replicas I was thinking of resizing the partition in question to minimum free ...
0
votes
1answer
84 views

Can't install/try Ubuntu after dd sda hard drive

I mistakenly ran dd on sda which is the current hard-drive Ubuntu installed on. I aborted dd (using ctrl-x) and when rebooted the machine it no longer boots with Ubuntu :( I have nothing important on ...
2
votes
2answers
246 views

Backup SSD as image

I want to backup an existing SSD on a new notebook with a pre-installed Windows, Recovery Partition, ... before I wipe it and install Ubuntu on it. (It is too small for a dual-boot) Until now I have ...
1
vote
3answers
165 views

System backup with dd to external hdd

I want to backup my whole system. I am wondering if the dd command is a good choice for that. dd if=/dev/sda of=/dev/sdb For example: /dev/sda is my system partition (partition is on a ssd if that ...
0
votes
0answers
40 views

Disk Wipe Script Question

I have a server setup to do diskwipe. I am wondering if someone can help me figure out why the random pass is not working. Thanks!! #textPass Sectors sectors=$(blockdev --getsz ...
2
votes
0answers
151 views

GNU ddrescue imaging results — 116 errors a lot?

A little background on this. It's an 256 GB SSD drive with Windows SP3 32-bit and it's encrypted with PGP Whole Disk Encryption. The file system is corrupt and unreadable. I first ran Clonezilla to ...
1
vote
2answers
72 views

using dd with target smaller than source

Some of you will laugh, but... I made a mistake by resizing a virtualbox vdi to 50TB instead of 50GB. Given that there's no way in vbox to shrink it back (even if the new space was untouched), i ...
1
vote
0answers
69 views

Syncing/Mirroring two partitions (Sata, USB) : RAID or not?

My 12.04 Ubuntu server has a 120Go internal SATA sda5, ext4 partition. I also own a 500 Go USB2 external hard-drive from which I could easily free 120 Go. Now, I've been meaning to set up mirroring ...
0
votes
1answer
153 views

Why does step 8 of making the bootable USB take so long for my MacBook Air?

I'm on my MacBook Air late 2008 model, I'm currently trying to make a bootable USB to add Ubuntu to but I have gotten to the final stage of adding the image to the disk and now it isn't doing anything ...
1
vote
0answers
29 views

Looking for Command Line help

I am using a DD image and I am trying to identify the byte value at offset 56 and offset 57 of the file system's superblock. The image is an ext3 image. I am unsure what the appropriate command would ...
8
votes
8answers
4k 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 ...
1
vote
0answers
104 views

Why is DD taking so long?

Background: I have an 8-disk Network Attached Storage device. I've been having issues with it where the hard drives fail on a regular basis. I figured out what the problem is with this: firmware ...
2
votes
1answer
175 views

dd decreased the size of ssd

My 32 Gb ssd was partitioned with 8 Gb and 29 Gb. I used dd to write ubuntu iso onto my pendrive but accidentally wrote it to my 8 gb partition of my ssd. Now gparted dosent show that 8 Gb partition. ...
0
votes
1answer
162 views

Clone an Ubuntu machine with software RAID

I need to migrate my dedicated server to a new one: Both server are hosted remotely, I've no access to physical machines, only root ssh The old server is running Ubuntu server 13.10, ...
1
vote
1answer
522 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
41 views

does this work in Ubuntu correctly - or is there missing something?

This (gawky) question is concerning command dd: dd if=/dev/DVD of=whatever.iso seems not to work ... and then output follows like: could not open /dev/DVD - file or directory not found Is ...
1
vote
1answer
438 views

when using DD how is bs=1 count=512 different than bs=512 count=1

I was taking a forensics exam. I used dd to image the device: /dev/sdb the command I used is: # dd if=/dev/sdb of=SDB.IMG I continued on to extract the MBR # dd if=SDB.IMG bs=1 count=512 ...