Package: grub Version: 0.97-13 Severity: critical Justification: breaks the whole system
Yesterday I upgraded my etch-system with aptitude dist-upgrade grub was upgraded from version 0.97-12 to version 0.97-13. During the upgrade the file /boot/grub/menu.lst was updated incorrectly, the partition numbers miraculously increased by one. What has been (hd0,5) and /dev/hda6 was replaced by (hd0,6) and /dev/hda7 resulting in an unbootable system. This is the output of "diff -c menu.lst~ menu.lst" ================================================================ *** menu.lst~ Tue Aug 15 23:12:56 2006 --- menu.lst Tue Aug 15 23:12:56 2006 *************** *** 78,87 **** ## e.g. defoptions=vga=791 resume=/dev/hda5 # defoptions= ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ! ## altoptions=(recovery mode) single # altoptions=(recovery mode) single ## controls how many kernels should be put into the menu.lst --- 78,98 ---- ## 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=(recovery mode) single ## controls how many kernels should be put into the menu.lst *************** *** 96,134 **** ## memtest86=false # memtest86=true ## ## End Default Options ## title Debian GNU/Linux, kernel 2.6.15-1-686 ! root (hd0,5) ! kernel /boot/vmlinuz-2.6.15-1-686 root=/dev/hda6 ro initrd /boot/initrd.img-2.6.15-1-686 savedefault boot title Debian GNU/Linux, kernel 2.6.15-1-686 (recovery mode) ! root (hd0,5) ! kernel /boot/vmlinuz-2.6.15-1-686 root=/dev/hda6 ro single initrd /boot/initrd.img-2.6.15-1-686 savedefault boot title Debian GNU/Linux, kernel 2.6.12-1-686 ! root (hd0,5) ! kernel /boot/vmlinuz-2.6.12-1-686 root=/dev/hda6 ro initrd /boot/initrd.img-2.6.12-1-686 savedefault boot title Debian GNU/Linux, kernel 2.6.12-1-686 (recovery mode) ! root (hd0,5) ! kernel /boot/vmlinuz-2.6.12-1-686 root=/dev/hda6 ro single initrd /boot/initrd.img-2.6.12-1-686 savedefault boot title Debian GNU/Linux, kernel memtest86 ! root (hd0,5) ! kernel /boot/memtest86.bin boot ### END DEBIAN AUTOMAGIC KERNELS LIST --- 107,163 ---- ## 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 ## + title Debian GNU/Linux, kernel 2.6.16-2-686 + root (hd0,6) + kernel /boot/vmlinuz-2.6.16-2-686 root=/dev/hda7 ro + initrd /boot/initrd.img-2.6.16-2-686 + savedefault + boot + + title Debian GNU/Linux, kernel 2.6.16-2-686 (recovery mode) + root (hd0,6) + kernel /boot/vmlinuz-2.6.16-2-686 root=/dev/hda7 ro single + initrd /boot/initrd.img-2.6.16-2-686 + savedefault + boot + title Debian GNU/Linux, kernel 2.6.15-1-686 ! root (hd0,6) ! kernel /boot/vmlinuz-2.6.15-1-686 root=/dev/hda7 ro initrd /boot/initrd.img-2.6.15-1-686 savedefault boot title Debian GNU/Linux, kernel 2.6.15-1-686 (recovery mode) ! root (hd0,6) ! kernel /boot/vmlinuz-2.6.15-1-686 root=/dev/hda7 ro single initrd /boot/initrd.img-2.6.15-1-686 savedefault boot title Debian GNU/Linux, kernel 2.6.12-1-686 ! root (hd0,6) ! kernel /boot/vmlinuz-2.6.12-1-686 root=/dev/hda7 ro initrd /boot/initrd.img-2.6.12-1-686 savedefault boot title Debian GNU/Linux, kernel 2.6.12-1-686 (recovery mode) ! root (hd0,6) ! kernel /boot/vmlinuz-2.6.12-1-686 root=/dev/hda7 ro single initrd /boot/initrd.img-2.6.12-1-686 savedefault boot title Debian GNU/Linux, kernel memtest86 ! root (hd0,6) ! kernel /boot/memtest86.bin boot ### END DEBIAN AUTOMAGIC KERNELS LIST ================================================================ -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages grub depends on: ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libncurses5 5.5-2 Shared libraries for terminal hand grub recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]