View Full Version : [ubuntu] problem with new kernel

October 8th, 2009, 10:05 PM
okay so i was just compiling a new custom kernel and it got to making .deb files correctly i go to install...it then goes to configuring the new menu.lst and then i say use the package maintainers one...and not mine....it then threw some weird error....towards the end....i had a custom not install correctly so i have tried totally removing it from my system this is after i installed a custom and got the error on menu.lst

and now when ever i install/remove/purge anything this is what happenes and it gives me a nice error.....

Setting up linux-image- ( ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
) points to /boot/initrd.img-
(/boot/initrd.img- -- doing nothing at /var/lib/dpkg/info/linux-image- line 588.
) points to /boot/vmlinuz-
(/boot/vmlinuz- -- doing nothing at /var/lib/dpkg/info/linux-image- line 588.
Running postinst hook script update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-2.6.28-15-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
run-parts: executing /etc/kernel/postinst.d/nvidia-common
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 20
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image- line 1186.
dpkg: error processing linux-image- (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

i am wondering after i removed all the out of /boot and out of /usr/src why it still is using that kernel version....

October 15th, 2009, 09:14 AM
I'm sorry no one has answered before this. I'm just now seeing it.
Do you still have a copy of your 'original' menu.lst?(from before you started compiling the custom kernel)
If so could you post both it AND your new menu.lst?