Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #274902

Re: Adding a new boot disk while keeping old disk

From Chris Green <cl@isbd.net>
Newsgroups linux.debian.user
Subject Re: Adding a new boot disk while keeping old disk
Date 2024-11-26 13:20 +0100
Message-ID <JN2HT-bKHD-3@gated-at.bofh.it> (permalink)
References <JMXfb-bHfh-1@gated-at.bofh.it> <JN1iN-bJHV-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>> On Tue 26 Nov 2024 at 01:21:31 (-0500), Charlie Gibbs wrote:
> 
> How do the rest of you deal with all the user-added stuff that vanishes
> when you do a fresh install?  Are there some tricks I can use, rather
> than painstakingly re-installing all my utilities one by one?

I do two things:-

1 - Keep a simple text list of packages I have added to the system
using 'apt install' (or aptitude, or synaptic, or whatever).  Then
when I do a clean install I can simply add all the extra packages, I
suppose I could automate it even but I don't bother doing that.

2 - I have a mercurial repository in /etc, it has an ignore file that,
by default, ignores every file in /etc. Then, when I modify something,
I first do an 'hg add <file>' and then do the change and commit it to
the repository.  I thus have a history (and diffs) of all the changes
I have done in /etc.  With a new install I make a backup copy of the
old /etc and refer to it to make similar changes to the new system.


-- 
Chris Green
ยท

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Adding a new boot disk while keeping old disk Charlie Gibbs <cgibbs@surfnaked.ca> - 2024-11-26 07:30 +0100
  Re: Adding a new boot disk while keeping old disk George at Clug <Clug@goproject.info> - 2024-11-26 08:30 +0100
  Re: Adding a new boot disk while keeping old disk Karl Vogel <vogelke@pobox.com> - 2024-11-26 11:50 +0100
    Re: Adding a new boot disk while keeping old disk Chris Green <cl@isbd.net> - 2024-11-26 13:20 +0100
  Re: Adding a new boot disk while keeping old disk Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-11-26 15:20 +0100
  Re: Adding a new boot disk while keeping old disk David Christensen <dpchrist@holgerdanske.com> - 2024-11-26 23:00 +0100
  Re: Adding a new boot disk while keeping old disk David Wright <deblis@lionunicorn.co.uk> - 2024-11-27 06:30 +0100
  Re: Adding a new boot disk while keeping old disk eben@gmx.us - 2024-11-27 23:50 +0100

csiph-web