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

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



Your message dated Sun, 23 Jul 2006 23:37:37 +0200
with message-id <20060723213737.GB6304@nancy>
and subject line Bug#322637: initrd-tools: Mea culpa. My /etc/fstab was broken
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
On Thu, 25 Aug 2005, Michael R Head wrote:
> for some reason, /dev/hde1 was in my /etc/fstab, so I take it that's why 
> mkinitrd was looking for it. I changed /dev/hde1 back to /dev/hda1 (as 
> it should have been) and mkinitrd works again, so I guess this bug is 
> closable.
> 
> mike

doing as requested.

regards

-- 
maks

--- End Message ---

Reply to: