I have a ubuntu server. I needed to modify the network config so I did but when restarting the network interface it refused to respond. OVH offers a Rescue mode. After botting to rescue mode you have to mount your hard drive, chroot the mountpoint. I did this before on a on-raid box like so:
Code:
mkdir /mymount && mount /dev/sda1 /mymount
chroot /mymount
mount /dev/sda2 /home
Now I had a box with RAID mode enabled. I have identified /dev/md3 as the mount point for the RAID since this partition is the size of both hard drives. So I try:
Code:
mkdir /mymount && mount /dev/md3 /mymount
chroot /mymount
mount /dev/sda9 /home
But when I run chroot, I get this:
Code:
root@rescue:~# chroot /mymount
chroot: failed to run command `/bin/bash': No such file or directory
If I run mount I see the partition is properly mounted. I can cd in to /mymount but not chroot. If I cd in to /mymount I see users home dirs so I now I have the right partition.

How come I can not chroot the active mount point?