Boot from grub, edit with e, change line starting with linux, and put to end init=/bin/bash.
Hit F10
On boot execute:
mount -n -o remount,rw / passwd