tags #542165 patch thanks The attached patch detects the situation, prints a warning and avoids the problematic code parts. This allows package update and configuration generation to finish and makes the local admin aware that he needs to manually intervene.
In the absence of a grub-probe which correctly handles encrypted partitions, this works around the issue by not aborting. Greetings Marc /usr/lib/grub/grub-mkconfig_lib--- grub-mkconfig_lib 2010-06-05 01:07:33.000000000 +0200 +++ /usr/lib/grub/grub-mkconfig_lib 2010-06-05 01:07:50.000000000 +0200 @@ -99,13 +99,6 @@ { device=$1 - if dmsetup status $device | grep -q 'crypt[[:space:]]$'; then - echo >&2 "$device is a crypto device. Needed modules may be missing." \ - "Manually load them in /etc/grub.d/01_modules." \ - "See http://bugs.debian.org/542165 for details." - return - fi - # Abstraction modules aren't auto-loaded. abstraction="`${grub_probe} --device ${device} --target=abstraction`" for module in ${abstraction} ; do Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org