[wplug] Q: how to make image copy of disc to CD/DVD?

Carl Benedict cbenedic at pittsburghtechs.com
Thu Jan 13 10:00:23 EST 2005


You could use dd to create an exact copy of the hard disk to a file.

dd if=/dev/hda of=somefile.img

This would write the entire contents of disk /dev/hda into a file
'somefile.img' in the current directory.  It would probably be desirable
to write the image to another disk besides the one you are cloning.  I'm
not sure if it would work if you were to try to clone a drive to
itself.  Note that this would be a bit by bit clone... even empty disk
space will be cloned.  

Alternatively, you could back-up one partition at a time by changing
/dev/hda to /dev/hdaX, where X is the partition number (see 'df -H' for
partitions, their mount points, and disk size / space free).

These methods would probably be the most straight forward, assuming you
have enough free disk space on another partition, or maybe via some
network drive.

HTH

Carl

On Thu, 2005-01-13 at 09:06, Don Shepherd wrote:
> I want to make an image copy of my disc to CD/DVD.  I need to save my 
> work for later re-use.  I would rather not re-do all of the work. 
> 
> I have a CD/DVD burner attached via USB.  What tools might I use to do this?
> 
> My environment is RHEL WS 3.0 on a laptop.
> 
> Thanks
-- 
Carl Benedict
Pittsburgh Techs
Main:  724-741-0233
http://www.pittsburghtechs.com
cbenedic at pittsburghtechs.com



More information about the wplug mailing list