[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 17:33:22 UTC 2014
# create a file /boot/grub/x86_64-efi/load.cfg with
search.fs_uuid 2ff0dd02-use-"blkid"-to-get-the-number-40cda0eb468d root
set prefix=($root)/boot/grub
# then use
chattr +i /boot/grub/x86_64-efi/load.cfg
# to make load.cfg write-protected (on an ext4 filesystem)
I'm still getting an error after restart, "diskfilter writes are not supported" press-a-key, but after a few seconds (and, luckily, without the key!) booting continues.
--
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