Skip to main content

Thread: chroot build environments


why following procedure fail:

code:
mkdir -p /home/user/chroot/{bin,lib}  sudo mount --bind /bin /home/user/chroot/bin  sudo mount --bind /lib /home/user/chroot/lib  sudo chroot /home/user/chroot
i getting following error:

code:
chroot: failed run command `/bin/bash': no such file or directory
the thing /home/user/chroot/bin/bash exists since bind mounted directory.

in addition, there procedures bind mount proc , sys , chroot livecd or @ point proc , sys available.

basically, why doesn't chroot know bind mounted /bin/bash? why procedure i'm doing incorrect? figure i'm doing don't need proc or sys , other errors if not including them int chroot causing problem.



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [all variants] chroot build environments


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues