Bug#489551: grub-pc: update-grub does not find kernels

Pauli Manninen miyo at iki.fi
Sun Jul 6 20:36:24 UTC 2008


Package: grub-pc
Version: 1.96+20080704-1
Severity: important


This fixes it for me,

--- /etc/grub.d/10_linux   2008-07-06 23:33:54.000000000 +0300
+++ /etc/grub.d/10_linux    2008-07-06 23:28:14.000000000 +0300
@@ -134,7 +135,7 @@
 {
    local a=`echo $1 | sed -e "s/vmlinu[zx]-//g"`
	   local b=`echo $2 | sed -e "s/vmlinu[zx]-//g"`
	   -  [ `CompareVersions "$a" "$b"` == 1 ]
	   +  [ `CompareVersions "$a" "$b"` -eq 1 ]
	      return $?
		   }


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda3 / ext3 rw,noatime,errors=remount-ro,data=ordered 0 0
/dev/sda3 /dev/.static/dev ext3 rw,noatime,errors=remount-ro,data=ordered 0 0
/dev/mapper/vg00-lvol0 /usr reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol1 /usr/local reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol2 /tmp reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol3 /var reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol4 /var/backups reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol5 /var/cache reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol6 /var/lib reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol7 /var/log reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol8 /var/mail reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol9 /var/spool reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol10 /var/tmp reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol12 /home reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol11 /opt reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol14 /scratch reiserfs rw,noatime,notail 0 0
/dev/mapper/vg00-lvol13 /store reiserfs rw,noatime,notail 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
terminal console
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
set root=(hd0,3)
search --fs-uuid --set da240e88-a6dd-4555-8ac2-f1305ff1657c
menuentry "Debian GNU/Linux, linux 2.6.25-2-686" {
	linux	/boot/vmlinuz-2.6.25-2-686 root=UUID=da240e88-a6dd-4555-8ac2-f1305ff1657c ro  
	initrd	/boot/initrd.img-2.6.25-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-686 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.25-2-686 root=UUID=da240e88-a6dd-4555-8ac2-f1305ff1657c ro single 
	initrd	/boot/initrd.img-2.6.25-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-686" {
	linux	/boot/vmlinuz-2.6.24-1-686 root=UUID=da240e88-a6dd-4555-8ac2-f1305ff1657c ro  
	initrd	/boot/initrd.img-2.6.24-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-686 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.24-1-686 root=UUID=da240e88-a6dd-4555-8ac2-f1305ff1657c ro single 
	initrd	/boot/initrd.img-2.6.24-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.23.14" {
	linux	/boot/vmlinuz-2.6.23.14 root=UUID=da240e88-a6dd-4555-8ac2-f1305ff1657c ro  
	initrd	/boot/initrd.img-2.6.23.14
}
menuentry "Debian GNU/Linux, linux 2.6.23.14 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.23.14 root=UUID=da240e88-a6dd-4555-8ac2-f1305ff1657c ro single 
	initrd	/boot/initrd.img-2.6.23.14
}
menuentry "Debian GNU/Linux, linux 2.6.23.12" {
	linux	/boot/vmlinuz-2.6.23.12 root=UUID=da240e88-a6dd-4555-8ac2-f1305ff1657c ro  
	initrd	/boot/initrd.img-2.6.23.12
}
menuentry "Debian GNU/Linux, linux 2.6.23.12 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.23.12 root=UUID=da240e88-a6dd-4555-8ac2-f1305ff1657c ro single 
	initrd	/boot/initrd.img-2.6.23.12
}
menuentry "Debian GNU/Linux, linux 2.6.22-3-k7" {
	linux	/boot/vmlinuz-2.6.22-3-k7 root=UUID=da240e88-a6dd-4555-8ac2-f1305ff1657c ro  
	initrd	/boot/initrd.img-2.6.22-3-k7
}
menuentry "Debian GNU/Linux, linux 2.6.22-3-k7 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.22-3-k7 root=UUID=da240e88-a6dd-4555-8ac2-f1305ff1657c ro single 
	initrd	/boot/initrd.img-2.6.22-3-k7
}
menuentry "Debian GNU/Linux, linux 2.6.18-4-k7" {
	linux	/boot/vmlinuz-2.6.18-4-k7 root=UUID=da240e88-a6dd-4555-8ac2-f1305ff1657c ro  
	initrd	/boot/initrd.img-2.6.18-4-k7
}
menuentry "Debian GNU/Linux, linux 2.6.18-4-k7 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.18-4-k7 root=UUID=da240e88-a6dd-4555-8ac2-f1305ff1657c ro single 
	initrd	/boot/initrd.img-2.6.18-4-k7
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux	/memtest86+.bin
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.22          Debian configuration management sy
ii  grub-common              1.96+20080704-1 GRand Unified Bootloader, version 
ii  libc6                    2.7-12          GNU C Library: Shared libraries
ii  liblzo2-2                2.03-1          data compression library
ii  libncurses5              5.6+20080621-2  shared libraries for terminal hand

grub-pc recommends no packages.

-- debconf information excluded





More information about the Pkg-grub-devel mailing list