Bug#563204: grub-pc: missing os-prober not reported

John Verel jverel at optonline.net
Thu Dec 31 22:28:02 UTC 2009


Package: grub-pc
Version: 1.98~20091210-1
Severity: important

Script 30_os-prober tests for existence of os-prober at line 29.  If os-prober is not
installed, then exit 0 at line 31.  My machine did not have os-prober installed.
The result is that grub.conf had not reference to my Windows XP
istallation.  I installed os-prober and re-ran update-grub2, picking up
XP partition.

Suggest grub-pc package require os-prober and/or report condition at
exit noted above.

(This may be received twice, as I forwarded an attached verison via regular mail, after text based reportbug failed with SMTP authentication error.)

John



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/hda7 / ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/hda6 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/hda1 /home/vfat vfat rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hda
*********************** 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
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 1a3acdc5-dca3-471e-8dc3-a7a2166d7ba4
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  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 locale_dir=/boot/grub/locale
set lang=en
insmod gettext 
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set bdefb081-d88a-460a-88a3-51ca13b801ef
insmod png
if background_image /grub/moreblue-orbit-grub.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, with Linux 2.6.30-1-686" {
	insmod ext2
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set bdefb081-d88a-460a-88a3-51ca13b801ef
	linux	//vmlinuz-2.6.30-1-686 root=UUID=1a3acdc5-dca3-471e-8dc3-a7a2166d7ba4 ro  quiet
	initrd	//initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-1-686 (recovery mode)" {
	insmod ext2
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set bdefb081-d88a-460a-88a3-51ca13b801ef
	linux	//vmlinuz-2.6.30-1-686 root=UUID=1a3acdc5-dca3-471e-8dc3-a7a2166d7ba4 ro single 
	initrd	//initrd.img-2.6.30-1-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/hda1)" {
	insmod fat
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 4145-673b
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry "Windows NT/2000/XP (on /dev/hda2)" {
	insmod fat
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set 1b33-0a00
	drivemap -s (hd0) ${root}
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
#To pick up Windows partition for GRUB2
menuentry "Windows XP" {
insmod chain
insmod vfat
search --fs-uuid --set 4145-673b
chainloader +1
}

### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

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

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.28          Debian configuration management sy
ii  grub-common              1.98~20091210-1 GRand Unified Bootloader, version 
ii  libc6                    2.10.2-2        GNU C Library: Shared libraries
ii  ucf                      3.0025          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

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





More information about the Pkg-grub-devel mailing list