[SLUG] chrooting on debian

From: Dylan William Hardison (dylan@hardison.net)
Date: Thu Jul 20 2006 - 23:19:27 EDT


Spake Ian C. Blenke on Tuesday, July 18, 2006 at 11:48AM -0400:
>
> # uname -m
> x86_64
> # mkdir -p /chroot/sarge-ia32/
> # debootstrap --arch i386 sarge /chroot/woody-ia32/
> http://ftp.debian.org/debian/
> # linux32 chroot /chroot/sarge-ia32/ bash
> bash$ uname -m
> i686

# aptitude install dchroot
# echo sid386 /chroot/sarge-ia32 > /etc/dchroot.conf
# cat >> /etc/fstab <<STUFF
/home /chroot/sarge-ia32/home none bind 0 0
/tmp /chroot/sarge-ia32/tmp none bind 0 0
/dev /chroot/sarge-ia32/dev none bind 0 0
STUFF
# su myusername
$ dchroot -d ls
... contents of my $HOME ...
$ dchroot -d aptitude install mplayer
$ dchroot -d mplayer

assuming that the nerim debian repository is in your
/etc/apt/sources.list

See: http://www.debian-administration.org/articles/356

-- 
"Looking you will find, find your will to find. Searching for something.
Searching for something. Find your will to find."
              -- David "Ziggy" Marley, "Looking" (song)
-
GPG Fingerprint: E3CD FDAB 82C4 14FD 7B57  430B 770E 0EAF FB53 12C2
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 14:52:11 EDT