Using apt-move to create a partial mirror of packages (was Re: ISO Images from fully installed hd?)
On Aug 03 2005, Fernando Cacciola wrote:
> I have Sarge successfully installed in a machine, using just the
> netinst CD.
Fine, that's what most people do.
> Now I want it on another machine... I can of course use the netinst
> CD once again and wait for all the packages to download, but I was
> wondering if I can somehow create a set of ISO images using the
> machine were debian is already installed.
This is where apt-move comes in quite handy: with it, you can get the
packages you used to install your system, move them into a directory
tree quite similar to that of Debian servers (with pool, dists etc)
and you can use mkisofs to burn that on a CD for using on a friend's
place where you are without Internet connection.
This method is also quite handy for reinstalling after a system
failure.
Just be sure to save the list of package you had installed (say, with
dpkg --get-selections or with wajig, for instance) and in the case of
a disaster, you will be one step closer to bringing everything up
again.
Hope this helps, Rogério.
--
Rogério Brito : rbrito@ime.usp.br : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat: http://freshmeat.net/projects/algorithms/
Reply to: