0

Use PartImage to backup and restore Ubuntu system

Posted by Derek Jing on 5:48 PM in ,
This summary is based on this article.
  1. This tutorial assumes that you have a Ubuntu live CD and somewhere you can save the partition (an external hard drive or another partition).
  2. boot up Ubuntu with the live CD.
  3. List available partitions
    $ sudo fdisk -l
  4. Make sure the source partition (for example: /dev/sda1) is not mounted, and the destination partition (for example: /dev/sda5) is mounted.
  5. If necessary, can use software 'pysdm' to mount/unmount a partition.
    $ sudo apt-get install pysdm
    For example, with pysdm, we can mount '/dev/sda5' to '/media/sda5'
  6. Install PartImage
    $ sudo apt-get update
    $ sudo apt-get install partimage
  7. Run PartImage



    Select '/dev/sda1' ==>partition to save/restore
    Type '/media/sda5/foldername/filename' ==>Image file to create/use
    Then follow the window to proceed until done.
    Note: Keep in mind, though, that the backup will save only the used space on the partition
    Note: ' F5' for next step, 'F6' for exit, 'Space' for changing value, 'Arrows' for navigation.

0 Comments

Post a Comment

Copyright © 2009 Derek's Technical Notes All rights reserved.