Password recovery

This commit is contained in:
benoit 2019-08-14 12:20:08 +00:00
parent 7e4e9ac9f7
commit c3aa3d6e33

View file

@ -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.
~~~