[Bug 1111950] Re: Ubiquity should be able to install both grub-pc and grub-efi when needed
Da Xue
daxue at 12scenicpoint.com
Thu Jul 24 17:44:36 UTC 2014
A proper workaround is to install grub-i386 in on directory and grub-
efi-x86_64 in another. Then in each respective grub.cfg, put configfile
/boot/grub/grub.cfg along with a variable indicating what type it is.
You also need to update your /etc/grub.d files to detect what grub
modules are needed.
It's a lot of work, there should be a painless version.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1111950
Title:
Ubiquity should be able to install both grub-pc and grub-efi when
needed
Status in “ubiquity” package in Ubuntu:
Confirmed
Bug description:
In some situations, it would be useful if Ubiquity (the Ubuntu
installer) could install both grub-pc and grub-efi at the same time:
1) when the Ubuntu live disk is launched in Legacy mode, but there is
an ESP on the disk. (it can happen that the firmware is setup to boot
the HDD in UEFI mode, but the live media in Legacy mode).
2) when the Ubuntu live disk is launched in UEFI mode, but there is
another OS (eg Windows installed in Legacy mode) with no ESP on the
disk. (it can happen that the firmware is setup to boot the HDD in
Legacy mode, but the live media in UEFI mode).
Remarks:
- from a live disk, it is impossible (AFAIK) to know in which mode the firmware is setup to boot the HDD.
- of course, prior to perform this improvement of Ubiquity, we need to improve GRUB2 to allow grub-pc and grub-efi to be installed at the same time.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1111950/+subscriptions
More information about the foundations-bugs
mailing list