Re: chroot question - can you help?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: adrian kok <adriankok2000@xxxxxxxxxxxx>
> 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@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.

JD


      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux