Password recovery
This commit is contained in:
parent
7e4e9ac9f7
commit
c3aa3d6e33
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Password recovery. At grub stage, press `e` to edit the kernel line and add `init=/bin/bash`. It will drop you in a shell before init system (systemd).
|
||||
|
||||
~~~
|
||||
mount -o remount,rw /
|
||||
passwd
|
||||
~~~
|
||||
Mount partitions on an image file using losetup.
|
||||
|
||||
~~~
|
||||
|
|
Loading…
Reference in a new issue