Article 5N3WH How to mount veracrypt partition on boot?

How to mount veracrypt partition on boot?

by
peter7089
from LinuxQuestions.org on (#5N3WH)
I am using this command to mount veracrypt partition:

Code:sudo veracrypt --password='xxxxxxxxxxxx' /dev/sdb4 /media/veracryptI want to mount the partition automatically on boot, but since i need to use 'sudo' i am not sure how to do that. I am using MX Linux.latest?d=yIl2AUoC8zA latest?i=t74ZlZnoyLo:eUUYFlWVuwE:F7zBnMy latest?i=t74ZlZnoyLo:eUUYFlWVuwE:V_sGLiP latest?d=qj6IDK7rITs latest?i=t74ZlZnoyLo:eUUYFlWVuwE:gIN9vFwt74ZlZnoyLo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments