On 10/23/2013 10:43 AM, Condit Alan wrote:
> This is getting weird. Angstrom reports that it cannot find sudo.
> Also the script setup_sdcard.sh is not executable when I try to
> "chmod ugo+x setup_sdcard.sh" nothing changes. Any ideas what is
> going on? (When I shutdown it reports I am logged in as root.)

There are reasons I dumped Angstrom and switched pretty immediately to
something like Debian.  One of the big ones is it "behaves" like a
normal Linux disto.

I'm really not sure what might be going wrong, and have very limited
experience with Angstrom.  This is a good question for the BeagleBoard
Google group if you don't get it running fairly easily.  My best guesses
for making forward progress:

* Run a bash shell.  I have no idea what you get by default on Angstrom

* Review your mount points.  Make sure Angstrom isn't doing something
crazy like auto-mounting your USB stick or card reader as the root
filesystem or /usr or something

* Make sure you are root, although AFAIK there is no other user, which
might explain why you can't sudo

* If you can't make the setup_sdcard.sh script executable, run bash
instead and point it to the setup_sdcard.sh file as it's command (ie:
bash -c setup_sdcard.sh)

I actually did go through the process of crafting an SD card image using
a BBB which was running Angstrom and I didn't have issues like you're
seeing.  That was a few releases ago, but I don't think so much would
have changed that you can't run a script file.  Very strange...

-- 
Charles Steinkuehler
[email protected]

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to