Re: chroot from 32-bit to 64-bit filesystem?

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



  On 10/20/10 19:23, Scott Johnson wrote:
> I have a 32-bit PXE environment and I want to chroot to a CentOS x64 root filesystem.  Of course that doesn't work.  Any tricks or hacks that would allow me to do that?  Currently I get the error:
>
> chroot: /bin/bash: Exec format error
>
> What if I updated my PXE environment to 64-bit.  Could I then chroot to a 32-bit?
> I use PXE to quickly troubleshoot both 32-bit and 64-bit arch.
>
> Thanks.
> -Scott
>

Booting an x86-64 kernel with the proper config options set to enable execution of 32 bit binaries should allow you to do that. I think.


Glenn
_______________________________________________
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