BeagleBone - Singlue User Mode on U-Boot (Ubuntu)

Hey guys,

I created a monitoring startup script, and accidentally added it for
all runlevels before I could finish debugging it. I'd like to just
drop into single user mode, disable the scripts at startup, and then
do some more testing.

I have looked for some setenv options for single user mode booting
through U-Boot but I haven't been able to get anything to work through
the boot args.

Could someone please explain how to boot into single-user mode on my
setup?

Thanks.

Sounds like it's being set in the wrong place.. How does your device
currently boot, nand variables, boot.scr script, or uEnv.txt scripts?
If you post your boot scripts, we can try to help..

Regards,

Sounds like it's being set in the wrong place.. How does your device
currently boot, nand variables, boot.scr script, or uEnv.txt scripts?
If you post your boot scripts, we can try to help..

Not to sound completely ignorant, but I am not sure how this badboy is
booting. I simply followed the normal "Get Ubuntu running" from the
elinux.org site. Is there something I can do or commands to run that
will give me the info I need to send to you?

Then u-boot is using a script found on the fat partition called
"uEnv.txt"... Plugin your beagle's mmc card into a reader on your pc,
open uEnv.txt is a text reader (on the first fat BOOT partition).. at
the end of the "mmc_args=" line, add "single"... Safe file, umount sd
card.. Plug-in to beagle.. On the next boot, it should be in single
user mode..

Regards,

Then u-boot is using a script found on the fat partition called
"uEnv.txt"... Plugin your beagle's mmc card into a reader on your pc,
open uEnv.txt is a text reader (on the first fat BOOT partition).. at
the end of the "mmc_args=" line, add "single"... Safe file, umount sd
card.. Plug-in to beagle.. On the next boot, it should be in single
user mode..

Perfect, thanks so much for your help. I facepalmed myself, and
realized I could just mount the SD card, and remove the symlinks to
the script I had update-rc.d'd :slight_smile: