Jump to content

Create an Image


Recommended Posts

Hi, I have recently downloaded a program called partimage (A clone of ghost) I am looking for some information on making and image of my linux drive. Also if you know of a different way to create an image that would be great the software doesn't really matter only createing the image does :)

Link to post
Share on other sites
  • 2 weeks later...

dd if=/dev/hda of=hda.iso

 

you now have an iso image of the entire contents of drive hda

Link to post
Share on other sites

be careful that you don't treat that file like an iso9660 (like a cd) file. that is a raw sector by sector dump of that physical device.

 

you can then reverse the instructions on to a partion that is of _exactly the same size_. i can't stress exactly enough.

 

dd if=/dev/hda1 of=/tmp/hda1-dumpfile

dd if=hda1-dumpfile of=/dev/hda1

 

if stands for infile, of stands for outfile.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...