- This topic has 3 replies, 3 voices, and was last updated Jun 30-12:45 am by Xecure.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › New users › New Users and General Questions › Auto mount usb luks antix at boot
Hello all
Been loving antix. Outstanding Linux disto for older pc. I figured out how to mount my external luks encrypted drive manually with below commands
udisksctl unlock -b /dev/sdb1
Then it says
Unlocked /dev/sdb1 as /dev/dm-3
Then I type
udisksctl mount -b /dev/dm-3
It mounts fine in media. But how do I automate this to mount at boot with antix automatically or maybe for more security just entering the password once at boot until next boot. Thank you so much.
Todd
forum search: luks
an April 2019 post mentions “automounting luks during antiX boot is not possible”
I don’t know anything about encrypted drives and the permissions needed to mount them, but couldn’t you create a bash script with these commands? Then you could link a .desktop launcher to this script and place it on your desktop, and then, whenever you want to mount the encrypted drive, simply click on the launcher and it would do all this for you.
Maybe it could even be launched from startup and ask for your password.
I can’t test it myself, but isn’t this feasible (at least the first part)?
antiX Live system enthusiast.
General Live Boot Parameters for antiX.
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |