--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-image-2.6.18-4-amd64: upgrade installation script bug
- From: Serge D <serge@amerisys.com>
- Date: Wed, 18 Feb 2009 16:01:56 -0500
- Message-id: <20090218210156.4030.50535.reportbug@AmSys5.AmeriSys.com>
Package: linux-image-2.6.18-4-amd64
Version: 2.6.18.dfsg.1-12etch2
Severity: normal
-- System Information:
Debian Release: 4.0
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Versions of packages linux-image-2.6.18-4-amd64 depends on:
ii cor 5.97-5.3 The GNU core utilities
ii deb 1.5.11etch2 Debian configuration management sy
ii e2f 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 ext2 file system utilities and lib
ii ini 0.85i tools for generating an initramfs
ii mod 3.3-pre4-2 tools for managing Linux kernel mo
linux-image-2.6.18-4-amd64 recommends no packages.
-- debconf information:
linux-image-2.6.18-4-amd64/postinst/kimage-is-a-directory:
linux-image-2.6.18-4-amd64/postinst/bootloader-test-error-2.6.18-4-amd64:
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.18-4-amd64/preinst/lilo-initrd-2.6.18-4-amd64: true
linux-image-2.6.18-4-amd64/preinst/initrd-2.6.18-4-amd64:
linux-image-2.6.18-4-amd64/preinst/abort-overwrite-2.6.18-4-amd64:
linux-image-2.6.18-4-amd64/preinst/failed-to-move-modules-2.6.18-4-amd64:
linux-image-2.6.18-4-amd64/postinst/old-initrd-link-2.6.18-4-amd64: true
linux-image-2.6.18-4-amd64/postinst/depmod-error-initrd-2.6.18-4-amd64: false
linux-image-2.6.18-4-amd64/postinst/create-kimage-link-2.6.18-4-amd64: true
linux-image-2.6.18-4-amd64/preinst/lilo-has-ramdisk:
linux-image-2.6.18-4-amd64/postinst/old-dir-initrd-link-2.6.18-4-amd64: true
linux-image-2.6.18-4-amd64/postinst/depmod-error-2.6.18-4-amd64: false
linux-image-2.6.18-4-amd64/prerm/removing-running-kernel-2.6.18-4-amd64: true
linux-image-2.6.18-4-amd64/postinst/bootloader-error-2.6.18-4-amd64:
linux-image-2.6.18-4-amd64/postinst/old-system-map-link-2.6.18-4-amd64: true
* linux-image-2.6.18-4-amd64/preinst/already-running-this-2.6.18-4-amd64:
linux-image-2.6.18-4-amd64/preinst/bootloader-initrd-2.6.18-4-amd64: true
linux-image-2.6.18-4-amd64/preinst/overwriting-modules-2.6.18-4-amd64: true
linux-image-2.6.18-4-amd64/preinst/elilo-initrd-2.6.18-4-amd64: true
linux-image-2.6.18-4-amd64/preinst/abort-install-2.6.18-4-amd64:
linux-image-2.6.18-4-amd64/prerm/would-invalidate-boot-loader-2.6.18-4-amd64: true
Hello Debian people!
My System is 2.6.18-6-amd64 #1 SMP x86_64 GNU/Linux, I have root "/" on /dev/sda7 partition. Each time when it
comes to upgrade the kernel (I simply do 'apt-get upgrade' to upgrade my system) the installation script of
linux-image package screws up the settings in /boot/grub/menu.lst ! I have such a line "kernel
/vmlinuz-2.6.18-6-amd64 root=/dev/sda7 ro" in my menu.lst -- it's default setting (it was done like this during
initial system installation).
Here is relevant part of /boot/grub/menu.lst before upgrade:
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.18-6-amd64
root (hd0,0)
kernel /vmlinuz-2.6.18-6-amd64 root=/dev/sda7 ro
initrd /initrd.img-2.6.18-6-amd64
savedefault
..and the same part after upgrade:
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.18-6-amd64
root (hd0,0)
kernel /vmlinuz-2.6.18-6-amd64 root=/dev/sda1 ro
initrd /initrd.img-2.6.18-6-amd64
savedefault
.. and it does the same kind of wrong changes for each block of boot scenario, for "single-user mode", etc.
making impossible to boot normal way without qualified personnel intervention.
I had to fix it manually after each upgrade before go to reboot. Last time it was my
3rd kernel upgrade and it looks the problem is not fixed yet, so I decided to submit this bug report to Debian
community. I guess this bug affects the systems like mine, i.e. where root partition is not on sda1 (or hda1,
etc..), so it may lead to serious trouble those who less experienced with Linux.
Regards,
Serge Dudko
--- End Message ---