Comment 5 for bug 412316

Revision history for this message
H.-Dirk Schmitt (dirk-computer42) wrote :

The problem behind error message in #4 is that /usr/share/initramfs-tools/hook-functions can't evaluate the root partition in a chroot environment.

As a workaround add inside the chroot environment as 1st line to /etc/mtab the correct view of your root partition.

See also this article: https://www.computer42.org/xwiki/bin/view/DevNotes/Rescue%20Tasks#Hmountinganexistinginstallationchroot

I have run in this after a broken kernel update in lucid (to 2.6.32-24-generic) on some i386 machines.
dpkg -configure -a in a chroot environment failed with the error message noted above.