Disk image
Posted on So 16 Mai 2021 in Notebook • Tagged with notebook, linux, filesystem
Creating
dd if=/dev/zero of=file.img bs=1 count=0 seek=512M
Copy
cp --sparse=always new_file.img recovered_file.img
Growing
dd if=/dev/zero of=file.img bs=1 count=0 seek=1G
This will increase its size to 1 Gb, and leave its information intact.
cryptsetup …
Continue reading