Robert 4 weeks ago
parent f9996d8120
commit 64ca764143
  1. 13
      README.MD

@ -1,7 +1,7 @@
# LUKS-Encrypted Disk Images on Linux
## Using your package manager: (apt, etc...) install the following:
## Requires: cryptsetup [Exmaple:$ sudo apt install cryptsetup]
## Requires: cryptsetup [Example:$ sudo apt install cryptsetup]
## As well as: losetup, mount, umount, findmnt, blkid
## Optional: VBoxManage (VirtualBox), virsh (libvirt)
@ -43,6 +43,17 @@ sudo luks-img.sh add-key --file mydisk.img --keyfile /path/newkey --existing-key
When Done - Repeat step #2 to CLOSE
```
## How to make a Compressed backup:
```
zstd -19 -T0 mydisk.img
```
## How to use the backup:
```
First close the image from step #2, then:
mv mydisk.img mydisk.old.img
unzstd mydisk.img.zst
```
### If you want to add the image file to a VM:
## Virtual Box:

Loading…
Cancel
Save