Hello,
I want to clone an ext4 partition from my 1st harddrive to the 2nd.
Instructions here explain how to restore a partition image to a different partition on the same disc.
However, the small files in the image folder contain information about the source disk (sda). e.g. its partition table etc., which is of course not the same as the target disc (sdb). Will it still work if I only make the changes from that Q&A section, or do I also need to correct info in the small files, and if so, to what extent (or is there simply no way to make it work - partition backups restricted to the device the were made from?)?
Thanks, Ben
Last edit: Ben Opp 2013-11-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can use the script 'diffpart.sh' (look for Attachments).
You should have made
-a backup of your important data
-a download for a CD/USB with 'Boot Repair'
-a new partition e.g. with gparted [live].
The script must be inserted in the syslinux.cfg .. and in the upper directory of clonezilla live (2.1.2-20-i686-pae).
More details can you find in the script.
Hello,
I want to clone an ext4 partition from my 1st harddrive to the 2nd.
Instructions here explain how to restore a partition image to a different partition on the same disc.
However, the small files in the image folder contain information about the source disk (sda). e.g. its partition table etc., which is of course not the same as the target disc (sdb). Will it still work if I only make the changes from that Q&A section, or do I also need to correct info in the small files, and if so, to what extent (or is there simply no way to make it work - partition backups restricted to the device the were made from?)?
Thanks, Ben
Last edit: Ben Opp 2013-11-16
You can use the script 'diffpart.sh' (look for Attachments).
You should have made
-a backup of your important data
-a download for a CD/USB with 'Boot Repair'
-a new partition e.g. with gparted [live].
The script must be inserted in the syslinux.cfg .. and in the upper directory of clonezilla live (2.1.2-20-i686-pae).
More details can you find in the script.
(Instead of 'Boot Repair' can you use too
sudo update-grub
sudo grub-install /dev/sdX
after the restore, from sda
later from sdb .
https://help.ubuntu.com/community/Grub2/Installing#GRUB_Legacy_Upgrades_and_Downgrades
Post-Restoration Commands )