VeraCrypt icon indicating copy to clipboard operation
VeraCrypt copied to clipboard

Identify favorite volumes by something else than /dev/sdX

Open apapapapapapap opened this issue 2 years ago • 3 comments

Hi,

is it possible to identify favorite volumes under linux by UID (or something else) rather than by drive (/dev/sdX)?

Backgound: Since a while linux (here: debian 12 / 64-bit / kernel 6.1.0) changes the drive-association randomly.

So one boot my SSD 500GB is possibly assigned as /dev/sda, the next boot it's /dev/sdb and another boot maybe /dev/sdc.

So whenever i boot up my favorite volumes will possibly not fit where they belong. I.e. my 500GB SSD is mounted sometimes on /media/veracrypt1, sometimes on /media/veracrypt2 and so on.

Regards

apapapapapapap avatar Oct 18 '23 20:10 apapapapapapap

Find the id of your drive in /dev/disk/by-id/ and use it to mount the drive via veracrypt: veracrypt --mount /dev/disk/by-id/<drive_id> --slot=1. After that you should be able to set it as one of your favorite volumes via the GUI.

xqqp avatar Oct 19 '23 22:10 xqqp

Working. Fantastic. Was searching so long already for a solution of this problem. Thank you very much.

apapapapapapap avatar Oct 20 '23 11:10 apapapapapapap

How do i mark this issue closed?

Did a comment and checked 'close as completed', but it's still showing as 'open'.

apapapapapapap avatar Oct 20 '23 11:10 apapapapapapap