Bug#544381: grub-pc: The os_prober does not include all the systems and entries are also not complete.

Sridhar M.A. mas at mylug.org
Mon Aug 31 04:30:05 UTC 2009


Package: grub-pc
Version: 1.97~beta1-1
Severity: normal

The configuration of grub-pc calls os_prober is supposed to include other OS's on the machine. 
In my case, I have the following systems installed :
  
	Debian
	Xubuntu
	Mandriva
	Geexbox

Of these, entries in /boot/grub/grub.cfg for debian and xubuntu are correct. For Mandriva, 
the initrd entry is not included which makes the system non-bootable. Entries for geexbox 
are not there at all!


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/38cdc2a3-0395-40d3-a637-9194b325a977 / reiserfs rw,relatime,notail 0 0
/dev/sda6 /home reiserfs rw,relatime 0 0
/dev/sda2 /mnt ext4 rw,relatime,barrier=1,data=ordered 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/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set gfxpayload=1280x800x32
insmod reiserfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 38cdc2a3-0395-40d3-a637-9194b325a977
if loadfont /usr/share/grub/unicode.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
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod reiserfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 38cdc2a3-0395-40d3-a637-9194b325a977
insmod png
if background_image /boot/grub/deb-grub2-wallpaper.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686" {
	insmod reiserfs
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 38cdc2a3-0395-40d3-a637-9194b325a977
	linux	/boot/vmlinuz-2.6.30-1-686 root=UUID=38cdc2a3-0395-40d3-a637-9194b325a977 ro  quiet
	initrd	/boot/initrd.img-2.6.30-1-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Xubuntu 9.04, kernel 2.6.28-11-generic (on /dev/sda2)" {
	insmod ext2
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set 9418faff-8c60-42e5-b383-63040306cb23
	linux /boot/vmlinuz-2.6.28-11-generic root=UUID=9418faff-8c60-42e5-b383-63040306cb23 ro quiet splash vga=791
	initrd /boot/initrd.img-2.6.28-11-generic
}
menuentry "Mandriva Linux 2009.1 (2009.1) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set 59b986a1-2ffc-4982-8710-5ddbc1038ca5
	linux /boot/vmlinuz-2.6.29.1-desktop-4mnb root=/dev/sda3
	initrd		/boot/initrd-2.6.29.1-desktop-4mnb.img
}
### 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 ###
*********************** END /boot/grub/grub.cfg

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

Kernel: Linux 2.6.30-1-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/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]       1.5.27       Debian configuration management sy
ii  grub-common                 1.97~beta1-1 GRand Unified Bootloader, version 
ii  libc6                       2.9-23       GNU C Library: Shared libraries
ii  ucf                         3.0018       Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub-pc/linux_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/sda
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet





More information about the Pkg-grub-devel mailing list