Grub update hangs while upgrading Lucid to Precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi everyone,
on a full disk LUKS encrypted system with an unused partition grub update hangs while updating operating system.
The distribution upgrade does not continue / hangs - the operating system is still responsive.
Ran distribution upgrade, last window that came up was a debconf window "Configuring grub-pc", clicked "Forward" here with "Continue without installing GRUB?" ***not*** selected.
DISTRIBUTION UPGRADE
=======
Distribution upgrade window shows 2minutes remaining for several hours now.
Last lines from distribution upgrade window:
Setting up rhythmbox-
Setting up grub2-common (1.99-21ubuntu3.1) ...
Setting up grub-pc-bin (1.99-21ubuntu3.1) ...
Setting up grub-gfxpayload
Setting up grub-pc (1.99-21ubuntu3.1) ...
Removing update-grub hooks from /etc/kernel-
/etc/kernel/ hooks.
Replacing config file /etc/default/grub with new version
PROCESS LIST
===========
The process list shows these grub processes:
root 10199 0.0 0.2 6780 5276 pts/2 Ss+ Jul11 0:04 /usr/bin/dpkg --force-overwrite --status-fd 6 --configure libbsd0 libedit2 openssh-client mime-support libexpat1 libncursesw5 libsqlite3-0 python2.7 python python-support libdbus-1-3 netd
root 23485 0.0 0.0 6148 1568 ? Ss Jul11 0:00 grub-mount /dev/mapper/
root 32713 0.0 1.0 54848 22156 pts/2 Sl+ Jul11 0:03 /usr/bin/perl -w /usr/share/
root 32729 0.0 0.0 5336 1652 pts/2 S+ Jul11 0:00 /bin/bash /var/lib/
DPKG.LOG
=========
Last messages in /var/log/dpkg.log:
2012-07-11 19:27:33 status installed grub-pc-bin 1.99-21ubuntu3.1
2012-07-11 19:27:33 configure grub-gfxpayload
2012-07-11 19:27:33 status unpacked grub-gfxpayload
2012-07-11 19:27:33 status half-configured grub-gfxpayload
2012-07-11 19:27:33 status installed grub-gfxpayload
2012-07-11 19:27:33 configure grub-pc 1.99-21ubuntu3.1 <none>
2012-07-11 19:27:33 status unpacked grub-pc 1.99-21ubuntu3.1
2012-07-11 19:27:33 status unpacked grub-pc 1.99-21ubuntu3.1
2012-07-11 19:27:33 status unpacked grub-pc 1.99-21ubuntu3.1
2012-07-11 19:27:33 status half-configured grub-pc 1.99-21ubuntu3.1
HARD DRIVE PARTITIONS
=======
Hard drive setup:
1 boot partition /dev/sda1
1 encrypted / partition lv_root
1 encrypted /home partition lv_home
1 encrypted (not mounted) partition lv_temp <====== this may trigger the issue
1 encrypted swap partition lv_swap
I've seen this issue two times now. Both times with an unmounted logical volume that is not listed in /etc/fstab (see "this may trigger the issue" above).
First hang while updating grub happened on my physical system, this bug report is now done from a virtual machine now.
Kind regards,
Thorsten
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: grub-pc 1.99-21ubuntu3.1
ProcVersionSign
Uname: Linux 2.6.32-41-generic i686
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Thu Jul 12 16:56:50 2012
InstallationMedia: Ubuntu 10.04.4 LTS "Lucid Lynx" - Release i386 (20120214.2)
ProcEnviron:
TERM=xterm
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: Upgraded to precise on 2012-07-11 (0 days ago)
Screenshot after grub-update from yesterday afternoon - nothing changed since then.