Re: [SLUG] chrooting on debian

From: Levi Bard (taktaktaktaktaktaktaktaktaktak@gmail.com)
Date: Fri Jul 21 2006 - 10:17:14 EDT


> # 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

I use dchroot as well - it handily preserves the chunks of your
environment you want to carry along to your chroot session.

-- 
Tcsh: Now with higher FPS!
http://www.gnu.org/philosophy/shouldbefree.html
-----------------------------------------------------------------------
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:44 EDT