For one of my qubes I need a specific partition to be mounted during its start.
I want it automatically attached to the qube and decrypted and mounted during its boot.
The first task (attaching) is quite easy, although I am not sure how to do "cryptsetup open" it during boot.
Also, what would be easier solution: to decrypt the partition in dom0 and attach the decrypted partition to the qube, or to attach encrypted partition and decrypt in the qube?
Any idea how I can handle it in the most seamless way?
Thanks!
Mike
Cool -- I like the idea!
What approach would you recommend for these:
a) if the partition was to be decrypted during dom0 boot -- where to script it?
b) if the partition was to be decrypted right before a qube's start -- is there a pre-domain-boot script kind of thing?
c) if the password was to be typed -- any idea how to pop up some password input dialog box?
Many thanks unman!
Mike