On 09/22/2010 08:22 AM, Colin Watson wrote: > On Wed, Sep 22, 2010 at 03:47:59AM -0000, Don Porter wrote: > >> I am trying to build a custom 2.6.34 kernel on 10.04.1, and I cannot get >> it to interoperate with the automatic grub updating scripts. I am using >> grub 1. >> >> When I try to install the make-kpkg'd kernel package (called -unmod >> here), I get this output: >> > [...] > >> User postinst hook script [update-grub] exited with value 20 >> > Can you try this with: > > sudo DEBCONF_DEBUG=developer apt-get -f install > > Sure: Here's the relevant portion of the output:
Setting up linux-image-2.6.34-unmod (1) ... debconf (developer): frontend started debconf (developer): frontend running, package name is linux-image-2.6.34-unmod debconf (developer): starting /var/lib/dpkg/info/linux-image-2.6.34-unmod.config configure 1 debconf (developer): <-- VERSION 2.0 debconf (developer): --> 0 2.0 debconf (developer): starting /var/lib/dpkg/info/linux-image-2.6.34-unmod.postinst configure 1 debconf (developer): <-- VERSION 2.0 debconf (developer): --> 0 2.0 debconf (developer): <-- CAPB backup debconf (developer): --> 0 multiselect escape backup Running depmod. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs 2.6.34-unmod /boot/vmlinuz-2.6.34-unmod debconf (developer): <-- update-initramfs: Generating /boot/initrd.img-2.6.34-unmod 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-2.6.34-unmod Found kernel: /boot/vmlinuz-2.6.34-olf Found kernel: /boot/vmlinuz-2.6.32-24-server Found kernel: /boot/vmlinuz-2.6.32-21-server Found GRUB 2: /boot/grub/core.img Found kernel: /boot/memtest86+.bin debconf (developer): <-- X_LOADTEMPLATEFILE /var/lib/dpkg/info/grub.templates grub User postinst hook script [update-grub] exited with value 20 debconf (developer): --> 0 dpkg: error processing linux-image-2.6.34-unmod (--install): subprocess installed post-installation script returned error exit status 128 Errors were encountered while processing: linux-image-2.6.34-unmod porte...@yorke:~$ Thanks! Don -- update-grub fails on custom kernel https://bugs.launchpad.net/bugs/644879 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
