package grub-pc 1.98-1ubuntu6 failed to install/upgrade: Crypt/LVM + USB bootstick to blame?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
I have a 64-bit laptop that I was trying to upgrade from Ubuntu 9.10 to 10.04. During dist-upgrade, and subsequent attempts to complete a reinstallation of grub-pc, I encountered the attached error. /boot was mounted (see partitioning below) before each attempt, but was found to be unmounted afterwards.
Partitioning setup:
mbr: winboot
sda1: Windows 7
sda2: LUKS "sda2_crypt"
LVM (1 logical group, named "singleton")
/ (on logical volume "ozzie")
/home (on logical volume "sweethome")
swap (on logical volume "bigswap")
There is also a USB stick with the following partitioning:
mbr: GRUB2 stage 1
sdb1: /boot GRUB2 stage 2
The USB stick will prompt me to unlock the main hard drive's LUKS partition, then boot to the Ubuntu OS inside.
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: grub-pc 1.98-1ubuntu6
ProcVersionSign
Uname: Linux 2.6.32-23-generic x86_64
AptOrdering:
grub-pc: Install
grub-pc: Configure
Architecture: amd64
Date: Tue Jul 6 10:26:34 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
SourcePackage: grub2
Title: package grub-pc 1.98-1ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Before rebooting after the dist-upgrade, I ran `sudo grub-install --modules="crypto lvm" /dev/sdb`. Everything seemed to work fine.