Creating/Restoring Linux Images Using Partimage
Description:
Partimage is a Linux utility which saves partitions having a supported file system to an image file. Most Linux and Windows file systems are supported. The image file can be compressed with the gzip / bzip2 programs to save disk space, and they can be split into multiple files to be copied on CDs / DVDs, Partitions can also be saved across the network since version 0.6.0 using the partimage network support, or using Samba / NFS. If you don’t want to install Partimage, you can download and burn SystemRescueCd. It’s a livecd that allows to use Partimage immediately even if your computer has no operating system installed (useful to restore an image), and it allows to save an image on a DVD on the fly.
This helps us in creating and restoring a Linux image.
Optimize setup time.
Steps to take image and store it on the same machine:
- Create a separate partition on your Linux machine [this is to store your image].Ex: Go to YaST2 disk
Create new partition on /dev/hdax or /dev/sdax and mount point as /image.
- Boot with the partimage CD and navigate using default options.
- At the prompt, create a temp directory
Ex: mkdir temp
- Mount this on your storage partition created in step1.
Syntax: mount <Storage partition> <temp directory> Ex: mount /dev/hdax temp
- Go to the temp directorycd temp
- Type partimage press Enter
- Observe the part image GUI.
Select which partition you wish to take image like root partition [Example /dev/sda1/ or /dev/hda1]. Press tab key Enter image file name [FYI: it will add .000 at the end of file name] Press tab key if(Creating Image == “
true
” ){ Select = “Save Image option and press F5”; } else { Select=”Restore Image option and press F5”; }
Press OK button..
It will start creating/restoring the image.
No comments yet