- Press Shift during boot to enter the Boot menu
- Press
e
to edit the entry - Append
init=/bin/sh
to the line starting with “linux” - Boot with Ctrl-X
- Enter
mount -a
- Enter
mount -o rw,remount /
- Enter
passwd USERNAME
(USERNAME is your username) - Enter the new Password
- Enter
sync
— wait a few seconds — - Power cycle your machine