Originally Posted by markush
I don't think this will work. One has to mount the devices before
I would use the following
mount /dev/sda5 /mnt
mount -t proc none /mnt/proc
mount -o bind /dev /mnt/dev
chroot /mnt /bin/bash
this is how it works with Gentoo.
The devices are
mounted before chrooting.
There are six mount commands issued before the chroot command.
sudo mount /dev/sda5 /mnt/
sudo mount --bind /proc /mnt/proc
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /sys /mnt/sys
sudo mount --bind /etc/resolv.conf /mnt/etc/resolv.conf
sudo chroot /mnt/ /bin/bash