Page MenuHomeVyOS Platform

Install Grub EFI to removable location as well
Closed, ResolvedPublicFEATURE REQUEST


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)


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)


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close

Event Timeline

syncer triaged this task as Normal priority.
syncer added subscribers: kroy, c-po, syncer.

@kroy @c-po your input needed here

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.

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.