Restore Clonezilla Image to Different Numbered Partition

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Restore Clonezilla Image to Different Numbered Partition

Postby tdockery97 on Sat Feb 26, 2011 2:02 am

I ran into the problem in the past of needing to restore a Clonezilla partition image and the partition numbers had been changed. When trying to restore it fails and throws an error msg.

You will need to do this as Root:

1. Navigate to the folder of your Clonezilla backup image. Copy the folder to somewhere else (any other directory will do) and rename the copy to whatever.old

2. Open the original image folder (as root) and rename the files ending with the extensions gz.aa, gz.ab, etc. changing only the partition number in the name. (Example: sda5.ext4-ptcl-img.gz.aa is changed to sda7.ext4-ptcl-img.gz.aa).

3. Open the file named parts with gedit or kate and rename the single drive number in that folder and save the file (example: sda5 is changed to sda7).

Now if you run Clonezilla, as long as the target partition is the same size or larger than the original partition that you cloned your image from, it should restore to the new partition even though the partition number is not the same as the one the image was cloned from.
Image
Mint 15 Cinnamon RC
HP2000 Notebook, 4GB DDR3, ATI Radeon 6310
User avatar
tdockery97
Level 12
Level 12
 
Posts: 4460
Joined: Sun Jan 10, 2010 8:54 am
Location: Salem, Oregon

Linux Mint is funded by ads and donations.
 

Return to Tutorials / Howtos

Who is online

Users browsing this forum: sam_w and 14 guests