[clug] Virtualisation solution for development
Jeremy Kerr
jk at ozlabs.org
Wed Jun 22 06:42:47 MDT 2011
Hi Ben,
> Anyone got ideas? Done the same thing?
Depending on the hardware requirements, it sounds like a simple chroot
would work here - just a clean 32-bit environment to do your build &
test in, without needing a completely separate OS instance.
To set up, do something like:
mkdir 32-bit
sudo debootstrap --foreign --arch=i386 natty 32-bit/
sudo chroot 32-bit/ /debootstrap/debootstrap --second-stage
Then to enter the chroot environment:
sudo chroot 32-bit
Also, the `schroot` package contains some useful stuff to manage your
chroots, bind-mount home dirs (so they're shared), and restore the
chroot to a clean state when you're done.
Hope this helps,
Jeremy
More information about the linux
mailing list