@jibel Your typical use case (install in BIOS mode and reboot into UEFI mode) ends typically in an error. There is no bootloader installed on /boot/efi/EFI/ubuntu and there is no boot entry in the NVRAM, which would point to shim or grub on the ESP.
The typical user has to replace grub-pc with grub-efi-* and create a boot entry in the NVRAM (/sys/firmware/efi doesn't exist, neither in the installed system, nor in the live-system). I guess, most users won't do that. They would simply reinstall in the desired mode.
Another possible problem I spotted: The installer created a msdos partition table on an empty disk (which isn't a problem). The problem starts, if the user installs Windows on this disk. Windows will be installed in BIOS mode and if you change the boot mode of Ubuntu, you don't have a dualboot anymore.
I didn't test it, but if the ESP is created as a logical partition, there are surely errors, if the system is booted in UEFI mode.
Meanwhile, I try to find a Lubuntu dev to fix lubuntu-artwork.
@jibel Your typical use case (install in BIOS mode and reboot into UEFI mode) ends typically in an error. There is no bootloader installed on /boot/efi/ EFI/ubuntu and there is no boot entry in the NVRAM, which would point to shim or grub on the ESP.
The typical user has to replace grub-pc with grub-efi-* and create a boot entry in the NVRAM (/sys/firmware/efi doesn't exist, neither in the installed system, nor in the live-system). I guess, most users won't do that. They would simply reinstall in the desired mode.
Another possible problem I spotted: The installer created a msdos partition table on an empty disk (which isn't a problem). The problem starts, if the user installs Windows on this disk. Windows will be installed in BIOS mode and if you change the boot mode of Ubuntu, you don't have a dualboot anymore.
I didn't test it, but if the ESP is created as a logical partition, there are surely errors, if the system is booted in UEFI mode.
Meanwhile, I try to find a Lubuntu dev to fix lubuntu-artwork.