You are not logged in.
Pages: 1
Ok...I'm new to ArchLinux, so perhaps chroot works differently here.
I want to do a simple chroot bash shell. This is what I get.
root@localhost# chroot /foo /bin/bash
chroot: cannot run command `/bin/bash': No such file or directory
Of course /bin/bash exists and works just fine.
What's going on?
Thanks in advance.
Offline
You should mount first /dev and /proc after that you're ready to chroot.Have you did this?
Offline
Thanks,
I figured out what was wrong. I hadn't copied over the required libraries to the chroot environment.
Offline
Pages: 1