Creating 32 bits chroot on 64 bits system

I use Fedora 64 bits on my workstation but I need 32 bits chroot of Debian. It is easy to do.

Create the chroot following the instructions from: http://blog.parahard.com/2013/03/creating-debian-chroot-inside-fedora.html

The first difference is that you need to add --arch=i386 to the debootstrap command.

Then for entering the chroot add linux32 as the first argument after sudo. Something like:

$ sudo linux32 chroot debian-wheezy

After that even uname -a will show 32 bits instead of 64. The linux32 tool is on the util-linux Fedora package.

Comments

Popular posts from this blog

Toshiba R830 and 16GB of RAM

Five steps to create Fedora chroot jail using yum

How to recompile software with hardware optimization?