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

Re: using apt to install system to another partition



On Sun, Sep 01, 2002 at 03:49:41PM -0400, Fred Heitkamp wrote:
> 
> I want to make a backup debian installation on another disk or partition.
> 
> Is it possible to use apt or dpkg from a running system to install a
> completely independent debian install on this other disk?  I do not
> want the installing system to be affected in any way.
> 
> It looks like the dpkg --root=<some other disk partition> might work.
> 
> Using apt would probably be more convienient though I didn't see
> a "--root" option in the man page.

You might want to take a look at pbuilder. At least the part where you
create the jail.

You then have to remove the destry part, but that will do for most of
it.

$ apt-cache show pbuilder
Description: personal package builder for Debian packages
 pbuilder constructs a chroot system, and builds a package inside the
 chroot.

J

-- 
Jesus Climent | Unix System Admin | Helsinki, Finland.
http://www.HispaLinux.es/~data/  |  data.pandacrew.org
------------------------------------------------------
Please, encrypt mail address to me: GnuPG ID: 86946D69
FP: BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69
------------------------------------------------------
Registered Linux user #66350 Debian 3.0 & Linux 2.4.19

Where are you going, Starfish and Friends?
		--Chad (Charlie's Angels)

Attachment: pgp7gcxQKvsiX.pgp
Description: PGP signature


Reply to: