I ran out of hard drive space on my computer and reading around removing old kernel's seemed like a good idea.
I following this guide
and entered this code
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
and quickly saw my current version of the kernel about to be removed (and was presented with a warning too) and hit control-c. This appears to have stopped it.
I quickly reinstalled my current kernel "linux-image-3.11-2-amd64".
At the moment,
sudo aptitude show linux-image-3.11-2-amd64
displays the following
ip linux-image-3.11-2-amd64 - Linux 3.11 for 64-bit PCs
I dare not reboot my computer. What do I need to do to try and ensure that nothing has been removed that shouldn't be and ensure my computer will still boot next time?
Thanks and yes, I know I'm an idiot.