OK.
Hold [SHIFT] while you boot and that starts the NOOBS recovery system.
There's a config/cmdline editor as part of that recovery system. You want to edit your /boot/cmdline.txt (on partition #5) to change
Code: Select all
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elevator=deadline rootwait
to
Code: Select all
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elevator=deadline rootwait init=/bin/bash
just add that extra init= stuff on the end of the line (don't change anything else).
Reboot and you'll get a black screen with a single user
$. That's a root shell, which means everything you do runs like it's been prefixed with sudo and careless commands could completely destroy your system.
mount /dev/mmcblk0p6 / -o remount,rw
cd /etc
nano fstab
sync;sync;sync
/sbin/reboot
if it doesn't reboot, wait ten seconds then pull the power. Those sync commands mean nothing is going to get broken.
Reboot holding [SHIFT] again and use the NOOBS recovery system to undo the changes to your cmdline.