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

Re: Partitioning disk



on Sat, Dec 02, 2000 at 03:38:25PM -0500, S . Salman Ahmed (ssahmed@pathcom.com) wrote:
> >>>>> "EB" == Ethan Benson <erbenson@alaska.net> writes:
>     EB>  On Sat, Dec 02, 2000 at 08:17:23AM -0200, Christoph Simon
>     EB> wrote:
>     >>  Wouldn't it be nice to give it more use even today. Maybe
>     >> someone can find a way to have the stable distribution in the
>     >> main tree and the unstable in local. There seem to be many people
>     >> using stable, but wishing to get also individual packets from
>     >> unstable, not for testing purposes.  This might be a real
>     >> challenge for the debian packaging system!
>     EB>  not really, it is quite common for debian developers to have
>     EB> either a stable or unstable system in a chroot, for example
>     EB> developers who have moved to woody create a potato install in
>     EB> /usr/local/potato.  when they need to compile a package for
>     EB> potato (bug fix or security) they just mount
>     EB> /usr/local/potato/proc and chroot in.  you can even have init
>     EB> spawn a chrooted getty so you can `login' to potato. (actually
>     EB> one of the newer Debian systems allows developers to ssh in to
>     EB> either a potato or a woody system running on the same box.
>     EB> (sharing only the same running kernel))
>     EB> 
>     EB> all you really have to do is untar base2_2.tgz, chroot in and
>     EB> start out just like a fresh installed debian system. apt-get and
>     EB> all work just fine.
> 
> Is there a HOWTO (or sth similar to one) explaining how to setup sth
> like this ? I am not at all familiar with chroot (or chroot jails), but
> the idea of having stable and unstable on the same machine is very
> interesting.

Read the chroot man pages and start playing with it.

A "chroot jail" is just another way of referring to what happens when
you execute chroot.  The process(es) spawned from this point are
restricted to a subset of the filesystem, aka, in a "jail".

If this jail contains a full operating environment, there's not too much
difference between this and an independetly booted GNU/Linux system, at
least from userland.  There are some administrative differences,
however -- you're still running a single kernel, and a single set of
administrative applications.

> Any sources of information on how I could go about setting this up
> starting from either an existing potato or woody system ?

Get yourself an installation tree and start playing with it.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Zelerate, Inc.                      http://www.zelerate.org
  What part of "Gestalt" don't you understand?      There is no K5 cabal
   http://gestalt-system.sourceforge.net/        http://www.kuro5hin.org

Attachment: pgpwfrEW6EBFN.pgp
Description: PGP signature


Reply to: