Bug#422459: grub2: After current update update-grub messes up device names, making the system unbootable.

Sz��niel dtr at chello.hu
Sun May 6 06:41:50 UTC 2007


Package: grub2
Version: 1.95+20070505-1
Severity: critical
Justification: breaks the whole system



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

Kernel: Linux 2.6.20-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-2) (ignored: LC_ALL set to hu_HU)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub2 depends on:
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
ii  libc6                         2.5-5      GNU C Library: Shared libraries
ii  liblzo1                       1.08-3     data compression library (old vers

grub2 recommends no packages.

-- debconf information:
* grub2/numbering_scheme_transition:
-------------- next part --------------
#
# DO NOT EDIT THIS FILE
#
# It is automaticaly generated by /usr/sbin/update-grub using templates from /etc/grub.d
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,1)
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.17-2-amd64" {
	linux	/boot/vmlinuz-2.6.17-2-amd64 root=/dev/sda1 ro
	initrd	/boot/initrd.img-2.6.17-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.17-2-amd64 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.17-2-amd64 root=/dev/sda1 ro single
	initrd	/boot/initrd.img-2.6.17-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.18-1-amd64" {
	linux	/boot/vmlinuz-2.6.18-1-amd64 root=/dev/sda1 ro
	initrd	/boot/initrd.img-2.6.18-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.18-1-amd64 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.18-1-amd64 root=/dev/sda1 ro single
	initrd	/boot/initrd.img-2.6.18-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.18-2-amd64" {
	linux	/boot/vmlinuz-2.6.18-2-amd64 root=/dev/sda1 ro
	initrd	/boot/initrd.img-2.6.18-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.18-2-amd64 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.18-2-amd64 root=/dev/sda1 ro single
	initrd	/boot/initrd.img-2.6.18-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.20-1-amd64" {
	linux	/boot/vmlinuz-2.6.20-1-amd64 root=/dev/sda1 ro
	initrd	/boot/initrd.img-2.6.20-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.20-1-amd64 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.20-1-amd64 root=/dev/sda1 ro single
	initrd	/boot/initrd.img-2.6.20-1-amd64
}
### END /etc/grub.d/10_linux ###
-------------- next part --------------
# grub.cfg - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
set default=2

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
set timeout=5

# Pretty colours
# FIXME: use gfxterm here?

# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/md0 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the grub.cfg
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

menuentry "Debian GNU/Linux, linux 2.6.18-2-amd64" {
	set root=(hd0,0)
	linux	/vmlinuz-2.6.18-2-amd64 root=/dev/md0 ro 
	initrd	/initrd.img-2.6.18-2-amd64
}

menuentry "Debian GNU/Linux, linux 2.6.18-2-amd64 (single-user mode)" {
	set root=(hd0,0)
	linux	/vmlinuz-2.6.18-2-amd64 root=/dev/md0 ro single
	initrd	/initrd.img-2.6.18-2-amd64
}

menuentry "Debian GNU/Linux, linux 2.6.18-1-amd64" {
	set root=(hd0,0)
	linux	/vmlinuz-2.6.18-1-amd64 root=/dev/md0 ro 
	initrd	/initrd.img-2.6.18-1-amd64
}

menuentry "Debian GNU/Linux, linux 2.6.18-1-amd64 (single-user mode)" {
	set root=(hd0,0)
	linux	/vmlinuz-2.6.18-1-amd64 root=/dev/md0 ro single
	initrd	/initrd.img-2.6.18-1-amd64
}

menuentry "Debian GNU/Linux, linux 2.6.17-2-amd64" {
	set root=(hd0,0)
	linux	/vmlinuz-2.6.17-2-amd64 root=/dev/md0 ro 
	initrd	/initrd.img-2.6.17-2-amd64
}

menuentry "Debian GNU/Linux, linux 2.6.17-2-amd64 (single-user mode)" {
	set root=(hd0,0)
	linux	/vmlinuz-2.6.17-2-amd64 root=/dev/md0 ro single
	initrd	/initrd.img-2.6.17-2-amd64
}

menuentry "Debian GNU/Linux, linux memtest86+" {
	set root=(hd0,0)
	linux	/memtest86+.bin
}

### END DEBIAN AUTOMAGIC KERNELS LIST

menuentry "Debian GNU/Linux, linux 2.6.18-1-amd64, 0,1" {
	set root=(hd0,1)
	linux	/vmlinuz-2.6.18-1-amd64 root=/dev/md0 ro 
	initrd	/initrd.img-2.6.18-1-amd64
}

menuentry "Debian GNU/Linux, linux 2.6.18-1-amd64, 1,1" {
	set root=(hd1,1)
	linux	/vmlinuz-2.6.18-1-amd64 root=/dev/md0 ro 
	initrd	/initrd.img-2.6.18-1-amd64
}


More information about the Pkg-grub-devel mailing list