0
votes
0answers
94 views

dd records in records out different

Simple question: is it OK if the output in dd for "records in" and "records out" are different by 1? Or is this an indication that a disk error has occured? 96088211456 bytes (96 GB) copied, 873.174 ...
3
votes
1answer
583 views

Migrating to LVM

The drive on my Ubuntu media server is nearly full. I hope to add another 2TB of capacity to the machine and would prefer for all 3.5 TB to be recognized as a single drive. To complicate things, I ...
2
votes
1answer
984 views

Linux DD command partition -to- partition

I just used the DD command to copy the contents of one partition over to another partition on another drive, like this: dd if=/dev/sda2 of=/dev/sdb2 bs=4096 conv=noerror sda2 partition was 66GB and ...
1
vote
1answer
285 views

Does `dd` on a device skip anything?

I wanted to achieve a system disk backup with an Ubuntu live CD. I used the following command: dd if=/dev/sda conv=sync,noerror bs=64K | gzip -c > /media/external/image.gz This seemed to work. ...
4
votes
2answers
447 views

Recovering Ubuntu after filesystem was overwritten using dd

I had an Ubuntu installation on my laptop, on an encrypted LVM (this was /dev/sda1). I was planning to write an Arch Linux image to my USB drive (/dev/sdc1), following this guide - ...
0
votes
3answers
678 views

How can I copy my Mac's entire hard drive to an external hard drive?

I want to copy my entire hard drive to an external hard drive of equivalent size. I'm using a Mac, and I was thinking about booting Ubuntu so that I can use dd, but I'm not sure how to do that. If ...
3
votes
1answer
2k views

How to do a hexdump of first track of HDD?

How would i do a hexdump in Ubuntu for the first track of a HDD? I am looking for a winhex-esque output if that makes sense. The first track has 63 sectors, each 512 bytes long. I tried dd ...
0
votes
1answer
2k views

How to create an image.dd file to be used in virtualbox?

I want to backup my Windows machine before I put Ubuntu on the hard drive instead. Following the instructions on the VirtualBox website it says to create an image.dd file using dd. I booted up from ...
5
votes
1answer
490 views

dd gets slower while reading and writing

user@user-laptop:~$ sudo dd if=sd_backup of=/dev/sdd bs=4M conv=noerror,sync 205520896 bytes (206 MB) copied, 28.564 s, 7.2 MB/s 247463936 bytes (247 MB) copied, 57.1285 s, 4.3 MB/s 260046848 bytes ...
13
votes
5answers
17k views

How Do I Find The Hardware Block Read Size for My Hard Drive?

I'm trying to figure out the optimal size for a large copy from my hard drive using dd. I'm trying to figure out what the best blocksize to use it, which I would assume is the hardware block size for ...
1
vote
1answer
1k views

Restoring a HDD backup image from the Ubuntu Live CD

I want to restore a HDD image I have to my laptop's HDD while booted off the Ubuntu Live CD. The laptop's HDD is unformatted and has no partitions. I expected this to work: $ sudo dd ...