Tiny Core Base > Corepure64
Missing DM module??? during drive encyrption
Rich:
Hi euless
Try installing lvm2.tcz. You may need to restart the computer.
euless:
--- Quote from: Rich on November 11, 2024, 10:34:43 PM ---Hi euless
Try installing lvm2.tcz. You may need to restart the computer.
--- End quote ---
Ok. Lvm2.tcz fixed the problem. Everything seems to be working now. Thanks!
euless:
By the way, anybody know what if I forget to "cryptsetup close ..." the LUKS container before shutdown? Will that cause any problem like corrupting the data?
Or would Linux close the LUKS container automatically?
Rich:
Hi euless
I don't know anything about LUKS or encrypted drives, so the
following is pure speculation.
While it's possible that LUKS uses a journal (like EXT4) to allow
it to recover in case of a crash or power failure, it's always best
not to tempt fate and close the container when done.
A normal shutdown closes all files and unmounts all drives. This
will force any data still being buffered in RAM to be written out
to the drive. Whether this includes LUKS containers, I don't know.
If you open /opt/shutdown.sh you can add your cryptsetup close
command right after where it says:
--- Code: ---# put user shutdown commands here
--- End code ---
/opt/shutdown.sh gets called regardless of whether you use the Exit
icon to shut down or the command line to shut down:
--- Code: ---exitcheck.sh shutdown
--- End code ---
Navigation
[0] Message Index
[*] Previous page
Go to full version