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.
The general instructions I gave above were to reinstall each app, then copy in the matching config file from what is on the usb so they can be adjusted to match what you previously did in setting each up.
It is incomprehensible to me, illogical. Besides, without a guide on how to do these things I am simply lost.
If I seem to understand... How is it possible that I have to go application by application ... Isn't that crazy? It's against common sense. Do you understand now why I wanted to abandon this whole thing from the beginning? I followed you just out of curiosity but I expected something like this.
Anyway. One last try, maybe at least the ones that require more configurations I can get them, if you explain in detail.
Everything that is in the Sparky home of the USB was copied to the home of the newly installed system, there are many of the settings ... but what was installed with synaptic on the old system, now on the USB:
How should these apps and their settings be moved to the new system, what exactly should be done, not 'generalities', I am not an expert.
For example, I install now on the new system 'focuswriter', I open it and it doesn't appear configured, logically, it is not in home ... What should I do?.
Synaptic is a detailed package manager used to install/uninstall packages, libraries etc.
It get repository information from Syn apt ic. If you copy the /etc/apt/sources.list file from the USB to the new install you will have the exact same sources and those packages you previously installed should show up in Synaptic of the new installation after updating repos.
I do the same thing, moving OS's around, shrink, enlarge, from HDD to VM vice versa.
To reinstall boot loader on a Debian based OS, boot the install medium ( DVD, Pen drive), select advanced options, graphical rescue mode or something. Since this is Debian with a different name/design, the installer should be same as Debian, you'll go through a ton of questions having you think it's gonna install but eventually you get to a menu that should offer to reinstall grub. You have to select the / partition first and possibly EFI system partition if you have UEFI, then you'll be able to just click on the button "Reinstall Grub". You should also be able to select "Open terminal here" or something, which will put you in a chroot in the root partition to do whatever damage you want to do manually.
If you copy the /etc/sources.list file from the USB to the new install you will have the exact same sources and those packages you previously installed should show up in Synaptic of the new installation after updating repos.
I'm not sure I understand what you're saying, here's a screenshot, I don't see anything about sources.list, am I wrongly doing ...?
Sorry, I'll correct my post, it's /etc/apt/sources.list.
If you have the same sources (repos in that file)in the new install as the USB install, run command: sudo apt update or open Synaptic and click "Refresh" or similar to update repository metadata (updade list of available software).
If you don't remember everything you installed and want a list, you'll have to boot the live CD or installer and chroot into the root partition and run command: apt list --installed > list.txt. Then you can get the list from a live environment and review it.
Some Ubuntu types like to use /etc/apt/sources.list.d directory with one or more lists (files) instead of /etc/apt/sources.list file. Those files you would need to copy over.
This is what i got from my new installed system: /etc/apt/sources.list
Code:
deb http://deb.debian.org/debian/ bookworm main contrib non-free
deb-src http://deb.debian.org/debian/ bookworm main contrib non-free
deb http://security.debian.org/debian-security/ bookworm-security/updates main non-free contrib
deb-src http://security.debian.org/debian-security/ bookworm-security/updates main contrib non-free
deb http://deb-multimedia.org/ bookworm main non-free
This is what i found in the USB after: /media/keos/Sparky-7/etc/apt/sources.list
Code:
deb http://deb.debian.org/debian/ bookworm main contrib non-free
deb-src http://deb.debian.org/debian/ bookworm main contrib non-free
deb http://security.debian.org/debian-security/ bookworm-security/updates main non-free contrib
deb-src http://security.debian.org/debian-security/ bookworm-security/updates main contrib non-free
deb http://deb-multimedia.org/ bookworm main non-free
And from /media/keos/Sparky-7/etc/apt/sources.list.d/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.