OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: Anonymous on June 02, 2004, 09:15:52 am

Title: Bash with OpenZaurus 3.3.5 and SL-5500 boot problem
Post by: Anonymous on June 02, 2004, 09:15:52 am
I installed Bash. After that i tried rebooting and now im prompted with a login box in the OpenZaurus terminal. If i try login with \'root\' or \'user\' it says:

\"cannot run /bin/sh: No such file or directory\"

I\'m not able to boot at all because of this. What can i do?
Title: Bash with OpenZaurus 3.3.5 and SL-5500 boot problem
Post by: Mickeyl on June 02, 2004, 09:31:33 am
Let me guess... you did install it not on root?
Title: Bash with OpenZaurus 3.3.5 and SL-5500 boot problem
Post by: bluey on June 02, 2004, 09:37:25 am
Reflash the Z.

Did you installed bash to SD?

That could be a problem with the link /bin/sh -] /bin/bash not existing or /bin/bash not being found.

[EDIT] Which can happen if you installed bash to SD and while booting it isn\'t mounted yet, so your /bin/bash -] /mnt/card/bin/bash points to someplace which doesn\'t exist. [/EDIT]

Next time you install bash, make /bin/sh link to busybox like it should, and use /bin/bash in /etc/passwd as your shell. Since bash and busyboxs\' sh aren\'t always compatible and bash being used instead of sh can break some scripts.

You\'ll have to:

If you have the repositories configured:
# ipkg -V1 install bash -dest root
# cd /bin
delete the symlink from sh to bash
# rm -f sh
create a new one which points to busybox
# ln -s busybox sh
edit /etc/passwd and change /bin/sh to /bin/bash for root

bash needs libncurses, which has to be installed too.