[CentOS] chroot question - can you help?
jdmls at yahoo.com
Mon Nov 9 13:28:07 UTC 2009
From: adrian kok <adriankok2000 at yahoo.com.hk>
> I install new linux in sda and try to recover the boot partition in sdb
> I mount it /dev/sdb1 /bootpartion
> but I can't chroot into it and grub-install
> Can you help
> [root at host ~]# chroot /bootpartion
> chroot: cannot run command `/bin/bash': No such file or directory
When you chroot /bootpartion, it does not see /bin anymore...
You need bash inside, and proc and dev too I guess.
More information about the CentOS