[Bug 924591] Re: [UEFI] GRUB 2 installation method
Fabio Marconi
fabiomarconi at ubuntu.com
Wed Mar 14 14:14:11 UTC 2012
*** This bug is a duplicate of bug 879858 ***
https://bugs.launchpad.net/bugs/879858
** This bug has been marked a duplicate of bug 879858
Kernel panic after grub-install on UEFI Asus 1215B
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/924591
Title:
[UEFI] GRUB 2 installation method
Status in “debian-installer” package in Ubuntu:
New
Bug description:
With more UEFI based systems now, it's pretty important that GRUB 2 is
installed correctly on those systems.
The way Ubuntu installs GRUB 2 on UEFI systems puts the GRUB 2
configuration files in EFI_PARTITION/efi/ubuntu/grub.cfg. I'm not sure
how it actually is installed, but the behavior can be replicated by
installing GRUB 2 with:
grub-install --boot-directory=/boot/efi/efi --bootloader-id=ubuntu
--force --recheck
The problem with this is that the configuration files are inconsistent
with the BIOS version GRUB 2, making all scripts that depend on the
/boot/grub directory structure useless.
If GRUB 2 UEFI is installed this way:
grub-install --bootloader-id=ubuntu --force --recheck
GRUB 2 will continue to use /boot/grub, just like the BIOS version and
generates a grubx64.efi file in EFI_PARTITION/efi/ubuntu/ that will
ALWAYS load /boot/grub/grub.cfg from the /boot partition, which the
grub-install script identifies during installation. This is exactly
the same behavior in the BIOS version, where GRUB 2 in the MBR always
boots from the /boot partition that was mounted during installation.
Not only does this method make things more consistent, it can also
shave off a little bit of the boot time, because the EFI partition
will no longer need to be mounted every boot.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/924591/+subscriptions
More information about the foundations-bugs
mailing list