diff --git a/SysadminTips.page b/SysadminTips.page index 83a8daa..6c7d066 100644 --- a/SysadminTips.page +++ b/SysadminTips.page @@ -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. ~~~