Beagleboard Ubuntu Single User Mode

Hi All,
Unfortunately I have accidentally removed my one user from the admin
group on my Ubuntu 11.10 Server Beagleboard!

I'm using U-Boot 2011.09-rc2 (Oct 06 2011 - 17:47:10).

How do I get my Ubuntu to load into single user mode so I can correct
my user group problem?

I've tried appending 'single' and 'emergency' to the bootargs but it
doesn't seem to make a difference:


OMAP3 # setenv bootargs 'console=ttyS0,115200n8
root=1f01 rootfstype=jffs2 reboot=cold,hard emergency init=/bin/sh'
OMAP3 # boot

Any ideas?


OK, I've sorted the problem.

The reason my bootargs weren't working is that the "boot.scr" script
on the SC card was overriding the args I was specifying in uboot.

Easiest thing for me to do was to boot with the following from uboot:

mmc init; mmc rescan 0; fatload mmc 0 0x82000000
fatload mmc 0:1 0x80000000 uImage
fatload mmc 0:1 0x81600000 uInitrd
setenv bootargs ro vram=12M omapfb.mode=dvi:1280x720MR-16@60
mpurate=auto root=UUID=76bfdd66-898d-4d50-be7a-4c8fd2691266 fixrtc
console=ttyO2,115200n8 S emergency
bootm 0x80000000 0x81600000

Hope this helps anyone else that runs into this problem.