Kangerooo: If you've accidentaly (as the script mistakenly suggested) removed the mose recent kernel, "sudo apt-get update; sudo apt-get dist-upgrade" should reinstall them.
Jeff: Spot on idea with the number being configurable (from a file in /etc/).
Would you want a list of known good or just one? Would simply using the one recorded by last-good-boot (i.e./boot/last-good-boot/version ) work for you ? Actually, the script should probably honour that regardless as a safety net to stop other people having Kangerooo's problem.
Kangerooo: If you've accidentaly (as the script mistakenly suggested) removed the mose recent kernel, "sudo apt-get update; sudo apt-get dist-upgrade" should reinstall them.
Jeff: Spot on idea with the number being configurable (from a file in /etc/). last-good- boot/version ) work for you ? Actually, the script should probably honour that regardless as a safety net to stop other people having Kangerooo's problem.
Would you want a list of known good or just one? Would simply using the one recorded by last-good-boot (i.e./boot/