:: Re: [DNG] Migrating advice - what n…
Top Page
Delete this message
Reply to this message
Author: Gregory Nowak
Date:  
To: Joel Roth via Dng
Subject: Re: [DNG] Migrating advice - what not to overwrite
On Mon, Oct 06, 2025 at 03:52:27PM -1000, Joel Roth via Dng wrote:
> Looking at my (self-written) backup utility, I find this
> comment.
>
>     do not overwrite when porting to another machine

>
>     /etc/fstab


Clobbering fstab might result in the boot process grinding to a halt,
because file systems don't get mounted.

>     /etc/modules/


This is a file, not a directory. Clobbering modules might result in a
system without some functioning hardware. I'd add /etc/modprobe.d/ too.

>     /boot 


Clobbering /boot would likely result in a unbootable system.

>     /etc/lilo.conf


I think most machines use grub2 these days. So, I would replace that
with /etc/grub.d/, /etc/default/grub, and the rest of grub is in /boot.

>
> Do you have any comments, suggestions about what all
> to avoid clobbering?


I think the above should cover what to keep.

Greg


--
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc

--
Free domains: http://www.eu.org/ or mail dns-manager@???