Menu

how to restore a saved partition image to a different device?

Help
Ben Opp
2013-11-16
2013-11-20
  • Ben Opp

    Ben Opp - 2013-11-16

    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
  • Fuchs

    Fuchs - 2013-11-20

    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 )

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.