Public bug reported:

Binary package hint: grub

Hi,

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:

porte...@yorke:/boot/grub$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up linux-image-2.6.34-unmod (1) ...
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
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.32-24-server
Found kernel: /boot/vmlinuz-2.6.32-21-server
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86+.bin
User postinst hook script [update-grub] exited with value 20
dpkg: error processing linux-image-2.6.34-unmod (--configure):
 subprocess installed post-installation script returned error exit status 128
Errors were encountered while processing:
 linux-image-2.6.34-unmod
E: Sub-process /usr/bin/dpkg returned an error code (1)

I spent a fair bit of time searching similar bug reports, and I came up
empty handed.

I can work-around the problem by manually running update-grub, but I'd
like to be able to automatically update my menu.lst.

Any advice on how to resolve this problem would be much appreciated.

Thanks,
Don

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: grub 0.97-29ubuntu60
ProcVersionSignature: Ubuntu 2.6.32-24.43-server 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-server x86_64
Architecture: amd64
Date: Tue Sep 21 21:40:29 2010
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 
(20100427)
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 LC_CTYPE=POSIX
SourcePackage: grub

** Affects: grub (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
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

Reply via email to