[elbe-devel] [PATCH 2/3] Add support for UEFI boot with grub

Martin Kaistra martin.kaistra at linutronix.de
Wed Mar 28 12:36:19 CEST 2018


Am 28.03.2018 um 10:52 schrieb Torben Hohn:
>> +
>> +            self.outf.do(
>> +                "chroot %s grub-install --target=x86_64-efi "
>> +                "--efi-directory=/boot --removable --no-floppy /dev/poop0" %
>> +                (imagemnt))
> 
> this is basically the only place, where efi shall be different.
> seems like we only want to specify the --target ?
> 
> what is the --target for bios ?
> The --target for bios is i386-pc which is the default. --efi-directory 
is necessary if the EFI partition is not /boot/efi and --removable 
installs grub-efi to \EFI\boot\bootx64.efi and is necessary so 
grub-install doesn't try to call efibootmgr.

The --efi-directory and --removable options are only available in grub-efi.



More information about the elbe-devel mailing list