Bug#852653: Grub install failed on encrypted LVM disk
Package: installation-reports
Version: jessie rc1
Severity: critical
Justification: failed to install grub
Dear Maintainer,
* What led up to the situation?
Failed installation of grub under KVM system with encrypted LVM disk.
* What exactly did you do (or not do) that was effective (or ineffective)?
Source:
netinst iso-cd weekly built on 2017-01-23, downloaded from debian website
System:
Debian Jessie running qemu-kvm 1:2.1+dfsg-12+deb8u6
KVM hardware:
1 x IDE CDROM (debian-testing netinst iso-cd)
1 x 8GB virtio disk (vda)
1 x virtio network adapter
QXL display
Partition disks:
Encrypte vda disk and setup with LVM:
Encrypted volume (vda1_crypt) - 8.6GB
#1 8.6GB K lvm
LVM VG vg, LV lvhome - 4.1GB
#1 4.1GB K ext4 /home
LVM VG vg, LV lvroot - 4.1GB
#1 4.1GB K ext4 /
LVM VG vg, LV lvswap - 255.9MB
#1 255.9MB K swap swap
Virtual disk 1 (vda) - 8.6GB Virtio Block Device
#1 primary 8.6GB K crypto
GRUB installation:
Install the GRUB boot loader to the master boot record --> Yes
Device for boot loader installation: /dev/vda
Force GRUB installation to the EFI removable media path? Yes
* What was the outcome of this action?
Error message:
Unable to install GRUB in /dev/vda
Executing 'grub-install /dev/vda' failed.
This is a fatal error.
* What outcome did you expect instead?
Installation of grub completed.
-- System Information:
Debian Release: stretch/sid
Architecture: amd64
Reply to: