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

1,338 views
Skip to first unread message

jseitz

unread,
Feb 20, 2012, 11:53:06 AM2/20/12
to Beagle Board
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.

Robert Nelson

unread,
Feb 20, 2012, 11:58:27 AM2/20/12
to beagl...@googlegroups.com
On Mon, Feb 20, 2012 at 10:53 AM, jseitz <justin...@gmail.com> wrote:
> 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.

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,

--
Robert Nelson
http://www.rcn-ee.com/

jseitz

unread,
Feb 20, 2012, 12:03:59 PM2/20/12
to Beagle Board
>
> 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?

Robert Nelson

unread,
Feb 20, 2012, 12:18:41 PM2/20/12
to beagl...@googlegroups.com

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..

jseitz

unread,
Feb 20, 2012, 12:24:26 PM2/20/12
to Beagle Board
> 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 :)

Reply all
Reply to author
Forward
0 new messages