chroot failed to run command
By Sarah Rodriguez •
Now after 2 days of pulling my hair it is obvious for me that on other ubuntu machine I can chroot into a VM client (VBOX).
I am trying to chroot from live media to a ubuntu VM client.
I mounted:
mount /dev/sda1 /mnt
mount -o bind /dev /mnt/dev
mount -o bind /dev/pts /mnt/dev/pts
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
chroot /mnt /bin/bashchroot: failed to run command '/bin/bash': no such file or directory
I check /bin/bash and *bash is there
Below is an example with chroot on other machines with any live distros to any client (linux-based only).
Did I miss something? Did I missed any libs on first machine? I chrooted with ubuntu live and every time worked flawlessly. Thanks, guys!
Update: Finally works, some libs were missing.
7 Reset to default