Bug#720162: debian-installer: Installed system is unbootable due to missing LVM support
Hi,
and thanks for your report.
Melanie Schulte <mfuglos@gmail.com> (2013-08-19):
> Package: debian-installer
> Version: 20130613
> Severity: important
> Tags: d-i
>
> Dear Maintainer,
>
> I have installed testing from an ISO image I downloaded about 3 or 4
> days ago. During installation, I decided for manual partitioning. I
> set up LVM volumes in an encrypted LVM group.
>
> After the installation has finished 'successfully', the installed
> system is unbootable. After a short timeout, it reported "Gave up
> waiting for root device".
>
> I have figured out that, although I prepared LVM groups/volumes in the
> installer, the installed system was missing the lvm2 package. After
> booting a rescue system I was able to install lvm2 on the new system
> and after that it booted fine.
Glad you could recover… Can you please attach the installer logs?
/var/log/installer/syslog in particular. Hopefully it's going to help us
find out what went wrong.
I know nothing about encrypted LVM (besides having used/tested it with
automated partitioning). Possibly, this bit didn't work:
| cbrulebois@Cygnus:~/debian-installer/packages$ cat partman-lvm/finish.d/aptinstall_lvm
| #! /bin/sh
| set -e
|
| if grep -q " device-mapper$" /proc/misc; then
| # Avoid warnings from lvm2 tools about open file descriptors
| export LVM_SUPPRESS_FD_WARNINGS=1
|
| if pvdisplay | grep -iq "physical volume ---"; then
| apt-install lvm2 || true
| fi
| fi
Not sure /proc/misc changed lately, and lvm2 didn't migrate to testing
recently, so I'm not sure what could explain a failure here, TBH.
Mraw,
KiBi.
Reply to: