Setting up 32bit Debian
From PrgmrWiki
Running 32bit userspace under 64bit kernel:
1) First of all resize your ext3 /dev/xvda partition to free up about 2-3Gb of space for swap and recovery install. The fdisk to align first partition to filesystem size and add two more partitions: swap and rescue. Format them using mkswap and mkfs.ext3, then rsync original debian 64 to rescue partition. You should do above from provided Centos rescue. Youd should mount under something like /tmp/d1 because all other locations including /mnt are readonly.
2) Now format /dev/xvda, get somewhere a 32 bit Debian already installed and rsync it to /dev/xvda mount point. Note: you can boot Debian32 with the kernel provided by PrGmr, so you can take it from rescue made on a previous step.
3) Boot into a newly created linux on /dev/xvda and download two files for up to date kernel: linux-image-2.6.26-2-xen-amd64 linux-modules-2.6.26-2-xen-amd64 from any debian64 repository mirror. Though arcitecture is different you can install them fine by a command like: dpkg -i --force-all /download/*.deb
Reboot and enjoy an up to date debian32 under 64 bit kernel :)
Original text located at: [1]
