Comment 4 for bug 27915

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 14 Dec 2005 00:50:57 +0100
From: Stefan Hirschmann <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: Grub: After installing linux-image-2.6.14-2-k7 grub had wrong entries

Package: linux-image-2.6.14-2-k7
Version: 2.6.14-5
Severity: critical
Justification: breaks the whole system

After installing linux-image-2.6.14-2-k7 grub had only wrong entries.
For example
Instead of hda(0,8) hda(0,7) was in the grub config file. And also:
Instead:
    /boot/vmlinuz-2.6.14-2-k7 root=/dev/hda9 ro
there was:
    /boot/vmlinuz-2.6.14-2-k7 root=/dev/hda8 ro

This was for all 3 kernels I have ever installed including this. Only
the winxp entry at the end of the menu.lst (the name of my grub
conffile) was not affected. Until I corrected this, the system was not
bootable so I think that severity: critical, breaks the whole system is
the right one, cause until I corrected it, no kernel version was able to
boot.

The output of my partition table is:
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
   /dev/hda1 * 4 765 6120765 b W95 FAT32
   /dev/hda2 766 19457 150143490 f W95 Ext'd
   (LBA)
   /dev/hda5 766 5227 35840983+ b W95 FAT32
   /dev/hda6 5228 14711 76180198+ b W95 FAT32
   /dev/hda7 14712 17484 22274091 b W95 FAT32
   /dev/hda8 17485 18358 7020373+ 83 Linux
   /dev/hda9 18359 19209 6835626 83 Linux
   /dev/hda10 19210 19457 1992028+ 82 Linux swap /

You should know, that linux (including the kernel) is installed on
hda9, but a few important directorys are chanced with symlinks to hda8
(e.g. home). The kernel itself is on hda9.

Another strang bug, is that if winxp is the first entry in grub, than it
will removed after an "aptitude install linux...."

Cheers,
Stefan

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-k7
Locale: LANG=de_AT@euro, LC_CTYPE=de_AT@euro (charmap=ISO-8859-15)

Versions of packages linux-image-2.6.14-2-k7 depends on:
ii module-init-tools 3.2-pre9-4 tools for managing Linux kernel mo
ii yaird [linux-initramfs-tool] 0.0.11-12 Yet Another mkInitRD

Versions of packages linux-image-2.6.14-2-k7 recommends:
ii libc6-i686 2.3.5-8 GNU C Library: Shared libraries [i

-- debconf information:
  linux-image-2.6.14-2-k7/preinst/elilo-initrd-2.6.14-2-k7: true
  linux-image-2.6.14-2-k7/preinst/lilo-initrd-2.6.14-2-k7: true
  linux-image-2.6.14-2-k7/preinst/abort-overwrite-2.6.14-2-k7:
  linux-image-2.6.14-2-k7/postinst/bootloader-error-2.6.14-2-k7:
  linux-image-2.6.14-2-k7/preinst/overwriting-modules-2.6.14-2-k7: true
  linux-image-2.6.14-2-k7/postinst/old-system-map-link-2.6.14-2-k7: true
  linux-image-2.6.14-2-k7/postinst/depmod-error-initrd-2.6.14-2-k7: false
  linux-image-2.6.14-2-k7/prerm/removing-running-kernel-2.6.14-2-k7: true
  linux-image-2.6.14-2-k7/preinst/initrd-2.6.14-2-k7:
  linux-image-2.6.14-2-k7/preinst/lilo-has-ramdisk:
  linux-image-2.6.14-2-k7/postinst/depmod-error-2.6.14-2-k7: false
  linux-image-2.6.14-2-k7/preinst/failed-to-move-modules-2.6.14-2-k7:
  linux-image-2.6.14-2-k7/postinst/old-dir-initrd-link-2.6.14-2-k7: true
  linux-image-2.6.14-2-k7/postinst/old-initrd-link-2.6.14-2-k7: true
  linux-image-2.6.14-2-k7/preinst/abort-install-2.6.14-2-k7:
  linux-image-2.6.14-2-k7/preinst/already-running-this-2.6.14-2-k7:
  linux-image-2.6.14-2-k7/preinst/bootloader-initrd-2.6.14-2-k7: true
  linux-image-2.6.14-2-k7/postinst/bootloader-test-error-2.6.14-2-k7:
  linux-image-2.6.14-2-k7/postinst/kimage-is-a-directory:
  linux-image-2.6.14-2-k7/prerm/would-invalidate-boot-loader-2.6.14-2-k7: true
  linux-image-2.6.14-2-k7/postinst/create-kimage-link-2.6.14-2-k7: true