
22 Aug
2007
22 Aug
'07
08:08
Frank Lehmann schrieb am Mittwoch, den 22. August 2007:
Hi,
"chroot: cannot run command '/bin/zsh': No such file or directory". True, zsh was not installed on the partition I tried to get chrooted - but is that necessary? And if yes, can I switch to another shell? (Entering the word "bash" before trying to chroot leads to the same result.)
man chroot
Very funny :-) ... unfortunately, the only important thing there said is:
"If no command is given, run ``${SHELL} -i'' (default: /bin/sh)."
Thats says it all. If you don't give a command ${SHELL} will be launched, this points to zsh, zsh is not installed, so there comes an error.
Alex