[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#322637: initrd-tools: Can't install linux-image-2.6.12-1-k7 due to mkinitrd failure to find /dev/hde1



Package: initrd-tools
Version: 0.1.81.1
Severity: important

During my sid upgrade today, I found I was unable to install the new 
linux kernel [linux-image-2.6.12-1-k7 (2.6.12-2)]. It turns out the 
postinst is failing like so:

Please Hit return to continue.
/usr/sbin/mkinitrd: device /dev/hde1 is not a block device
Failed to create initrd image.
dpkg: error processing linux-image-2.6.12-1-k7 (--configure):
 subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
 linux-image-2.6.12-1-k7
E: Sub-process /usr/bin/dpkg returned an error code (1)

/dev/hde and /dev/hdf on my system are disks being used by lvm and thus 
have no partitions, so /dev/hde1 does not exist.

I can recreate the error by running the command that the postinst runs:

burner@suppressingfire:~$ /usr/sbin/mkinitrd -o /boot/initrd.img-2.6.12-1-k7.new /lib/modules/2.6.12-1-k7/
/usr/sbin/mkinitrd: device /dev/hde1 is not a block device


But I don't know how to resolve this.

For now, I'm pointing lilo at my previously installed kernel and hoping 
if I have to reboot everything will be OK :-)

mike

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
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 initrd-tools depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  cpio                          2.6-1      GNU cpio -- a program to manage ar
ii  cramfsprogs                   1.1-6      Tools for CramFs (Compressed ROM F
ii  dash                          0.5.2-7    The Debian Almquist Shell
ii  fileutils                     5.2.1-2    The GNU file management utilities 
ii  util-linux                    2.12p-5    Miscellaneous system utilities

initrd-tools recommends no packages.

-- no debconf information



Reply to: