0
votes
2answers
39 views

Does `dd` work on physical level or on filesystem level?

When you delete a file from a device, let's say an USB stick, then (without doing any further stuff) only the entry in the filesystem is deleted, the raw bytes of this file are still on the device ...
1
vote
1answer
40 views

How can I backup the entire file system on a backup image file?

I am pretty new to Linux. I am configuring my RaspBerry that use RaspBian (that is a minimalistic Debian distribution). Before changing some settings I want to have a backup of my entire system in ...
50
votes
2answers
2k views

Why is piping 'dd' through gzip so much faster than a direct copy?

I wanted to backup a path from a computer in my network to another computer in the same network over a 100 Mbit/s line. For this I did dd if=/local/path ...
0
votes
0answers
21 views

Restoring backup with dd

I have made a backup of an hard drive using ddrescue. Now I have the .img file. How can I restore the .img Backup to an other hard drive? I have tried dd if=backup.img of=/dev/sdc but the hdd sdc is ...
0
votes
1answer
38 views

How can we create an image from an entire disk?

I've tried clonezilla live cd, and I got an image but in a kind of folder. I would need an .img file or something because afterwards I will use some images together, but that is other story. I also ...
0
votes
0answers
82 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 ...
2
votes
2answers
288 views

dd to clone 2 hard drives with 2 OSes and an encrypted partition

So, I have a question with this complex back-up process. My computer has a 32GB SSD, where Ubuntu 13.10 and all programs that run on that system are located. There is only one partition on that drive, ...
1
vote
0answers
52 views

Backing up MBR - why not restoring the boot code?

I've seen two pages explaining how to backup & restore the MBR: Linux: How to backup hard disk partition table (MBR) UNIX / Linux: Copy Master Boot Record (MBR) They've shown an example with ...
1
vote
1answer
120 views

Bootable linux backups without DD

I'd like to backup the state of my system. It only runs Manjaro. What I've done in the past when I need to install something else on the machine temporarily is just to dd the whole drive to a file ...
2
votes
1answer
149 views

What happens if dd encounters errors while output of dd is being piped to gzip?

Suppose that dd if=/dev/sda bs=100M | gzip -c > somefile.img.gz is done. If errors occur in dd, do I get to see error messages in terminal, or do they get ignored? Also, suppose that dd ...
-1
votes
1answer
7k views

What does dd conv=sync,noerror do?

So what is the case when adding conv=sync,noerror makes a difference when backing up an entire hard disk onto an image file? Is conv=sync,noerror a requirement when doing forensic stuff? If so, why is ...
0
votes
1answer
331 views

Restoring a split image created by dcfldd

Say an image is generated by dcfldd using the following command: dcfldd if=/dev/sourcedrive hash=md5,sha256 hashwindow=10G md5log=md5.txt \ sha256log=sha256.txthashconv=after bs=512 conv=noerror,sync ...
0
votes
1answer
89 views

How to do a 1:1 copy of a Windows HD [duplicate]

I have a Windows 7 installation on a separate HDD, since installing Windows takes at least half a day on my machine do to the fact that I have to install a big list of drivers, I would like to do an ...
0
votes
1answer
279 views

dd cloned drive not recognised by Windows

I have a Lenovo Windows 7 laptop with an MBR hard drive I want to clone. I used a Linux (Kali, FYI) live USB stick, booted on the PC and used dd if=/dev/sda of=/dev/sdc bs=100M conv=notrunc to clone ...
2
votes
0answers
60 views

dd backup produces bigger image file

I created a disk image with dd. The hard disk capacity is 2 GB. However, the image produced a 3.8 GB file. I used: dd if=/dev/mmcblk0 > /mnt/sd/disk0.img (where mmcblk0 is a microSD card, with 3 ...
0
votes
0answers
249 views

dd Copies Drive with no Errors, Gparted shows Partitions as Empty, No Flags

So with the assistance of Hennes I was able to use dd to copy my entire sda to sdb, but after dd finished I checked the partitions with gparted and found that all partitions were listed as empty, the ...
2
votes
2answers
475 views

linux DD disk backup - file smaller than disk?

I got small problem. I need to make a mirror of a disk. Zero it and then restore data. I'm using DD linux command to copy data to a file. sudo dd if=/dev/sde of=/media/Rozne-new/hitachi_disk2.img ...
0
votes
1answer
563 views

backup/image only partitioned space on sd card

i'm using dd to backup and restore sd card images but it insists on backing up the whole of the sd card including unpartitioned space. is there a way to avoid this or better process for cross platform ...
2
votes
1answer
835 views

What is the difference between ghost and dd?

When I back up from one hard drive to another with Ghost I can switch those hard drives at will and the computer doesn't seem to mind. When I back up HDD A onto HDD B with dd, HDD B performs slower ...
1
vote
1answer
281 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. ...
5
votes
1answer
3k views

Can I resume an interrupted disk image done with dd?

I am going to reinstall my system and I want to backup it first. There is an 80 GB HDD with Ubuntu and 750 GB HDD on which I want to put image. So, I run a live CD and use dd to transfer my sda to ...
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 ...
1
vote
5answers
682 views

Is it a very bad idea to create disk image of mounted disk?

I would like to backup my server. For example using dd: dd if=/dev/md0 of=/some_network_share I wonder if this image will be vary inconsistent if /dev/md0 is mounted? Would it be possible to ...
2
votes
1answer
3k views

How to Copy .VHD File to Physical Hard Disk Using DD Command

I have read other question/answers on this site that say this is possible, but I'm wondering how it is done. I have tried the following command, which completes successfully, but the NTFS isn't valid ...
1
vote
1answer
643 views

Why does my dd backup of MacBook OS X fail to boot upon restore?

I created a backup of a MacBook hard drive (WD2500BEVS-88US) by hooking it up as a secondary drive on my linux system (Ubuntu 10.10). I used the following command: sudo dd if=/dev/sdc ...
2
votes
1answer
164 views

Looking for advice on using dd to backup a dual boot laptop

My questions boils down to this. If I do "dd if=/dev/sda of=usbdrive" can anybody confirm that this will get everything including mbr/partition information/all four partitions and create a drive that ...
4
votes
2answers
1k views

faster dd backup by differential copy

im looking to use dd to back up my whole hard drive regularly but it takes around 1.5 hours and want to know if there is a faster way to back up. possibly just by updating the bytes which are ...
1
vote
4answers
262 views

Creating an image of my hard drive

I've been thinking of making an image of my laptop's hard drive for backup purposes. What would be the best way of doing this? I know about dd but is there a more user-friendly way, perhaps a GUI ...
3
votes
3answers
358 views

Backing up to smaller drive

In a few hours I'll have a new 500GB Sony laptop, filled with the usual Sony rubbish which I'll promptly be replacing with Ubuntu or Crunchbang or something. However, first I want to make a full clone ...
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 ...