[Bug 1298399] Re: grub-efi-amd64 2.02~beta2-7 fails to install on raid/lvm

Valentijn Sessink valentijn at sessink.nl
Fri Mar 28 10:51:39 UTC 2014


Further research shows:
- a simple install with sda1 = fat32 EFI, sda2 = 100Gb ext4 does work
- an install with /dev/md0 formatted as ext4 root-fs fails
- an install with /dev/sda2 as LVM pv, with root as a volume within, fails too.

Both md and lvm installs initially seem to complain that "grub-install
dummy" failed. Trying to run grub-install from the command line will
then show the error about the missing "load.cfg".

Rather weird is the fact that Bug #1236625 seems to describe the exact
same issue - but was fixed in grub2 - 2.00-19ubuntu2. Is this a
regression?

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

Title:
  grub-efi-amd64 2.02~beta2-7 fails to install on raid/lvm

Status in “grub2” package in Ubuntu:
  New

Bug description:
  During installation of Trusty on a RAID6/LVM system, the installation fails during the "configure" phase of grub-efi-amd64. The installer message says "GRUB installation failed
  The 'grub-efi-amd64-signed' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot."

  The installer log message screen says (among other things):
  grub-install: error: cannot open `/boot/grub/x86_64-efi/load.cfg': No such file or directory.

  After issuing:
  chroot /target
  grub-install -v
  ... the installation of grub also ends with:
  grub-install: info: copying `/boot/grub/x86_64-efi/load.cfg' -> `/boot/efi/EFI/ubuntu/grub.cfg'
  grub-install: error: cannot open `/boot/grub/x86_64-efi/load.cfg': No such file or directory

  Installation is on a raid6 (software-raid) device with lvm,
  /dev/mapper/volumegroup-root1404 is the root-fs (ext4 formatted),
  there is a separate EFI partition on /dev/sda. The disks are GPT-
  partitioned.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1298399/+subscriptions



More information about the foundations-bugs mailing list