I recently bought a laptop from Dell with pre-installed Windows 10 Pro. As i'm used to, i shrank the default Windows partition, created another (NTFS) for my data and then installed Ubuntu (18.04) into the remaining space.
However after installation i found that i can't mount the user data NTFS partition. It doesn't appear in the graphical file manager and running
sudo mount -t ntfs-3g /dev/sda4 /media/UserData
results in error:
NTFS signature is missing.
Failed to mount '/dev/sd4': Invalid argument
The device '/dev/sd4' doesn't seem to have a valid NTFS.
After a hour of googling and analyzing the problem, i found that it's because the partitions created by Windows are encrypted by BitLocker and therefore standard Ubuntu drivers can't recognize it. I learned that there are tools like Dislocker
or bdemount
that can mount the BitLocker encrypted partitions, but they require an encryption key.
However i don't have any such key as i didn't setup the encryption by myself, it came enabled from the factory settings. So i went to Windows and opened the BitLocker manager, but to my confusion it showed me it's not activated. However thanks to this Q&A i learned that even when not activated, it is still encrypting, just not storing the key in a secure way.
Now i'm stuck at the point, where i need to extract the encryption key that i can then supply to the Linux mounting tools, but i can't find how or where the key is. Windows seem to require me to activate the BitLocker and setup a password or USB key drive, which i don't want, because then i will have to enter the password or insert the USB disk everytime on boot.
So my (hopefully) final question is: How does one extract the encryption key from Windows BitLocker, that can be then supplied to Linux mounting tools? Windows official documentation doesn't state anything about the key location or how to get it.