You are not logged in.

#1 2026-05-05 07:08:13

sqbh
Member
Registered: 2026-02-14
Posts: 2

[SOLVED] Unlocking drive upon system booting

My /dev/sda2 is locked by Bitlocker, and every time I log on, I have to unlock it by entering my encryption key. After reading the wiki, I figured I can add following in /etc/fstab:
UUID          /mnt         'Bitlocker 2'          nofail,x-systemd.device-timeout=0          0   2

and the following in crypttab:
sda 2          UUID          /etc/cryptsetup-keys.d/sda2.key

where sda2.key simply contains the bitlocker key, with no quotations or anything. just the key itself.
I used 'Bitlocker 2' as the file system type because when I enter the command lsblk -f, I get this as the file system type for sda2. But there is no such file system type mentioned in https://wiki.archlinux.org/title/File_s … le_systems. Which is why, I wanted to know if I am making a brutal mistake here.

Last edited by sqbh (2026-05-05 07:41:29)

Offline

#2 2026-05-05 07:36:39

sqbh
Member
Registered: 2026-02-14
Posts: 2

Re: [SOLVED] Unlocking drive upon system booting

Solved. I realized it was showing Bitlocker 2 as FSTYPE because it was still locked, upon unlocking, it showed ntfs. Furthermore, https://wiki.archlinux.org/title/Dm-cry … on_options this article helped a lot, got my setup working.

Offline

Board footer

Powered by FluxBB