-
Edit Grub Menu with press “e”
-
Find the line “linux” and add script below at the end of that line
rw init=/bin/bash
-
Mount with to see read/write flags
root@(none):/# mount | grep -w /
-
Reset password with command below
root@(none):/# passwd
-
Reboot your system
root@(none):/# exec /sbin/init

Abdul Hakim
Cloud | DevOps Enthusiast
© 2020