I've found the reason why grub-pc failed. To boot the system uses an usb flash drive that contains the /boot filesystem with an initrd image to ask for the password and decrypt the root filesystem. At the time of the upgrade the /boot filesystem located on the USB memory was not mounted. I guess grub-pc tried writing to /boot, which, since the USB memory was not present, is a part of the dm-crypt root filesystem.
This is the normal situation (sdc is the USB memory): $ df /boot Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdc2 138247 73661 57448 57% /boot And this is the situation when grub-pc failed: $ df /boot Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg0-root 38191772 27469492 8782212 76% / I don't know if this is the expected behavior of grub-probe or if there is something not configured properly with the system. If this behavior is expected please feel free to close this bug. If it's not and I can assist in any way please do not hesitate to tell me. Thanks! -- grup-pc fails upgrading with a dm-crypt root: package grub-pc 1.98-1ubuntu8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/680738 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs