I just installed Fedora 35 alongside Windows 11 and am trying to mount the “C:” drive that on Linux is /dev/nvmen10p3. I’m trying with Disks and it asks for the passphrase which I don’t have. I do have the recovery code though and this is what I was using on my previous Linux distro with dislocker.
I want to mount this partition when the system boots and in the past I had used two entries in fstab to achieve this. However, if I’m not able to decrypt manually, I doubt it will be possible to do so from fstab.
Is the windows partition actually locked with bitlocker?
If not then you should be able to mount it with the command sudo mount -t ntfs /dev/nvme0n1p3 /mnt/OS.
That message seems to indicate that either the command line structure is incorrect or the partition is not actually locked.
I don’t use bitlocker in any form but the message seems clear.
You can use the recovery passphrase, just copy it in the passphrase entry when prompted.
You can also use cryptsetup directly with the recovery key saved in a key file (this needs to be a file with just the recovery passphrase without trailing newline, the recovery key file from Windows won’t work).
You can’t use UUID for BitLocker in /etc/crypttab because blkid doesn’t support parsing BitLocker UUID. You can use PARTUUID=, you can use sudo blkid -p /dev/nvme0n1p3 to get it (it’s called PART_ENTRY_UUID in blkid output). This is how it looks on my system with a BitLocker USB flash drive I use for testing:
Your /etc/fstab entry looks good, but for future testing I’d recommend adding the nofail option – without it the system won’t boot if the device doesn’t exist (it’s also handy for removable devices).