[Grml] Chroot using
Alexander Wirt
formorer at formorer.de
Tue Aug 21 22:03:08 CEST 2007
Frank Lehmann schrieb am Dienstag, den 21. August 2007:
> Hello everybody,
>
> the other day I wanted to use "chroot" to access a XFS-partition (hda2)
> from grml, but it did not work. The failure notice was:
>
> "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
Try chroot foo /bin/bash
Alex
More information about the Grml
mailing list