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

Thomas C. 1298399 at bugs.launchpad.net
Fri Mar 28 13:53:13 UTC 2014


ok, I got it running, like written in Bug #1229738 , only that I did
this:

create a file /tmp/load.cfg with
search.fs_uuid 2ff0dd02-5ef8-4166-b1b4-40cda0eb468d root
set prefix=($root)/boot/grub

(the uuid must match your / partition - use blkid to get it)

than on one console I run this:

while true; do cp /tmp/load.cfg /boot/grub/x86_64-efi/; done

on the other console was running grub-install ... and tada :)
When its not working the first time try it again... so developers have time to fix the problem.

-- 
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:
  Confirmed

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