Linux kernel 3 Ubuntu 11.04

Asked by Pedro Cunha

So, I have tried installing the Linux Kernel 3.0 on my Ubuntu 11.04 through the deb files, it did not work. When booting, it stays put on an empty screen with the background color of grub.

I tried compiling the 3.2.9 version myself, it went smoothly until a kernel panic. I took a screenshot and I'm posting the link here as well.

Any clues?

Link: http://img190.imageshack.us/img190/1787/photo030312230656.jpg

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Solved by:
Pedro Cunha
Solved:
Last query:
Last reply:
Revision history for this message
Chris (fabricator4) said :
#1

In the screen shot it seems to be complaining about /dev/sda5 not being a valid partition. You should have more idea about this, regarding whether or not sda5 is the valid boot device. If you press 'e' on the grub boot loader before you boot you can change where and what kernel is being booted.

What I really wanted to say, is are you using Nvidia drivers? There have been issues with the third party Nvidia modules working with later kernels - some of the alphas for 12.04 wouldn't work with Nvidia. Some problems were 32 or 64 bit specific. The release of the 295.x Nvidia drivers produced yet another round of broken installs.

If this is the problem then you could try the Nouveau driver, or maybe even set up a test machine and install the 12.04 beta1 if you just want to play with the newer kernel. We're currently up 3.2.0-17

Chris

Revision history for this message
Pedro Cunha (sidner-7) said :
#2

Thanks for the answer Chris.

About the boot device, sda5 is the Linux partition, so no fault there.

Concerning Nvidia, I actually switched from the Nouveau driver day-before-yesterday to the Nvidia 295.x drivers...

Any idea how to remove the kernel? I can't find it in synaptic, since it wasn't an installed package, I compiled the whole thing... I'm good with the 2.6 until switching to 12.04, but I will create a live cd with the 12.04 to see how it works.

Again, thanks.

Pedro

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

The 3.0 kernel is not for Natty, if it was then there would be only one kernel for ALL Ubuntus. This is not the case and each release has it's own kernel branch.

If you need the newer kernel I suggest you upgrade to Oneiric and it will be default installed.

Revision history for this message
Pedro Cunha (sidner-7) said :
#4

Ok, I'll give you that. But now I want to remove it! :P How do I do it?

Still, it should work with an older version...pretty much like GNOME 3 should work with Natty, not just Oneiric and beyond... But this is not the place for that.

Revision history for this message
Chris (fabricator4) said :
#5

>Any idea how to remove the kernel? I can't find it in synaptic, since it wasn't an installed package, I

The kernel should be found in /boot/ assuming it was placed in the usual spot. Apart from that:

sudo find / -iname "initrd.img-3*"

should find it if the normal naming convention has been followed, or maybe

sudo find / -iname "initrd.img*"

will find all the kernels including the one you are looking for.

Chris.

Revision history for this message
Pedro Cunha (sidner-7) said :
#6

So I just delete the files?! =\ Sorry for the noob questions, btw. And thank you Chris, for bearing with me.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

How did you install the kernel?

Revision history for this message
Pedro Cunha (sidner-7) said :
#8
Revision history for this message
Pedro Cunha (sidner-7) said :
#9

Ok, found out... Deleted the files in /boot and in /lib/modules and reconfigured grub. Thanks for the help.