Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I upgraded from LinuxMint 14 to 15. After the upgrade the normal boot pointed to "Linux Mint 15 MATE 64-bit, 3.8.0-27-generic" in the grub file. The normal boot fails, it freezes on an error - "Kernel panic - not syncing - fatal exception in interrupt". I searched the internet and found that this is an unresolved kernel bug. I use a Lenovo G550 laptop.

So, I boot through a previous version "Linux Mint 15 MATE 64-bit, kernel version 3.5.0-32-generic" and it works fine.

My question how can I fix it? Can I remove the kernel version 3.8.0-27 and update grub to make 3.5.0-32 as my normal boot? If yes, how can I do this with minimum risk? Can I do this via the synaptic package manager? Thanks.

share|improve this question

closed as off-topic by Oli Aug 7 '13 at 23:41

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 3 down vote accepted

As root, issue the following commands:

dpkg -l | grep linux-image

Find the kernel image you want to remove, which should be linux-image-3.8.0-27-generic (be sure it is).

Then

apt-get remove linux-image-3.8.0-27-generic

I don't think a GRUB update is needed, it should just disappear from the GRUB menu. If you get any errors with GRUB just issue, also as root, update-grub.

share|improve this answer
    
thanks. after removing the kernel, since this is my default/normal boot, will updating the grub make the other version my default in grub. Or should I make the change manually? – hashpling Aug 7 '13 at 23:44
    
It should be done automatically, as I said. If that's not the case, updating the grub should solve it. If it doesn't (it should) you'd have to do it manually. – Alex Aug 7 '13 at 23:47
    
it worked, didn't need a grub update. Thanks – hashpling Aug 8 '13 at 0:04
    
if I do sudo apt remove linux-image-4.4.0-31-generic , I get: The following packages will be REMOVED: linux-generic linux-image-4.4.0-31-generic linux-image-extra-4.4.0-31-generic linux-image-generic which is a bit scary because it's going to delete a kernel with no version number, is that a fundamental package in the system that if I remove, I make my system not boot anymore??? – knocte Jul 15 at 11:25
    
huh, in the end I was brave and I did it, and it worked! – knocte Jul 15 at 11:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.