Single User on RaspberryPi

Yea, I messed up, so heres how to fix it.
Take your card out, and put it in another computer (WIN assumed).
Edit cmdline.txt and add the following to the end of the line:

init=/bin/sh

Now boot.  You’ll most likely need to update something on the file system, so run this command to mount it appropriately:

mount -o remount,rw /

Comments are closed