Bug#558255: grub-pc: wrong boot patition in menu

Vladimir Stavrinov vs at inist.ru
Fri Nov 27 12:40:06 UTC 2009


Package: grub-pc
Version: 1.97+20091125-1
Severity: normal


You see menu entry like this

linux	/boot/vmlinuz-2.6.31-1-amd64 root=UUID=06779e83-c998-4a4b-bb52-f4bac1ee226a ro  vga=795  

That should be 

linux	/vmlinuz-2.6.31-1-amd64 root=UUID=06779e83-c998-4a4b-bb52-f4bac1ee226a ro  vga=795  


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/06779e83-c998-4a4b-bb52-f4bac1ee226a / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sda5 /usr ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sda6 /var ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sda7 /opt ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sda9 /tmp ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sda10 /home ext3 rw,relatime,errors=continue,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(fd0)	/dev/fd0
(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,1)
search --no-floppy --fs-uuid --set b4011f64-35db-41ca-8a45-65583cae2a3b
if loadfont /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=
insmod gettext 
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set b4011f64-35db-41ca-8a45-65583cae2a3b
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/06_grub_theme ###
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set b4011f64-35db-41ca-8a45-65583cae2a3b
insmod tga
if background_image /grub/debian-inist-640x480-2.tga ; then
  terminal console
  set gfxmode=1024x768
  #set gfxmode=640x480
  terminal gfxterm
  background_image /grub/debian-inist-640x480-2.tga 
  set color_normal=yellow/black
  set color_highlight=white/black
  #set menu_color_normal=cyan/black
  set menu_color_normal=green/black
  set menu_color_highlight=white/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/06_grub_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set b4011f64-35db-41ca-8a45-65583cae2a3b
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=UUID=06779e83-c998-4a4b-bb52-f4bac1ee226a ro  vga=795  
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set b4011f64-35db-41ca-8a45-65583cae2a3b
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=UUID=06779e83-c998-4a4b-bb52-f4bac1ee226a ro single  vga=795 
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set b4011f64-35db-41ca-8a45-65583cae2a3b
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=UUID=06779e83-c998-4a4b-bb52-f4bac1ee226a ro  vga=795  
	initrd	/boot/initrd.img-2.6.30-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set b4011f64-35db-41ca-8a45-65583cae2a3b
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=UUID=06779e83-c998-4a4b-bb52-f4bac1ee226a ro single  vga=795 
	initrd	/boot/initrd.img-2.6.30-2-amd64
}
### END /etc/grub.d/10_linux ###

### 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 ###
*********************** END /boot/grub/grub.cfg

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

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
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.97+20091125-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
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: vga=795
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
  grub-pc/install_devices:
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
  grub2/linux_cmdline_default:





More information about the Pkg-grub-devel mailing list