Bug#361270: Upgrade of initramfs-tools made kernel unbootable with lilo
Package: initramfs-tools Version: 0.59b Severity: critical Justification: breaks the whole system Upgrading initramfs-tools yesterday caused the current kernel 2.6.15-1 to become unbootable, apparently because the upgrade process regenerated initrd.img-2.6.15-1-k7. The upgrade process should have warned me to rerun lilo. Note that I normally use kernel 2.6.15-1-k7, rather than 2.6.12 listed below, but due to 2.6.15 being unbootable I had to boot into 2.6.12. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-k7 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages initramfs-tools depends on: ii busybox 1:1.01-4 Tiny utilities for small and embed ii cpio 2.6-11 GNU cpio -- a program to manage ar ii klibc-utils 1.2.4-1small statically-linked utilities ii module-init-tools 3.2.2-2tools for managing Linux kernel mo ii udev 0.088-2/dev/ and hotplug management daemo initramfs-tools recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#361270: Upgrade of initramfs-tools made kernel unbootable with lilo
severity 361270 important tags 361270 moreinfo stop On Fri, Apr 07, 2006 at 04:43:26PM +0100, David Jarvie wrote: Upgrading initramfs-tools yesterday caused the current kernel 2.6.15-1 to become unbootable, apparently because the upgrade process regenerated initrd.img-2.6.15-1-k7. The upgrade process should have warned me to rerun lilo. update-initramfs runs lilo, have you also grub around, please post output of: dpkg -l grub ls -l /sbin/grub /boot/grub/menu.lst Note that I normally use kernel 2.6.15-1-k7, rather than 2.6.12 listed below, but due to 2.6.15 being unbootable I had to boot into 2.6.12. please post the error message you see at your 2.6.15 boot? regards -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#361270: Upgrade of initramfs-tools made kernel unbootable with lilo
On Friday 07 April 2006 16:41, maximilian attems wrote: update-initramfs runs lilo, have you also grub around, I don't use grub, but as you will see below, it is installed. (I have had to use it in the past for system recovery when my commercial boot manager corrupted the MBR.) please post output of: dpkg -l grub ||/ Name Version Description +++-=-=-== ii grub 0.97-5GRand Unified Bootloader ls -l /sbin/grub /boot/grub/menu.lst -rw-r--r-- 1 root root 4014 Feb 15 06:50 /boot/grub/menu.lst -rwxr-xr-x 1 root root 137644 Feb 14 21:23 /sbin/grub please post the error message you see at your 2.6.15 boot? I don't remember what it said beyond being a kernel panic - it was early in the boot sequence, at the place where it usually fails if lilo hasn't been run when it should have been. I can't find messages from that boot attempt in any of the log files in /var/log, and I have since run lilo, so I won't be able to replicate it. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#361270: Upgrade of initramfs-tools made kernel unbootable with lilo
On Fri, Apr 07, 2006 at 08:51:12PM +0100, David Jarvie wrote: On Friday 07 April 2006 16:41, maximilian attems wrote: update-initramfs runs lilo, have you also grub around, I don't use grub, but as you will see below, it is installed. (I have had to use it in the past for system recovery when my commercial boot manager corrupted the MBR.) if grub is around lilo isn't run. if you really want lilo remove grub from your system and update-initramfs will call lilo. dpkg -l grub ||/ Name Version Description +++-=-=-== ii grub 0.97-5GRand Unified Bootloader ls -l /sbin/grub /boot/grub/menu.lst -rw-r--r-- 1 root root 4014 Feb 15 06:50 /boot/grub/menu.lst -rwxr-xr-x 1 root root 137644 Feb 14 21:23 /sbin/grub ok. please post the error message you see at your 2.6.15 boot? I don't remember what it said beyond being a kernel panic - it was early in the boot sequence, at the place where it usually fails if lilo hasn't been run when it should have been. I can't find messages from that boot attempt in any of the log files in /var/log, and I have since run lilo, so I won't be able to replicate it. doesn't matter at that stage, will be the same then #356850. i'll document the fact that if you use lilo you shouldn't have grub around in README.Debian. regards -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#361270: Upgrade of initramfs-tools made kernel unbootable with lilo
On Fri, 7 Apr 2006 21:30:36 +0200 maximilian attems wrote: On Fri, Apr 07, 2006 at 08:51:12PM +0100, David Jarvie wrote: On Friday 07 April 2006 16:41, maximilian attems wrote: update-initramfs runs lilo, have you also grub around, I don't use grub, but as you will see below, it is installed. (I have had to use it in the past for system recovery when my commercial boot manager corrupted the MBR.) if grub is around lilo isn't run. Wauw! Interesting (silent!) assumption. - Jonas -- * Jonas Smedegaard - idealist og Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ - Enden er nær: http://www.shibumi.org/eoti.htm pgpvvZ7FxPaA7.pgp Description: PGP signature
Bug#361270: Upgrade of initramfs-tools made kernel unbootable with lilo
On Friday 07 April 2006 20:30, maximilian attems wrote: On Fri, Apr 07, 2006 at 08:51:12PM +0100, David Jarvie wrote: if grub is around lilo isn't run. if you really want lilo remove grub from your system and update-initramfs will call lilo. ... i'll document the fact that if you use lilo you shouldn't have grub around in README.Debian. If both lilo and grub are installed, I can understand not running lilo automatically, but surely there should at the very least be a warning prompt about the possible need to run lilo. (And I mean a prompt requiring a response, so that it can't be overlooked when you're doing a bit upgrade of the system.) Essentially, if lilo is installed, make sure the upgrader knows that the system might not boot without further action. The same issue has hit me more than once recently - not just with initramfs-tools upgrades. A mere warning in README.Debian isn't enough given that it could make a system unbootable. Regards, David. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#361270: Upgrade of initramfs-tools made kernel unbootable with lilo
On Fri, Apr 07, 2006 at 09:58:07PM +0100, David Jarvie wrote: On Friday 07 April 2006 20:30, maximilian attems wrote: On Fri, Apr 07, 2006 at 08:51:12PM +0100, David Jarvie wrote: if grub is around lilo isn't run. if you really want lilo remove grub from your system and update-initramfs will call lilo. ... i'll document the fact that if you use lilo you shouldn't have grub around in README.Debian. If both lilo and grub are installed, I can understand not running lilo automatically, but surely there should at the very least be a warning prompt about the possible need to run lilo. (And I mean a prompt requiring a response, so that it can't be overlooked when you're doing a bit upgrade of the system.) Essentially, if lilo is installed, make sure the upgrader knows that the system might not boot without further action. The same issue has hit me more than once recently - not just with initramfs-tools upgrades. A mere warning in README.Debian isn't enough given that it could make a system unbootable. kernel-package wants to drop ability to run lilo on the postinstall. grub is the _default_. update-initramfs can easily check for an lilo.conf and warn in those cases. -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#361270: Upgrade of initramfs-tools made kernel unbootable with lilo
On Friday 07 April 2006 21:44, maximilian attems wrote: kernel-package wants to drop ability to run lilo on the postinstall. grub is the _default_. update-initramfs can easily check for an lilo.conf and warn in those cases. A warning (preferably in the form of a prompt which must be acknowledged) would be fine as far as I'm concerned. I've never been entirely happy about kernel-package offering to replace the MBR or run lilo directly, since my MBR is not written by either lilo or grub. Regards, David. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#361270: Upgrade of initramfs-tools made kernel unbootable with lilo
On Fri, 7 Apr 2006 22:44:41 +0200 maximilian attems wrote: On Fri, Apr 07, 2006 at 09:58:07PM +0100, David Jarvie wrote: On Friday 07 April 2006 20:30, maximilian attems wrote: On Fri, Apr 07, 2006 at 08:51:12PM +0100, David Jarvie wrote: if grub is around lilo isn't run. if you really want lilo remove grub from your system and update-initramfs will call lilo. ... i'll document the fact that if you use lilo you shouldn't have grub around in README.Debian. If both lilo and grub are installed, I can understand not running lilo automatically, but surely there should at the very least be a warning prompt about the possible need to run lilo. (And I mean a prompt requiring a response, so that it can't be overlooked when you're doing a bit upgrade of the system.) Essentially, if lilo is installed, make sure the upgrader knows that the system might not boot without further action. The same issue has hit me more than once recently - not just with initramfs-tools upgrades. A mere warning in README.Debian isn't enough given that it could make a system unbootable. kernel-package wants to drop ability to run lilo on the postinstall. I would be very surprised if this wasn't simply an act of no longer _special-casing_ lilo as has been done till now. Please provide a reference to avoid further speculation. grub is the _default_. So what? Being used by default by official Debian kernels does not allow any package to overrule a user favoring a different boot loader. The use of lilo must be respected, until officially unsupported generally in Debian. - Jonas -- * Jonas Smedegaard - idealist og Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ - Enden er nær: http://www.shibumi.org/eoti.htm pgpqwBwvXPRLd.pgp Description: PGP signature