1

So I was trying to get anaconda python to work with vscode. So I decided to remove python3 and see if the editor asks me if I want another interpreter. I ran sudo apt remove python3 and saw that many packages will be removed, but due to me beeing not the experienced linux user I couldn't figure out if they were important. Well now after a reboot I can only decrypt my harddrive but I can't login, the screen is black. Any ideas on how to get the os back up? Or at least a way to get my files before reinstalling the whole os?

Ubuntu 19.10.

Rinzwind
  • 309,379
Flajt
  • 21

1 Answers1

1

Any ideas on how to get the os back up? Or at least a way to get my files before reinstalling the whole os?

Please re-install the OS. You can make backups from the live session and during setup you can also mount without formatting the partitions that hold your data. The installer will only overwrite system related files when partitions are mounted. Make sure to use the same mount point names for the different partitions.

Another method could be to remove the disk from the system and install a new OS on a brand new disk and then mount your old one. That would allow you to copy all your files to the new system.

Rinzwind
  • 309,379