Menu

Clone an encrypted partition

Primavalou
2021-09-22
2021-09-25
  • Primavalou

    Primavalou - 2021-09-22

    Hi everyone !
    I am trying to clone my root encrypted partition, but I get an error. The OS is Manjaro, and the partition was encrypted during the installation (so file system is LUCKS). Does CloneZilla can clone that kind of encrypted partition ? Should I un-encrypt my partition before ? How should I do that ?
    Thanks for your help !

     

    Last edit: Primavalou 2021-09-23
  • Primavalou

    Primavalou - 2021-09-23

    The error is :
    "ocs-live-general" finished with error!
    Before I have messages like :

    /usr/share/drbl/sbin/ocs-functions: line 4**: /home/partimag/{NameOfTheImageIChoseBefore}/Info-lspi.txt : No such file or directory
    /usr/share/drbl/sbin/ocs-functions: line 4**: /home/partimag/{NameOfTheImageIChoseBefore}/Info-smart.txt : No such file or directory
    /usr/share/drbl/sbin/ocs-functions: line 4**: /home/partimag/{NameOfTheImageIChoseBefore}/Info-OS-prober.txt : No such file or directory
    

    Moreover I add that my computer is a bit old (2014 coming with Windows 7) so partition table is MBR.

     
  • Steven Shiau

    Steven Shiau - 2021-09-25

    Clonezilla still has some issues to support LUKS. So...

    Steven

     
  • Primavalou

    Primavalou - 2021-09-25

    Thanks for your reply Steven, but that was my bad. For a precedent OS install, I made a mistaking by using GPT partition table. Then I installed again my OS wit MBR, but their was still something linked with GPT that CloneZilla could not manage.
    I solved it using :

    sudo gdisk /dev/sda
    (Press 1 to select MBR)
    Press 'x' and enter to reach the eXpert mode
    Now press 'z' to delete the gpt
    At this step be careful, you will get an option to blank out your MBR, do **NOT** do it.
    Press Ctrl + C when ever you need to exit from gdisk.
    

    Source : https://superuser.com/questions/884608/clonezilla-fails-at-cloning-with-mismatched-gpt-and-mbr-partition

     
  • Steven Shiau

    Steven Shiau - 2021-09-25

    Thanks for your feedback. So for LUKS Clonezilla uses dd mode to save/restore, but your issue is actually about the partition table mismatch. Got it. Thanks.

    Steven

     
    👍
    1

Log in to post a comment.

Auth0 Logo