You are not logged in.
Pages: 1
FIrst of all, I'm happy to have found my way here. My name's clov3r/ ckfree. I'm learning.
I installed slitazcore4.0 a couple of nights ago. I'm a little bit mindsmacked by it 
Today, my lost irc isn't working. It starts up and resolves irc.freenode.org host, prints connecting to server... then after a few minutes, the window closes. I think I broke something in installing bash and zsh. I can't open a terminal at all... or login in a console. I have one terminal left open... but with that can't access tazpkg to undo the changes. I've tried changing the /etc/passwd file to /bin/bash, /bin/ash, /bin/sh. Buuuut it's not working.
[c]/bin/sh: error while loading shared libraries: libgdbm.so.4: cannot open shared object file: No such file or directory[/c]
Help would be much appreciated!
Offline
hi
firstly you should NOT EDIT the etc/passwd
Open TazPanel (top left icon) Packages> my packages> uninstall lostIRC, then reinstall it.
If not resolved dependency problem with TazPanel install gdbm
Offline
I already broke a 3.0 installation with zsh. Do a search, someone had told me how to fix it, you may try that
Otherwise, unless you had done something really special OR it is an obviously simple problem to solve, you my find it faster to reinstall rather than fixing if it looks complex...
Offline
I was just following instructions! 
http://doc.slitaz.org/en:handbook:systemutils
On SliTaz you have the ash and sh shell with a link to Ash, this shell is provided by Busybox. If you wish to use the Bash (Bourne Again SHell), first as root install bash, copy the .profile found in your home directory and rename it .bashrc, then edit the [c]/etc/passwd[/c] file with your favorite text editor and change your shell to [c]:/bin/bash[/c]
I then took the liberty of installing zsh too, and linking [c]/bin/sh[/c] to zsh when prompted by tazpkg. Lost IRC started working again when I changed [c]/etc/passwd[/c] to point to [c]/bin/ash[/c], and then Trixar helped me out on #slitaz. I needed to [c]# rm /bin/sh; ln -s /bin/busybox /bin/sh[/c]
That last command may not be completely correct... it was last night, and it's still early morning now. I'll check and confirm later. Regardless, I'm working fine again now.
Offline
Not trying to confuse you. Apologies.
Trixar will give you excellent advices (and rivero's post is also what i would have done).
Re-reading your post, which I should have done more carefully at first, your problem is very different from the one I encountered back then. My mistake.
Offline
after changing etc/passwd in bin/ash or bin/bash or bin/sh
you Logout/in X session??
Offline
No. I did log in through virtual console, but at first i couldn't even do that... so i was scared to logout and close my one remaining open terminal (I couldn't open any new windows!).
What if I could NEVER get back in again! 
Offline
clov3r,
funny comment about zsh I found two days ago in the /usr/bin/gettext.sh (from GNU Gettext):
[c]# zsh is not POSIX compliant: By default, while ". gettext.sh" is executed,
# it sets $0 to "gettext.sh", defeating the purpose of this test. But
# fortunately we know that when running under zsh, this script is always
# being sourced, not executed, because hardly anyone is crazy enough to
# install zsh as /bin/sh.[/c]
'not POSIX compliant' and 'crazy enough' 
Offline
Yeah, you could use /bin/ash rather than /bin/busybox and I tried both before suggesting it. Busybox should act like what it's called as though, so symlinking either should work. The downside is that you may have to restart for the effect to take place. I know bash only shows it's display error after a restart - like it ignores the terminal settings. It shows up in Puppy Linux too, so I guess it may be a universal issue with micro-Linuxes.
Offline
I want to install slitaz into my drive...
When I setup the system with the live-cd the all run flawless, the problem is that the system request me a "root" password.
How to make a root password?
Offline
Well the default password is "root". To change it from a terminal, (as root user: [c]# su[/c]) the command is [c]passwd[/c]. Enter the old password (root) and then your new password twice.
Offline
The problem is that this username:tux and the password:root not work in tazpanel and I can't use the command install-slitaz.
Offline
username: root
password: root
in terminal, to become root, type [c]su[/c], enter password: root
Offline
With the newer versions of SliTaz Panel you can use * as the password to use the default one. Only works with rolling as far as I know though. But yeah, the default root user and password is both the word root.
Offline
#clov3r,
I ran into the same issue.
Your post was a life saver.
Here's my list of how I fixed it thanks to you and trixar
- edit grub to be read-write by adding rw, just after the kernel and before /root/blah/etc...
- log in as user, su to root #
- #rm /bin/sh; ln -s /bin/busybox /bin/sh
- shutdown and reboot
- hopefully it will boot into x, then edit /etc/passwd file and repoint shell to /bin/sh for user
Worked for me, thanks guys.
Offline
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]