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

Re: How to reinstall without changing anything?



Hugo Vanwoerkom wrote:

I wanted what you want: the very same system but newly installed and everything the same to the last letter.

So I wrote a script in which I apt-get -qq install <package> after setting dpkg-reconfigure debconf to no interaction.

OK, I'm already a little confused.  What did the script run under,
during a fresh install?  Did you install a bare-bones system
using the tedious-interactive-questionnaire method, and then run
the script to get everything you needed?  Or is there some way
to short-circuit the interactive stuff?

Before running the script I save all relevant files. E.g. all needed config files, scripts, tex, etc. Everything that I need to keep. Included in that are things like XF86Config-4 so X will run immediately, etc/hotplug settings, ppp settings.

I'd much appreciate some thoughts as to how to identify all the
relevant files.  I tried "locate conf | grep conf$" but there
were just too many files ending in conf, and I don't suppose
all files needed end in conf anyway (/boot/grub/menus.lst and /etc/fstab
come to mind).  And what about kernel modules?  I never have
found the file where all that info is kept.

If neded I can send my script: obviously it can be used only on this system.

I'd be grateful for that, not as something I'd try to run, but to
see what you're doing.

Thanks for your help,
Mike



Reply to: