Live-build uses syslinux as default bootloader. It will be able to boot
both uefi and legacy without any additional modifications.

If you would like to add a bootliader of your choice, do so in
/config/bootloaders

https://live-team.pages.debian.net/live-manual/html/live-manual/customizing-binary.en.html#608

On Wed, Dec 8, 2021, 3:50 PM Anindya Chaudhuri <anindy...@hotmail.com>
wrote:

> I am trying to build a custom image using live-build. My basic
> configuration is working well, and I able to obtain a functional .iso image
> that runs well at least in virtualbox. But I'm stuck on one point. I would
> like to use grub-efi-amd64 instead of grub-pc, but am unable to do so. I
> have tried the following:
>
>    1. Putting grub-efi-amd64 on a .list.chroot file in package-lists.
>    2. Downloading the latest .deb and putting it in packages.chroot.
>    3. Using late_command in preed.cfg to in-target install grub-efi-amd64.
>
> However, none of these have worked - in the installed image it's always
> grub-pc that gets installed. So, I have two questions:
>
>    1. How exactly does one build an image with grub-efi-amd64 instead of
>    grub-pc?
>    2. I am a little confused about including grub-pc as a default - does
>    this mean that even for computer with UEFI (I use a windows dual boot),
>    grub-pc would be fine, and I don't have to replace that with
>    grub-efi-amd64. If so, what exactly is the purpose of grub-efi-amd64?
>
> Thanks.
>

Reply via email to