PDA

View Full Version : [ubuntu] change in kernel directories



AbhijitG
July 16th, 2012, 01:07 PM
Hi,
I have upgraded from ubuntu 10.10 to 11.04.
& had uame -r > 2.6.38-15-generic-pae
Now the problem is when i want to build kernel modules it doesnt have build directory in location /lib/modules/2.6.38-15-generic-pae/
I can not compile the modules without those and with the previous kernel files :(
Plz Can anybody tell me what is happening?

dino99
July 16th, 2012, 05:09 PM
/lib/modules/ is only cleaned when a kernel is purged. So you might have the kernel(s) subfolder(s) actually installed. Update the system and reinstall the missing kernel, then /lib/modules/ will have it.

https://launchpad.net/ubuntu/+source/linux

AbhijitG
July 17th, 2012, 05:29 AM
Thnx dino99

Dont wanna know why that happened but installed new kernel 3.3.4
and back to normal routine