Months back, from a dying hard drive, I managed to do a backup using clonezilla of my hfs+ Mac Lion partition. The image now resides on my external hdd.
Now on my new hdd, I have created a partition formatted as hfs+, here is my fdisk output:
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 195311615 97654784 83 Linux
/dev/sda2 195313662 1722839039 763762689 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda3 1722839040 1953523711 115342336 af HFS / HFS+
/dev/sda5 195313664 203216895 3951616 82 Linux swap / Solaris
/dev/sda6 203218944 593842175 195311616 83 Linux
/dev/sda7 593844224 1013274623 209715200 83 Linux
When I try to restore my image onto the newly created sda3, it never gets listed as the target partition. Once I select the image from the external HDD, in the next step when I select the target partition sda3 does not show up - it shows only sda1, sda6 and sda7.
What am I missing? Please help, with great difficulty I managed to get a Mac Lion set up and backed up, if I am unable to restore it would be a lot of effort gone to waste.
Thanks,
Ananth
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you make an attachment of the 'blkdev.list' in your image ?
The new partitions should be equal or greater than the old one.
Are there any differences of the partition names /dev/sd.. between 'blkdev.list' and fdisk output ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh there are some differences. The blkdev list is my old hdd from which I picked up the image. This is a new hdd. Should I modify this file? How should I do that?
Last edit: ananth 2014-07-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Don't forget my second line:
"The new partitions should be equal or greater than the old one."
The new partition sda3 (110 GB) should be about > 146 GB (of the 'blkdev.list' of your old image).
You can it make with gparted live. And then restore all.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In your case use e.g. 'gparted live' to set the new partition sizes (equal or greater than the old one) with the identical names /dev/sd..
And then 'clonezila restoredisk'.
I really do need help. In my current hdd the swap is called sda5. As per your instructions I have to rename sda3 (my newly partitioned hfs+) to sda5 (the one that matches the blkdev list partition name).
But I am not sure how to do this. Can I have two partitions with the same name or should I rename swap first and then the hfs+? I am not able to find any help on this in the sources you have linked to.
Can you please help, Fuchs?
Thanks and sorry for coming back again
Ananth
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Months back, from a dying hard drive, I managed to do a backup using clonezilla of my hfs+ Mac Lion partition. The image now resides on my external hdd.
Now on my new hdd, I have created a partition formatted as hfs+, here is my fdisk output:
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 195311615 97654784 83 Linux
/dev/sda2 195313662 1722839039 763762689 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda3 1722839040 1953523711 115342336 af HFS / HFS+
/dev/sda5 195313664 203216895 3951616 82 Linux swap / Solaris
/dev/sda6 203218944 593842175 195311616 83 Linux
/dev/sda7 593844224 1013274623 209715200 83 Linux
When I try to restore my image onto the newly created sda3, it never gets listed as the target partition. Once I select the image from the external HDD, in the next step when I select the target partition sda3 does not show up - it shows only sda1, sda6 and sda7.
What am I missing? Please help, with great difficulty I managed to get a Mac Lion set up and backed up, if I am unable to restore it would be a lot of effort gone to waste.
Thanks,
Ananth
Can someone please help?
Can you make an attachment of the 'blkdev.list' in your image ?
The new partitions should be equal or greater than the old one.
Are there any differences of the partition names /dev/sd.. between 'blkdev.list' and fdisk output ?
I am sorry for the late reply - I gave up for awhile :(
Trying to get some help on the free node chat, no luck :(
Attaching the file herewith
The folder size of the image on my external hdd is 100.1 GB and the sda3 is 110 GB, so that I guess should be ok.
Oh there are some differences. The blkdev list is my old hdd from which I picked up the image. This is a new hdd. Should I modify this file? How should I do that?
Last edit: ananth 2014-07-29
Don't forget my second line:
"The new partitions should be equal or greater than the old one."
The new partition sda3 (110 GB) should be about > 146 GB (of the 'blkdev.list' of your old image).
You can it make with gparted live. And then restore all.
Fuchs,
How did you get the 146 GB figure? The size of the image folder is 100.1 GB. I am lost now.
Also how should I modify the blkdev list file? Can you please explain to me in a littlre more detail, I am very new to this
Thanks
146 G is sda3.
sda5 is the hfs+ partition in blkdev list which is 100 G, so the sizes should be ok.
Am I missing something?
In your case use e.g. 'gparted live' to set the new partition sizes (equal or greater than the old one) with the identical names /dev/sd..
And then 'clonezila restoredisk'.
More details can you find in
http://clonezilla.org/clonezilla-live-doc.php
and with
'Searching' top left in the forum site.
So if I understand you correctly, the blkdev list need not be changed - I have to make the partition name match what is in the file, right?
I am assuming the sizes are ok.
What exactly do you want me to search for in forum site, sorry I am little confused about that....
thanks for all the help
Ananth
I really do need help. In my current hdd the swap is called sda5. As per your instructions I have to rename sda3 (my newly partitioned hfs+) to sda5 (the one that matches the blkdev list partition name).
But I am not sure how to do this. Can I have two partitions with the same name or should I rename swap first and then the hfs+? I am not able to find any help on this in the sources you have linked to.
Can you please help, Fuchs?
Thanks and sorry for coming back again
Ananth
I think I found the answer at
http://drbl.org/faq/fine-print.php?path=./2_System/102_restore_image_to_different_partition.faq#102_restore_image_to_different_partition.faq
I will try it out and let you know
Thanks for all the help
Ananth