136
Dumbest Thing you have done distro-hopping?
(lemmy.one)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I put my home directory on another partition, because I heard very early on that it can better facilitate distro hopping. That is not the stupid part, that's actually good advice.
The stupid part was assuming that Linux users are identified by name, and that as long as I create a user with the same name as the one on my previous install, things would Just Work.
Im reality, Linux users are integer IDs under the hood. And in my original system, my current user at the time was not the first user I had created on that system. Thus, when I set up my new OS, mounted the home partition, and set the first user to have the same name, I was immediately unable to log in. The name match meant I was trying to read my home dir, but the UID mismatch was telling me I had no permission to read it. I was feeling ballsy with the install and elected to not enable the root user, so I had an effectively bricked OS right out of the box.
I'm sure there was some voodoo I could have done to recover it on that attempt, but I just said screw it and reinstalled.
There is a way to recover it. You can use a root shell aka recovery shell (usually available through your GRUB menu) to change the permissions on your home directory. But just reinstalling was probably easier anyway.
All you really would've need to do is update the ownership via root user, which you can actually do from the installer. Kinda funny cause you already went through the process of mounting and running the installer, so you were already there.