[Grml] Chroot using

Frank Lehmann eggsperde at gmx.net
Wed Aug 22 00:43:23 CEST 2007

>> "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)."

I tried that in various combinations, but none worked.

> Try chroot foo /bin/bash
I´ll do, as soon as I have access to my LinuxBox again. Thank you!


More information about the Grml mailing list