Bug#553999: grub-pc: Difficult to remove os-prober menu entries
Bruce LaZerte
bdl at fwr.on.ca
Mon Nov 2 16:15:09 UTC 2009
Subject: grub-pc: Difficult to remove os-prober menu entries
Package: grub-pc
Version: 1.97~beta3-1
Severity: normal
*** Please type your report below this line ***
os-prober reports Dell's Windows Recovery partition, as well as the
regular Windoze partition. And grub-pc automatically adds both to the
menu list. I see no easy way to remove the Recovery partition from
the menu list, other than by editting /etc/grub.d/30_os-prober, an edit which
could be erased at each upgrade.
Perhaps an option to ignore OS's on specified partitions could be built
into /etc/default/grub?
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/root / ext3 rw,relatime,errors=remount-ro,data=writeback 0 0
/dev/sda5 /home/gertrud/d-drive fuseblk
rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096
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
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 1d3b961a-dbaa-4a20-88c4-83cdd6679891
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 timeout=4
### 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 1d3b961a-dbaa-4a20-88c4-83cdd6679891
insmod png
if background_image /boot/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, Linux 2.6.31.5" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 1d3b961a-dbaa-4a20-88c4-83cdd6679891
linux /boot/vmlinuz-2.6.31.5 root=/dev/sda6 ro quiet
}
menuentry "Debian GNU/Linux, Linux 2.6.31.5 (recovery mode)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 1d3b961a-dbaa-4a20-88c4-83cdd6679891
linux /boot/vmlinuz-2.6.31.5 root=/dev/sda6 ro single
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 1d3b961a-dbaa-4a20-88c4-83cdd6679891
linux /boot/vmlinuz-2.6.30-1-686
root=UUID=1d3b961a-dbaa-4a20-88c4-83cdd6679891 ro quiet
initrd /boot/initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686 (recovery mode)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 1d3b961a-dbaa-4a20-88c4-83cdd6679891
linux /boot/vmlinuz-2.6.30-1-686
root=UUID=1d3b961a-dbaa-4a20-88c4-83cdd6679891 ro single
initrd /boot/initrd.img-2.6.30-1-686
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Dell Utility Partition (on /dev/sda1)" {
insmod fat
set root=(hd0,1)
search --no-floppy --fs-uuid --set 07d6-0a03
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Microsoft Windows XP Home Edition (on /dev/sda2)" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set 5ab0d590b0d5734d
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.
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.31.5 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.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.28 Debian configuration management sy
ii grub-common 1.97~beta3-1 GRand Unified Bootloader, version
ii libc6 2.9-25 GNU C Library: Shared libraries
ii ucf 3.0024 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:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
grub-pc/kopt_extracted: true
* 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