Migrate my test system to main system

Hello everyone,
i have been experimenting with EndeavourOS now for some time and now i want to make it my daily driver.
So far EndeavourOS is running on an old laptop. On my main system i am still running Windows.
I would like to have the option to dual boot into windows for some specific applications. so i was thinking if it is possible to just add a dual boot installation to my main system and then migrate my Endeavour installation from the laptop to the PC.
is there a way to do this?

Thank you for your help

It shouldn’t be very difficult to do, depending on what all you are wanting to migrate. It would be easiest by far to get a list of packages and files/configs from your home folder together for installation alongside Windows.

The first step is to make sure everything is backed up, of course.

What all do you want migrated?

sorry for the delayed response.
so far i did back up everything. That was something that needed to be done anyway.
now that i think about all the specifics i realize that it is not acually that much. since my browser has a sync feature. i guess a list of all my installed programs would be nice. but even those are not too many. so i guess a fresh installation and just doing a few settings again would not be too much work.

is there a good way to see all the programs i installed since a fresh install?
so no packages that came with updates, just the ones i installed using pacman and yay?

Backups are good :slight_smile:

Is there a good way to see all the programs I installed since a fresh install?

Does this work for you?

for i in $(pacman -Qqe); do paclog --package=$i | paclog --action=install | paclog --after=2023-09-30T22:00:00-0400 | awk '{ print $4 }' -; done;

This should list only explicitly installed packages (including AUR packages) installed after the initial installation. You’ll need to change the 2023-09-30T22:00:00-0400 in the --after option to be some time between the initial system installation and your first package install.

To find your initial installation date, you can run paclog --action=install | less to get a list of installed packages by date and scroll to the beginning. I don’t know how experienced you are with Linux command line tools, but if you have a bunch of programs installed pressing the “g” key in less will quickly jump to the top.

Let me know if that works or if you have any other questions!

Here are some other potentially helpful links:

1 Like

thank you very much.
i have a basic understanding of linux cli. But since i do want to learn about it anyway this will help me a lot.

1 Like