[Bug 1659448] Re: grub fails to install bootloader when LVM with Encryption is choseen during Ubuntu install

Jeremy Bicha jeremy at bicha.net
Thu Jan 26 01:22:52 UTC 2017


** Attachment added: "zesty-kvm-with-encryption-fail3.png"
   https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1659448/+attachment/4809168/+files/zesty-kvm-with-encryption-fail3.png

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1659448

Title:
  grub fails to install bootloader for zesty LVM with Encryption

Status in grub-installer package in Ubuntu:
  New

Bug description:
  Ubuntu GNOME 17.04 Alpha 2 candidate. Entire disk. Verified on both
  i386 and amd64. I am testing in VirtualBox. Only an 8GB virtual disk
  which should be just barely enough for Ubuntu GNOME (see also LP:
  #1614810 )

  Install completes successfully if I chose LVM, but if I chose to "Encrypt the Ubuntu installation for security", I get this error:
  "Unable to install GRUB in /dev/sda
   Executing 'grub-install /dev/sda1' failed.
   This is a fatal error."

  After clicking ok, I get another popup with three options (Choose a
  different device to install the bootloader on, continue without a
  bootloader, cancel the instllation). None of the options appear to do
  anything.

  I'm attaching screenshots.

  From UbiquitySyslog.txt
  -----------------------
  Jan 26 01:11:01 ubuntu-gnome partman:   PV /dev/mapper/sda1_crypt   VG ubuntu-gnome-vg   lvm2 [8.49 GiB / 24.00 MiB free]
  Jan 26 01:11:01 ubuntu-gnome partman:   Total: 1 [8.49 GiB] / in use: 1 [8.49 GiB] / in no VG: 0 [0   ]
  Jan 26 01:11:01 ubuntu-gnome partman:   Reading volume groups from cache.
  Jan 26 01:11:01 ubuntu-gnome partman:   Found volume group "ubuntu-gnome-vg" using metadata type lvm2
  Jan 26 01:11:01 ubuntu-gnome partman-lvm:   2 logical volume(s) in volume group "ubuntu-gnome-vg" now active
  Jan 26 01:11:02 ubuntu-gnome ubiquity: mount: unknown filesystem type 'crypto_LUKS'
  Jan 26 01:11:03 ubuntu-gnome ubiquity: mount:
  Jan 26 01:11:03 ubuntu-gnome ubiquity: unknown filesystem type 'crypto_LUKS'
  Jan 26 01:11:03 ubuntu-gnome ubiquity: 
  Jan 26 01:11:03 ubuntu-gnome ubiquity: mount:
  Jan 26 01:11:03 ubuntu-gnome ubiquity: unknown filesystem type 'crypto_LUKS'
  Jan 26 01:11:03 ubuntu-gnome ubiquity: 
  Jan 26 01:11:03 ubuntu-gnome ubiquity: mount:
  Jan 26 01:11:03 ubuntu-gnome ubiquity: unknown filesystem type 'crypto_LUKS'
  Jan 26 01:11:03 ubuntu-gnome ubiquity: 
  Jan 26 01:11:03 ubuntu-gnome ubiquity[4392]: Device /dev/mapper/ubuntu--gnome--vg-root not found in os-prober output
  Jan 26 01:11:03 ubuntu-gnome ubiquity[4392]: Device /dev/sda1 not found in os-prober output
  Jan 26 01:11:03 ubuntu-gnome ubiquity[4392]: Device /dev/mapper/ubuntu--gnome--vg-swap_1 not found in os-prober output
  Jan 26 01:11:03 ubuntu-gnome ubiquity[4392]: switched to page partman

  
  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: ubiquity 17.04.4 [modified: lib/partman/automatically_partition/question]
  ProcVersionSignature: Ubuntu 4.9.0-12.13-generic 4.9.2
  Uname: Linux 4.9.0-12-generic x86_64
  ApportVersion: 2.20.4-0ubuntu1
  Architecture: amd64
  CasperVersion: 1.380
  CurrentDesktop: GNOME
  Date: Wed Jan 25 20:12:08 2017
  InstallCmdLine: file=/cdrom/preseed/ubuntu-gnome.seed boot=casper initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
  LiveMediaBuild: Ubuntu-GNOME 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub-installer
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1659448/+subscriptions



More information about the foundations-bugs mailing list