PDA

View Full Version : [SOLVED] Removing/reinstalling kernal - Comand line only



tweaked
April 24th, 2011, 06:56 PM
I setup Server 10.10. Two kernals were showing on Grub. Somehow 2.6.35.28 crashed hard and neither it or recovery would boot. 2.6.35.22 is fine.

So I ran:

apt-get remove --purge 2.6.35.28

which seemed to do the trick, but now I would like to have another kernal again in case.

apt-get update
apt-get upgrade
apt-get dist-upgrade

does not find anything.
What am I missing?

Thanks

tweaked
April 24th, 2011, 09:39 PM
I'm disapointed. No command line gurus around?

Here is what works.

sudo apt-get update

sudo apt-get upgrade -f

sudo apt-get dist-upgrade -f

sudo apt-get install linux-image -f


Exact karnal can be specified. EG:

apt-get install linux-image-2.6.35-24-generic -f

Hedgehog1
April 25th, 2011, 06:21 AM
I'm disapointed. No command line gurus around?

Well - there was at least one (you!).

Adding this to my own notes - I have never seen this done before. Thanks for sharing the solution!


The Hedge

:KS