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

Re: How to clone a system easily?



Thanks,
but I want a real /total clone; all updates, configurations, links, files, etc. Not just a similar fresh install.

Greg


At 04:01 AM 01/22/2001 -0900, Ethan Benson wrote:
On Mon, Jan 22, 2001 at 04:15:52AM -0800, kmself@ix.netcom.com wrote:
>
> My preference is to do a minimal base system installation, then run:
>
>     $ dpgk --get-selections > file

     $ dpkg --get-selections \* > file

will do a better job preserving the state of the old system, for
example if you removed things like nfsd and such, the latter will
cause it to be removed from the target system where the former will
not.

> ...on the old system followed by
>
>     $ dpkg --set-selections < file
>     $ apt-get update; apt-get upgrade

actually apt-get update && apt-get dselect-upgrade

apt-get upgrade will only upgrade what is already installed, it won't
install packages marked for installation but not yet installed (from
the --set-selections command)

--
Ethan Benson
http://www.alaska.net/~erbenson/

--------------------------------------------------------
Gregory Guthrie
guthrie@mum.edu         (641)472-1125    Fax: -1103
--------------------------------------------------------



Reply to: