Is asking me a passphrase in order to access my internal hdd
Posted by Davell3x@reddit | linux | View on Reddit | 43 comments

Where can i find this? I've never put one and the recovery key doesn't work, please help me i'm desperate :(
Davell3x@reddit (OP)
Guys it worked using rescuezilla in order to go around the recovery key, thank you all for the help and advices I appreciate immensely :)
AviHigashikata@reddit
Are you dual booting by any chance? If Windows is installed on that drive, Bitlocker encryption is enabled by default and you can't access it from Linux unless you enter the recovery key if I'm not mistaken (from the Microsoft account website)
Davell3x@reddit (OP)
I've tried the recovery key, i need to digit it all the numbers right? Without the -
RebTexas@reddit
Yes without the -
Davell3x@reddit (OP)
It tells me a failed to load device parameters: imput output error, i have to wipe all the data to correct it right?
RebTexas@reddit
Use something like ddrescue to image the drive.
Davell3x@reddit (OP)
Opensuperclone seems better, should I use ddrescue or this one iyo?
RebTexas@reddit
When I had an old corrupted drive with vista on it I used ddrescue with ddru_findbad (from package ddrutility on debian) to reallocate bad sectors with great success, booted right up after a few commands. Namely I first used ddru_findbad to find out what files were on the bad sectors then deleted them and overwrote the sectors. Never used opensuperclone but I've heard positive things about it.
Davell3x@reddit (OP)
OK maybe i found a solution with rescuezilla, hope it saves my data since I'm copying my entire hdd on a external one, very helpful if anyone have my same problem in the future
Davell3x@reddit (OP)
Thank you for your feedback, i'll try both otherwise i'll reinstall windows normally and wipe everything, I need the pc back nothing else at this point 🙏🏼
Davell3x@reddit (OP)
This is probably my last attempt, after ddrescue i'll install windows normally and try to save the hdd from there, otherwise i'll wipe everything but at least I save the pc 🫠
Davell3x@reddit (OP)
Trying again, hope it works 🥲
shikkonin@reddit
Someone did. Who else if not you?
If you don't remember the key, your data is gone.
Davell3x@reddit (OP)
Maybe it's the pc password? I've tried but it's not that 🫠
shikkonin@reddit
Why would it be that? It's a LUKS-encrypted disk, so it's asking you for the LUKS password.
Davell3x@reddit (OP)
Don't know if this helps aiming the issue but I was from windows (and now is broken so i need to reinstall it) and i need to recover my data so i'm using a burned version of linux in order to enter my own hdd
mkwlink@reddit
Guide I found on superuser.com:
mkdir /media/windows && mkdir /media/mount
Download and extract Dislocker
sudo apt-get install libfuse-dev libmbedtls-dev
cd Downloads/dislocker/src
sudo make
sudo make install
cd /usr/bin
sudo fdisk -l
Figure out which partition is encrypted with Bitlocker.
`sudo dislocker -r -V /dev/envcryptedpartition --recovery-password=000000-000000-000000-000000-000000-000000-000000-000000 -- /media/windows
cd /media/windows
orsudo -i cd /media/windows
mount -o loop dislocker-file /media/mount
Davell3x@reddit (OP)
All of this on the prompt command right?
mkwlink@reddit
The terminal on Linux
Davell3x@reddit (OP)
Nothing, it says permission denied
(i'm considering doing the windows installation and trying to save my data from the process at this point, it's impossible)
Davell3x@reddit (OP)
Thank you so much, i'll try it finger crossed 🤞🏼
foonek@reddit
I fear you might be out of your depth here. If the data is important, consider taking it to a professional
shikkonin@reddit
Ah, so you're not even asking for Linux support contrary to the rules, but Windows.
Enter the BitLocker password.
Davell3x@reddit (OP)
Uhm sorry my bad i thought it was related to linux since i'm using it for the recover (mods don't kill me 🫠)
I've tries the bit recovery key but it rejects me, how can I have to write it? It's the 48 digits right?
shikkonin@reddit
Enter the password, not the recovery key.
Odd-Blackberry-4461@reddit
What's a BitLocker password? I thought there was only a recovery key
shikkonin@reddit
Ok, BitLocker quick intro:
When setting up BitLocker, a key is required. This key is long and complicated, nobody wants to remember or type it. The key is either derived from the password the user supplies, or generated and stored in the Trusted Platform Module (TPM). If you never provided a password, the latter option is what happened.
The prompt you get here asks for to password to drive the key from, it cannot take the recovery key. I do believe there are ways to access a BitLocker drive from Linux with the recovery key, but don't know how off the top of my head.
VoidAnonUser@reddit
If you had Windows 11 Home Edition installed, BitLocker is used by default without asking for password. You need to boot Windows anyway and turn off BitLocker manually. Password is probably somewhere in registry and is not disclosed to the user.
andyr354@reddit
It only encrypts the drive if you sign in with a Microsoft account. It then stores the password in your account online.
VoidAnonUser@reddit
It will encrypt your hard-drive even if you skip Microsoft account and set local account. Or to be precise, it will keep it encrypted.
IuseArchbtw97543@reddit
are you trying to access a windows partition? it may be encrypted with bitlocker.
ProKn1fe@reddit
It's bitlocker encryption.
Davell3x@reddit (OP)
But it doesn't work, maybe i'm putting it bad?
ProKn1fe@reddit
What password are you using? You need bitlocker restore key from https://aka.ms/myrecoverykey
Nevermynde@reddit
I'd ask in a bitlocker forum / support
VoidAnonUser@reddit
If you did not set up BitLocker (including the password) yourself, Windows did it for you without disclosing password/key. You can recover it by using Microsoft account (hope you backed up all your BitLocker keys) definitely not by accessing from GNU/Linux. I had the same problem.
Good luck.
SayanChakroborty@reddit
Not to bash OP here but I never understood why people put passwords if they cannot remember them.
On the contrary, the whole password system is based on the user's ability to memorize a complex combination of phrases, numbers and symbols. If you ask me, this is a really stupid way to protect your data but there's no denying the fact that it is by far also one of the most secure ways. Biometrics are neither secure nor 100% reliable but at least the user doesn't have to rely on their ability to memorize a rarely used string of alpha-numeric symbols.
AutoModerator@reddit
This submission has been removed due to receiving too many reports from users. The mods have been notified and will re-approve if this removal was inappropriate, or leave it removed.
This is most likely because:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
abofaza@reddit
So it asks you for bitlocker passphrase, and for some reason that does not work. Try:
sudo cryptsetup open —type bitlk /dev/nvme0n1p2 nvme0n1p2_crypt
Replace /dev/nvme0n1p2 with your actual device path. nvme0n1p2_crypt is a name, can be anything you input. Paste the bitlocker key from Microsoft account page as is.
battalaloufi12@reddit
since you didnt put a password couldnt you just try connecting with an empty password and it (maybe?) works?
Davell3x@reddit (OP)
It doesn't, i've tried a blank one, the pc pass and the recovery key and it's rejecting me :(
battalaloufi12@reddit
i dont think there is a fix other than setting a password
D3str0yTh1ngs@reddit
What distro, and how did you install it? Might normally be TPM unlocked, and you might have the recovery key/password written down wrong. (TPM unlock using something like cryptenroll, will only unlock when the TPM state is correct, so booting a different OS or disabling secure boot will not let it unlock like that).