I have been following this guide to produce a customized version of Ubuntu.
As of now, the structure of the CD is complete. I just have to generate a bootable ISO image with the command:
sudo grub-mkrescue -o live_cd.iso /path/to/cd/root
I got a perfectly working iso image which boots well in VirtualBox, under UEFI mde.
The problem is when I copy the iso to my USB flash drive (using dd command) it does not boot in my real machine under UEFI mode. I get this:
However, I can boot the flash drive fine in legacy bios mode.
I have installed grub-efi
package as well.
Can anyone tell me what I'm doing wrong?
Thanks!