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

Re: Chroot environment for 32 bit apps (was: removing a chroot directory)



On Tue, 2006-08-08 at 14:57 -0500, Seb wrote:
> Can somebody please suggest some up to date references on this?  I've
> found several procedures by googling, but all are relatively old and some
> have serious drawbacks, like inconveniences upgrading libraries in the
> main system.

I use this:
http://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html#id271960

But not all of it.

I just:
1. debootstrap
2. Put the three lines in /etc/fstab
3. mount -a
4. Set up schroot.conf (not in HOWTO) (*)
5. Run "schroot -p" as root to get into the chroot
6. Edit /etc/apt/sources.list to what you want (stable/testing/unstable)
7. update/upgrade with aptitude/apt
8. Install what you want with aptitude/apt
9. To run something in the chroot, use "schroot -p <command>"

(*) Schroot is not available in amd64 stable, dchroot then.  But dchroot
in stable has a problem with the login package in unstable in the chroot
(maybe the login package in etch too, not sure).  I got around that by
installing sarge in the chroot, telling aptitude to hold the login
package, then upgrading.

Hopefully this is complete, correct, and helpful.



Reply to: