How to migrate home partiton from another arch install to Garuda Mokka

I am running Endevour OS with PLASMA (Latest) on btrfs.
I have a separate home partition with subvolume setup.

How do i install Garuda Mokka so that, I will have my home partition data alongside Mokka’s plasma customization.

If your other home partition has the dotfiles from your EOS installation in it, I would not attempt port the whole thing over because you will overwrite a lot of the new configs that way. Instead, an easy way to get access to the data would be to mount the partition in /etc/fstab and symlink needed directories from the new installation.

For example, from the new installation remove the empty Documents directory:

rmdir ~/Documents

Replace with a symlink to your old Documents directory.

ln -s /path/to/old/Documents ~/Documents
6 Likes

That is the most responsible way, i think. But can any way to transfer packages ? Even if not core packages, I just want my JetBrains Toolbox apps and my XAMPP installations.

Except for AppImages (which are just a single file), in general it is easier to reinstall packages than it will be to try to move an application to a new installation without breaking stuff. Even if the application has a nicy tidy directory with all its files inside, if it has libraries and dependencies scattered throughout the system it can get messy. Unless the application is no longer available, you can often spare yourself some grief by just reinstalling it.

That being said, porting over your JetBrains toolbox apps may be a simple matter of grabbing the ~/.local/share/JetBrains/Toolbox/apps directory, and the configs from ~/.config/JetBrains (and then obviously install JetBrains Toolbox). You could just copy these directories over with rsync, or set up a couple more symlinks.

For XAMPP, depending on how you have it set up copying or symlinking /opt/lampp may get you most of the way there, but there may be libraries and dependencies in other locations as well.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.