Sample Header Ad - 728x90

How do I image a LUKS system disk with Clonezilla without including all the empty space?

1 vote
2 answers
1263 views
I have a 1 TB NVMe disk with Ubuntu 22 installed with vanilla options, except I used LVM, and enabled LUKS. I'd like to image the disk for easy restores. Simply backing up the files is not enough for me, because I also want to revert partition/LVM information when restoring. However, I don't want to end up with a 1 TB image file that is 95% empty space. How do I get Clonezilla to do this? I can unlock/mount the encrypted volumes, and image them, but that doesn't maintain the underlying partition structure. If I image the underlying partitions, it images the LUKS partitions like they're just a 900ish GB slab of binary. What's a workaround here?
Asked by Duncan Marshall (651 rep)
Jan 14, 2024, 10:01 AM
Last activity: Sep 8, 2024, 09:43 AM