All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
I completely fucked up
Hello guys,
please dont blame me for doing this which could break my system on a production system, but well... I did it -.-
So, my machine is hosted with netcup, i encrypted the machine and somehow I cannot find my root password anymore (its somewhere is my room or maybe at my parents home on any notebook, dunno).
My problem. I changed the network config so I could not connect to it anymore. Without a password I cannot log into it via vnc. I can boot into the rescue system "grml" but I cannot mount the encrypted lvm drive. I can encrypt it and thats it.
Is someone willing to help me via skype/teamviewer or whatever? I would even give you 10-20 dollars, I am somehow desperate -.-
I already logged in via the rescue system but after trying to mount it its always telling me: "mount: unknown filesystem type 'LVM2_member'".
Thanks.
Comments
What do you expect someone to do? Bypass the password?
No password, no decryption
lol.
Save this stuff on a bitlocked USB stick and put it in your safe, then you only have one password to remember for all your important stuff.
As I mentioned. I have the password for decryption. I just dont have the root password. And I cannot manage it to mount the lvm drive. Encrypting it is not the problem.
EDIT: So basically I just need help in mounting the filesystem. Change the /etc/network/interfaces and thats all I need
Sorry, i misunderstood, could this help?
https://askubuntu.com/a/653460
The command vgscan is "not working" for me:
As long as you still have the passphrase for the encryption it should work. Just look into how to setup LVM on your rescue system. Otherwise if you can VNC to the box while doing a normal boot i guess you could just boot into single user and reset the root password. Google is your friend for booth options.
If you are out of options, Last resort would be using a backup and reinstalling the vps. And learn from this experience.
Hello,
How is it
not working
?You also need to do
vgchange -ay
.Then do
vgdisplay
to figure out what volume groups you have.You can also do
lvdisplay
to find out what partitions exist.Francisco
Hmm just a guess but if you used to installer to setup the encryption i think you have an encrypted partition with LVM on top of it so first step would be to
cryptsetup luksOpen ...
the device an then take care of LVM.If you don't have a backup of your password then i think you're out of luck. If someone has practical experience with cracking encrypted partitions i would like to hear it. Your data might be gone, but on the bright side, your drive is not dead. It's like your raidless drive dies and you get a free replacement. Of course this only applies if your machine is colocated, otherwise it's only data loss.
This one looks promising. The biggest problem I do have now is I cannot enter the "-". Its always set to a "ß"... Im trying again.
EDIT: Thanks for all the other answer. Im sitting on the easy method with the rescue system. Never thought its that easy: https://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-password
Yeah, that's a known problem with a VNC setup that uses the wrong keyboard layout. Afaik there is nothing the client (you) can do about it. Best idea i have is to find some place that echos your input (grubs commandline editor or something) and try to locate which keys actually yield the needed characters.
Edit: If you make it to an actual shell you could also try to get creative with tools/escape codes to get the required string.
Yeah well, without the - im not able to make the filesystem writeable... Damn it
Guess not much help but if you manage to get the needed characters those might be worth a try:
Okay, I made it. I could change the root password. I should be able to login now...
for what it's worth on my keyboard the - from numblock works within that VNC ;-)
Depending on control panel and if the provider configured it - you might be able to change the vnc keymap.
Thanks for the answers. Already made it.
Most shocking moment for a long time. Was already starting to upload my backup.
Congratulations!
I want my $20
We all do.
Here you go guys:
Thanks for the help.
EDIT: I guess @mksh would deserve it. He gave me the idea which solved my problem.