Skip to content

Comment on Ask HN: How to regain access to my dedicated server?parent

Comments

OK, but what can you do after you get in through the bootloader?

If you are not able to boot it into recovery (could ask you for root password) you need to edit the kernel by editing "ro" (or "ro quiet ..." something) and changing it to rw init=/bin/bash .. than boot up by pressing [ctrl]+x and voila from there just change the root password via "passwd root" restart and ta daah root password changed

Add "single" to the kernel command line

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.