Bug#553438: grub-mkconfig: Should only use grub.d items matching [0-9].* pattern

Tobias Diedrich ranma+debianbts at tdiedrich.de
Sat Oct 31 10:22:25 UTC 2009


Package: grub-common
Version: 1.97-1
Severity: normal


Since I prefer to write my grub entries myself, I wanted to disable 10_linux and renamed it to no_10_linux, but it still is used:
#
# 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,5)
search --no-floppy --fs-uuid --set defd1a91-d29f-49b0-bb1e-9bbc728588e0
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=5
### 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/08_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.
menuentry "Linux" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set ab4ead04-b4d7-4166-a72a-c4aaa6f93567
	linux	/vmlinuz root=/dev/sda5 ro root=/dev/sda5 resume=/dev/sda6 notsc i915.modeset=1 no_console_suspend usb_storage.delay_use=0 ro
}
menuentry "Linux.old" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set ab4ead04-b4d7-4166-a72a-c4aaa6f93567
	linux	/vmlinuz.old root=/dev/sda5 ro root=/dev/sda5 resume=/dev/sda6 notsc i915.modeset=1 no_console_suspend usb_storage.delay_use=0 ro
}
### END /etc/grub.d/08_custom ###

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

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###

### BEGIN /etc/grub.d/no_10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.32-rc5" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set ab4ead04-b4d7-4166-a72a-c4aaa6f93567
	linux	/vmlinuz-2.6.32-rc5 root=/dev/sda5 ro root=/dev/sda5 resume=/dev/sda6 notsc i915.modeset=1 no_console_suspend usb_storage.delay_use=0 ro 
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-rc5 (recovery mode)" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set ab4ead04-b4d7-4166-a72a-c4aaa6f93567
	linux	/vmlinuz-2.6.32-rc5 root=/dev/sda5 ro single root=/dev/sda5 resume=/dev/sda6 notsc i915.modeset=1 no_console_suspend usb_storage.delay_use=0 ro
}
menuentry "Debian GNU/Linux, with Linux 2.6.31.4" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set ab4ead04-b4d7-4166-a72a-c4aaa6f93567
	linux	/vmlinuz-2.6.31.4 root=/dev/sda5 ro root=/dev/sda5 resume=/dev/sda6 notsc i915.modeset=1 no_console_suspend usb_storage.delay_use=0 ro 
}
menuentry "Debian GNU/Linux, with Linux 2.6.31.4 (recovery mode)" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set ab4ead04-b4d7-4166-a72a-c4aaa6f93567
	linux	/vmlinuz-2.6.31.4 root=/dev/sda5 ro single root=/dev/sda5 resume=/dev/sda6 notsc i915.modeset=1 no_console_suspend usb_storage.delay_use=0 ro
}
menuentry "Debian GNU/Linux, with Linux 2.6.31" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set ab4ead04-b4d7-4166-a72a-c4aaa6f93567
	linux	/vmlinuz-2.6.31 root=/dev/sda5 ro root=/dev/sda5 resume=/dev/sda6 notsc i915.modeset=1 no_console_suspend usb_storage.delay_use=0 ro 
}
menuentry "Debian GNU/Linux, with Linux 2.6.31 (recovery mode)" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set ab4ead04-b4d7-4166-a72a-c4aaa6f93567
	linux	/vmlinuz-2.6.31 root=/dev/sda5 ro single root=/dev/sda5 resume=/dev/sda6 notsc i915.modeset=1 no_console_suspend usb_storage.delay_use=0 ro
}
### END /etc/grub.d/no_10_linux ###

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

Kernel: Linux 2.6.32-rc5 (PREEMPT)
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-common depends on:
ii  base-files             5.0.0             Debian base system miscellaneous f
ii  libc6                  2.10.1-3          GNU C Library: Shared libraries
ii  libfreetype6           2.3.11-1          FreeType 2 font engine, shared lib
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages grub-common recommends:
pn  os-prober                     <none>     (no description available)

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

-- no debconf information






More information about the Pkg-grub-devel mailing list