This question already has an answer here:
I accidentally upgraded Ubuntu from 16.04 to 18.04. Now I can't log in to the system. But through the PE system, I can see that the previous file is still on the hard disk. Is there any way to get 18.04 back to 16.04? Or if I want to reinstall the system which paths should I save from the disk?