Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Before that I did a backup of my /etc-diretory. I have done some tweaks like fstrim, prelinking libraries and creating several service files for systemd (cannot remember exactly for what exactly, should have been for network bridging for KVM, stuff for VMware Workstation, profile-sync-daemon) in order to speed up my system. Which parts of that directory are save to restore? I'm not looking into having to do all that work all over again.
You want only to restore files you have tweaked (in my case, for example, that's normally the smb.conf file). Restoring the entire directory is asking for trouble.
When you do, it's a good idea to rename the default file, rather than overwrite it, so that you can restore it the restored file breaks the install.
If you want to be super cautious, you can use something like diff or meld to compare the two files before making any changes.
Well, for different reasons it became a total mess. Sabayon's package manager has the nice feature to restore the previously installed packages, one can export and import a database of all the packages installed. Contrary to Debian's APT this actually works (had some disappointing experiences).
Unfortunately this time it didnt't work. The re-installation process entered into a endless loop and after all packages had been re-installed a third time, my 50GB ROOT-partition ran full. So I decided to re-install the entire system (Yeah!). The newest version of Anaconda gave me some trouble, being sluggish and crashing repeatedly.
I would think that you need to take a copy of pre-existing /etc, install the new system and then
compare the two /etc's and make manual changes as and where necessary.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.