Menu

Cloneziall - LVM Luks System

czfan
2026-01-21
1 day ago
  • czfan

    czfan - 2026-01-21

    Hello, can i use Clonezilla for a LVM crypt Luks System?

    https://www.linuxcompatible.org/data/publish/190/748bbb9f8f735d914100fe8c53ff05d7d05e0e/initramfs.jpg

    I have trouble with initramfs if i restore the system.

    https://medium.com/@chandana_33332/howto-setup-a-luks-encrypted-drive-with-lvm-on-linux-f33465383bb8

    $ lsblk
    NAME                        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
     sda                        8:0     0    1.8T  0 disk  
     ├─sda1                     8:1     0    200M  0 part  
     ├─sda2                     8:2     0      1G  0 part  
     └─sda3                     8:3     0    1.8T  0 part  
     sdb                        8:16    0  238.5G  0 disk  
     ├─sdb1                     8:17    0   600M  0 part  /boot/efi
     ├─sdb2                     8:18    0     1G  0 part  /boot
     └─sdb3                     8:19    0 236.9G  0 part  
       └─luks-24-dd-49-f3-b9  253:0     0 236.9G  0 crypt 
         ├─root               253:1     0    70G  0 lvm   /
         ├─swap               253:2     0   7.9G  0 lvm   [SWAP]
         └─home               253:3     0 159.1G  0 lvm   /home
     sr0                       11:0     1  1024M  0 rom
    

    clonezilla-live-3.3.0-33-amd64.iso

    How can i save, ande restore sdb3 (LVM, LUKS) without initramfs error?

    Best Regards
    czfan

     

    Last edit: czfan 2026-01-21
  • Steven Shiau

    Steven Shiau - 4 days ago

    It should work. What error message did you have?
    BTW, please also give testing Clonezilla live a try? i.e., >= 3.3.1-29 or 20260202-*:
    https://clonezilla.org/downloads.php
    There are some changes related to LUKS, too.

     
  • czfan

    czfan - 2 days ago

    Backup sdb2, sdb3, open luks sdb3 with password.

    The LUKS mapper device name was not found in this file: /dev/sdb3 .......
    

    If i reboot the restored system i get

    The same problem with clonezilla-live-3.3.1-29-amd64.iso .

    If i use Clonezilla Backup without "luks-open", than Clonezilla save sdb3 bit by bit, i can start the system.

    How can i solve the problem?

     

    Last edit: czfan 18 hours ago
  • Steven Shiau

    Steven Shiau - 2 days ago

    I need the environment to reproduce this issue.
    Please tell me how to setup/install the Linux system in detail so that I can reproduce this issue here. Once it's reproducible, this issue can be fixed.

     
  • czfan

    czfan - 2 days ago

    @steven_shiau you have get a email to xxxxx@nchc.org.tw .

    Thank you for your work.
    I love clonezilla.

     

    Last edit: czfan 2 days ago
  • Steven Shiau

    Steven Shiau - 1 day ago

    Got it. Thank you very much. I will find some time to check this.

     

Log in to post a comment.