This command is used to do low level copying of data.
0
votes
2answers
145 views
copy boot-able partition
I have an disk image with 3 partitions:
first partition (hd0,0) is boot-able with GRUB1 with the following configuration GRUB file:
default=0
timeout=5
title Bank A
root (hd0,1)
...
0
votes
1answer
91 views
Does writing many times to a HDD cause early failiure
How many times could i run something like
dd if=/dev/urandom/ of=/dev/sda
before the hdd starts to suffer? I thought in a modern hard drive the head doesn't touch the platter, but i am still not ...
0
votes
2answers
451 views
CentOS 5.5 installation on disk image
Today, in order to install CentOS 5.5 I'm using kickstart script.
I would like to install CentOS on different way:
Create disk image (using dd command)
Create filesystem on this disk image using ...
0
votes
1answer
394 views
sfdisk - partition creation problem
I'm trying to create disk image with 2 partitions:
First partition: 1Mb for boot and second partition of the maximum capacity
dd if=/dev/zero of=flash.img bs=1M count=10
/sbin/sfdisk flash.img ...
3
votes
1answer
619 views
combine partitions to one disk image
I have 3 images. Each image was done by cloning (by dd) a partition (these partitions formatted using ext3 file system).
One partition is boot-able with GRUB1 (CentOS)
How can I combine them to one ...
0
votes
2answers
293 views
How to clone with cat?
I want to clone an 8.1gig bootable disk to an 8.0gig disk and have the clone remain bootable.
dd causes problems because the destination disk is a few mb smaller than the source.
Can "cat" help me ...
2
votes
2answers
1k views
Monitor Disk I/O Using DD
I've bee looking into the possibility that my server is experiencing a lot of iowait issues. I've found a lot online about running the dd command. I am unable to run this conv:
[root@vps ~]# dd ...
2
votes
2answers
333 views
After using dd new disk cannot be booted and partition tables lost
After I used dd to clone a 120 gb hard disk to new empty 320 gb hard disk, the new disk cannot be booted. And fdisk tell me the partition table is no valid and Gparted just cannot edit the ...
0
votes
1answer
194 views
Clone a real server to a VPS
I have an old server ( Red Hat Enterprise Linux ES release 2.1 (Panama) ) that is in desperate need of replacing, is it possible using dd / ssh to clone the server onto a Rackspace VPS? Or more ...
0
votes
3answers
535 views
SME Server: How do I do nightly Ghost-like backups?
I need to drop another hard drive into my company's SME Server-powered fileserver and figure out a way to do a nightly clone backup of the entire filesystem so that, if the hard drive fails, I can ...
1
vote
2answers
118 views
Copy a partition into a new image out of an existing dd image
How can I dd an image of a single partition out of a full-disk image? I know skip and count, but I am supposed to divide by bs, and since this is the first partition, it's start point is early in the ...
0
votes
3answers
227 views
Is it possible (and how if it is) dump two concatenaded disks in a new disk using DD?
I have a Lacie enclosure that has a setup with 2 500gb disks configured as 1 drive of 1TB, the only partition created for the whole drive is HFS+ journaled, but the controller in the enclosure is gone ...
0
votes
1answer
699 views
Clone disk with dd, and change blocksize?
I need to clone my 300GB disk to 500GB disk with dd, but the old disk (300GB) has too *big block size.
Will this change the block size of output partition too? I understod that obs only meant to be ...
2
votes
3answers
651 views
Get exact size in bytes of a disk & partitions in windows
I'm using dd (under cygwin) to copy a shadow image of a disk in windows. Shadow copy will only give me a partion, so what I am doing is:
1) using dd to grab the disk header (32k on Win2003)
2) using ...
0
votes
2answers
434 views
ddrescue a non-solaris disk gets I/O error
I am trying to get a disk image of a SCSI disk using ddrescue on Solaris10 (Sparc). The disk is non-solaris, and ddrescue gets an immediate I/O error (as does dd). I used format to label the disk as ...
0
votes
1answer
356 views
dd cloned win2003 std ntfs partition, “no operating system found”
I cloned an existing ntfs partition on faulty hardware using dd and gzip. The copied partition was then written to a newly created ntfs partition on a new disk (on another server) and the bootable ...
0
votes
4answers
335 views
Why dd finishes instantly when pipelining to cat?
I start bash on Cygwin and type:
dd if=/dev/zero | cat /dev/null
It finishes instantly. When I type:
dd if=/dev/zero > /dev/null
it runs as expected and I can issue
killall -USR1 dd
to see ...
3
votes
3answers
1k views
Best way to copy large amount of data between partitions
I'm looking to transfer data across 2 lv of an HP-UX server. I have a couple of those transfers to do, some of which are mostly binary (Oracle tablespace...) and some others are more text files ...
2
votes
4answers
627 views
DD copy works at terminal but not by cron
On an RHEL5.4 system I setup a script to backup a drive with dd copy every night by cron. I spit the dd output into a log file and email. It is in /etc/crontab and /var/spool/cron/root when I ...
0
votes
1answer
563 views
cloning with dd - is non-partitioned space considered the same as empty space within filesystem for resulting image size?
note: all = all that i've found
all the "cloning with dd" information talks about how dd copies all the "empty space", but literally all writings seem to be responding to a situation where ...
1
vote
2answers
270 views
How can I use dd to back up the whole disk from inside a linux-vserver guest?
I have a Linux-vserver guest I want to dump the whole disk of. I have no access to the host.
I tried:
dd if=/dev/hdv1 | gzip -c | ssh user@remote.host.net 'dd of=/path/to/file.img' bs=2048
but the ...
1
vote
1answer
384 views
zeroing a disk with dd vs Disk Utility
I'm attempting to zero a disk on my Mac OS X machine. I'm going for complete zeros and unformatted, so I think of dd. Unfortunately the maximum throughput I've managed to get out of dd is 7MB/s. ...
1
vote
4answers
979 views
Best choice for off-site backup: dd vs tar
I have two 1TB single-partition hard disks configured as RAID1, of which I would like to make an off-site backup on a third disk, which I am still to buy. The idea is to store the backup at a ...
3
votes
1answer
7k views
How to copy KVM disk image to LVM
Problem
I'm getting a No space left on device error when doing a dd command. I'm trying to move a KVM qcow2 file to an LVM partition and thought that the LVM partition needed to be the same size as ...
1
vote
1answer
1k views
Restoring a smaller partition image to larger partition using dd
I recently backed up an 11GB ext4 partition to a file using dd, repartitioned, and restored the file to a 40GB partition. parted now shows the partition as 40GB, Nautilus reads it as 11GB, and both ...
1
vote
2answers
758 views
DCFLDD and a Hex Editor
I sometimes use dcfldd, because it has more features and is easier to use than regular dd. It gives a constant status and updates it fast, and it also has pattern input which is a lot faster than ...
1
vote
5answers
557 views
I mistakenly `dd if=/floppy-image of=/dev/sda` and erased my entire partition
I think I have just made the worst mistake one can made - please help me recovering from it.
A guy from another room came over said to me this is a BIOS update (or something similar) for the new ...
1
vote
4answers
2k views
Break up a dd image into multiple files
I'm doing some data recovery from a hard disk. The disk has about 300GB of data on it, but I lack another hard drive that has 300GB of free space.
I have three HDs, with 150, 40, and 120 GB free.
...
2
votes
2answers
1k views
Can't dd /dev/kmem in Ubuntu Jaunty
I am keen to dump the contents of physical RAM into a flat file on my Ubuntu box but all I get is a 1MB file using dd (Which is odd as I have 4GB of RAM!).
The command I am using is dd if=/dev/mem ...
3
votes
2answers
2k views
Mount dd image with multiple partitions
I have created an image of a disk using dd using the command dd if=/dev/sdb of=/jobs/image.dd. The SATA drive /dev/sdb has 3 partitions on it (one NTFS, two FAT32).
How do I mount the complete image ...
1
vote
1answer
363 views
Mount new partition on a removable disk after dd?
How do I mount a new partition on a removable disk after dd without removing and re-inserting the device?
If I use dd to write an image to a removable device, such as a usb-stick or an sd-card, the ...
1
vote
7answers
912 views
dd and drive imaging
When you image a drive with dd, you get a image usually of the same exact size of the drive. You can compress the image, but that is really Dependant on how many continuous null's or zeros their are ...
2
votes
3answers
869 views
Creating an iso file in Linux
I have created iso files by using two commands:
dd if=/dev/cdrom of=filename
cp /dev/cdrom filename
What's the difference between the two, both have worked for me.