Thread: chroot build environments
why following procedure fail:
i getting following error: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
the thing /home/user/chroot/bin/bash exists since bind mounted directory.code:chroot: failed run command `/bin/bash': no such file or 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
Post a Comment