Sample Header Ad - 728x90

Chroot is not working on suse 9 rescue system?

0 votes
1 answer
117 views
I need to recover a server with suse 9, but I'm facing a very common error of chroot not working. It is complaining that /bin/bash does not exist, but it exists. These are the commands I've used:
mount /dev/dvg/lv00 /mnt
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev

cd /

chroot /mnt
But it fails with no such file or directory. ldd on /mnt/bin/bash shows that every needed library is available. Strace does not help at all. /mnt/bin/bash -i works with no error. Any help on it?
Asked by Sergio Monteiro (1 rep)
Apr 22, 2023, 09:51 PM
Last activity: Apr 22, 2023, 10:41 PM