Bug#534599: grub-common: Doesn't display entries generated by 30_os-prober

Nelson A. de Oliveira naoliv at debian.org
Thu Jun 25 17:27:34 UTC 2009


Package: grub-common
Version: 1.96+20090611-1
Severity: important

Hi!

After upgrading from grub 1.96+20090603-2 to 1.96+20090611-1 I don't see
anymore the entries generated by 30_os-prober on grub menu.

The working grub.cfg is attached (generated by 1.96+20090603-2).
I saw two changes with the new grub.cfg (generated by 1.96+20090611-1): it's
including two new lines in the menuentry sections generated by 30_os-prober
(see the attached grub.cfg's diff, generated from 1.96+20090603-2 to
1.96+20090611-1).

Thank you!

Best regards,
Nelson

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

Kernel: Linux 2.6.30-naoliv1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-common depends on:
ii  base-files             5.0.0             Debian base system miscellaneous f
ii  libc6                  2.9-18            GNU C Library: Shared libraries
ii  libfreetype6           2.3.9-5           FreeType 2 font engine, shared lib
ii  libncurses5            5.7+20090523-1    shared libraries for terminal hand
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

grub-common recommends no packages.

Versions of packages grub-common suggests:
pn  multiboot-doc                 <none>     (no description available)

-- no debconf information
-------------- next part --------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,5)
search --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
if loadfont /usr/share/grub/ascii.pf2 ; then
  set gfxmode=1024x768
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
### 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_linux ###
menuentry "Debian GNU/Linux, linux 2.6.30-naoliv1" {
	set root=(hd0,5)
	search --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
	linux	/boot/vmlinuz-2.6.30-naoliv1 root=/dev/sda5 ro quiet 
}
menuentry "Debian GNU/Linux, linux 2.6.30-naoliv1 (recovery mode)" {
	set root=(hd0,5)
	search --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
	linux	/boot/vmlinuz-2.6.30-naoliv1 root=/dev/sda5 ro single quiet
}
menuentry "Debian GNU/Linux, linux 2.6.29-2-686" {
	set root=(hd0,5)
	search --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
	linux	/boot/vmlinuz-2.6.29-2-686 root=UUID=da63faac-229d-4896-b41b-b16a4f1a62e1 ro quiet 
	initrd	/boot/initrd.img-2.6.29-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.29-2-686 (recovery mode)" {
	set root=(hd0,5)
	search --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
	linux	/boot/vmlinuz-2.6.29-2-686 root=UUID=da63faac-229d-4896-b41b-b16a4f1a62e1 ro single quiet
	initrd	/boot/initrd.img-2.6.29-2-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Dell Utility Partition (on /dev/sda1)" {
	set root=(hd0,1)
	chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/sda2)" {
	set root=(hd0,2)
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
-------------- next part --------------
--- grub.cfg	2009-06-25 14:12:50.000000000 -0300
+++ /boot/grub/grub.cfg	2009-06-25 14:14:15.000000000 -0300
@@ -9,7 +9,7 @@
 set default=0
 set timeout=5
 set root=(hd0,5)
-search --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
+search --no-floppy --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
 if loadfont /usr/share/grub/ascii.pf2 ; then
   set gfxmode=1024x768
   insmod gfxterm
@@ -28,25 +28,25 @@
 ### END /etc/grub.d/05_debian_theme ###
 
 ### BEGIN /etc/grub.d/10_linux ###
-menuentry "Debian GNU/Linux, linux 2.6.30-naoliv1" {
+menuentry "Debian GNU/Linux, Linux 2.6.30-naoliv1" {
 	set root=(hd0,5)
-	search --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
+	search --no-floppy --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
 	linux	/boot/vmlinuz-2.6.30-naoliv1 root=/dev/sda5 ro quiet 
 }
-menuentry "Debian GNU/Linux, linux 2.6.30-naoliv1 (recovery mode)" {
+menuentry "Debian GNU/Linux, Linux 2.6.30-naoliv1 (recovery mode)" {
 	set root=(hd0,5)
-	search --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
+	search --no-floppy --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
 	linux	/boot/vmlinuz-2.6.30-naoliv1 root=/dev/sda5 ro single quiet
 }
-menuentry "Debian GNU/Linux, linux 2.6.29-2-686" {
+menuentry "Debian GNU/Linux, Linux 2.6.29-2-686" {
 	set root=(hd0,5)
-	search --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
+	search --no-floppy --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
 	linux	/boot/vmlinuz-2.6.29-2-686 root=UUID=da63faac-229d-4896-b41b-b16a4f1a62e1 ro quiet 
 	initrd	/boot/initrd.img-2.6.29-2-686
 }
-menuentry "Debian GNU/Linux, linux 2.6.29-2-686 (recovery mode)" {
+menuentry "Debian GNU/Linux, Linux 2.6.29-2-686 (recovery mode)" {
 	set root=(hd0,5)
-	search --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
+	search --no-floppy --fs-uuid --set da63faac-229d-4896-b41b-b16a4f1a62e1
 	linux	/boot/vmlinuz-2.6.29-2-686 root=UUID=da63faac-229d-4896-b41b-b16a4f1a62e1 ro single quiet
 	initrd	/boot/initrd.img-2.6.29-2-686
 }
@@ -64,10 +64,14 @@
 ### BEGIN /etc/grub.d/30_os-prober ###
 menuentry "Dell Utility Partition (on /dev/sda1)" {
 	set root=(hd0,1)
+	search --no-floppy --fs-uuid --set 07d6-071f
+	drivemap -s (hd0) $root
 	chainloader +1
 }
 menuentry "Microsoft Windows XP Professional (on /dev/sda2)" {
 	set root=(hd0,2)
+	search --no-floppy --fs-uuid --set b898a35c98a317c0
+	drivemap -s (hd0) $root
 	chainloader +1
 }
 ### END /etc/grub.d/30_os-prober ###


More information about the Pkg-grub-devel mailing list