In grub menu select autoline and press e
. Find the line which is started with linux
and append
init=/bin/sh
to the end of this. After you will boot it (Ctrl-x), you will get a root shell immediately. But the filesystme will be in the readonly mode. To fix it execute:
mount -o remount, rw /
Posted by leonidv to Leonid's cards (2019-06-26 15:36)