I am a Linux beginner but I really enjoyed it so far. So far. Since yesterday, my Linux (pop OS) only wants to boot into emergency mode. I have a suspicion, even though my Linux and Windows are located on different physical disks, somehow Windows does it’s toxic ex lover things and somehow broke my Linux I assume. It’s there a terminal command to somehow reorganise my boot files?
Windows can’t read your linux partitions, it doesn’t support them, so it’s almost impossible for it to damage your installation. It used to be that it could mess with the bootloader, but since UEFI got implemented, that’ become less likely.
What does it do when you boot into normal mode? Does it get to the login screen or not? Do you see error messages?
If you get to login but no further, it could be a problem with your user, like a bad shell setting, since rescue mode logs you in as root usually (I’m not very familiar with debian/ubuntu based distros), otherwise it could be you installed/updated/removed the wrong package(s), unfortunately as far as I’m aware
apt
doesn’t have history rollback capabilities, so undoing that is going to be difficult.This is an unpopular opinion, but when you’re still inexperienced with linux, the quickest way to fix your system is just reinstalling. Back up your whole home dir beforehand and you’ll just have to drop it back in place to get all your data and settings back. If you have more than one user you may want to be careful with the UID, you may have to
chown -R
the whole directory.