[Grml] Chroot using

Alexander Wirt formorer at grml.org
Wed Aug 22 08:08:05 CEST 2007


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




More information about the Grml mailing list