I'm using Ubuntu 16.04.2 Xenial and I was trying to install mesa with this method.
I did this in the terminal.
sudo add-apt-repository ppa:ubuntu-x-swat/updates
sudo apt update && sudo apt dist-upgrade
sudo reboot
but it messed up now I can't boot all my linux kernel from oldest to latest and because of that I tried to remove that ppa using
sudo apt-get install ppa-purge
sudo ppa-purge ppa:ubuntu-x-swat/updates
sudo add-apt-repository --remove ppa:ubuntu-x-swat/updates
sudo apt update && sudo reboot
but didn't work I also tried removing and purging all my kernel and install the same version same result didn't work I also tried using Boot-Repair stil didn't work I also tried using other boot loader but all of them is not working and I tried resetting my ppa's and then sudo apt update
but it didn't fix the problem. Now I'm currently using Lubuntu 17.04 in my usb that has 3.5 GB storage
Thanks in advance,
MOUNTPOINT/var/log/syslog