This short article describe how to reset lost root password on Linux system. IMPORTANT: This method require physical access to the machine.
On GRUB screen select normal boot option:
Press ‘e’ to edit selected option. You will see short GRUB code.
Search for the line starting with “linux /boot/vmlinuz…” or similar depending of Linux distribution. This is the place where kernel and rootfs is selected. Change ‘ro’ option to ‘rw’ and add: Continue Reading