Page MenuHomePhabricator

Install Grub EFI to removable location as well
Open, NormalPublicFEATURE REQUEST

Description

This allows booting by specifying the boot device rather than the bootloader specifically in firmware configuration.

In /opt/vyatta/sbin/install-postinst-new change line 148 from:

output=$(grub-install --no-floppy --recheck --target=x86_64-efi --root-directory=$grub_root --efi-directory=$grub_root/boot/efi --bootloader-id="$bootloader_name" 2>&1)

to:

output=$(grub-install --no-floppy --recheck --target=x86_64-efi --root-directory=$grub_root --efi-directory=$grub_root/boot/efi --force-extra-removable --bootloader-id="$bootloader_name" 2>&1)

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
syncer triaged this task as Normal priority.Sat, Dec 1, 5:44 PM
syncer assigned this task to kroy.
syncer added subscribers: kroy, c-po, syncer.

@kroy @c-po your input needed here

kroy added a comment.Sat, Dec 1, 6:08 PM

This makes sense. As I understand it, it just installs another copy of the .efi file to a more “universal” location.

I was getting ready to post some code that cleans up the EFI stuff a little, so I’ll include this.

kroy added a comment.Sun, Dec 2, 2:29 AM

Pull Request to add the option

Per T1075, unable to build the ISO to fully test, but at least verified that the option addition seems to do what is desired.