mvallim / live-custom-ubuntu-from-scratch

(Yes, the project is still alive 😃) This procedure shows how to create a bootable and installable Ubuntu Live (along with the automatic hardware detection and configuration) from scratch.
https://mvallim.github.io/live-custom-ubuntu-from-scratch/
GNU General Public License v3.0
397 stars 186 forks source link

Support installing on both UEFI and BIOS systems #56

Closed maddie closed 1 year ago

maddie commented 1 year ago

Is your feature request related to a problem? Please describe. Currently, either grub-efi or grub-pc can be installed in the chroot environment but not both, so it seems that installing only grub-efi will make the installation fail on systems booted in legacy mode (BIOS) without an Internet connection. It seems OK with an Internet connection since it will download the package from the Internet.

Describe the solution you'd like A way to support installing both UEFI and BIOS versions of grub with the same ISO.

Describe alternatives you've considered Put grub debs in some directory and install them manually, but it's quite a hassle.

Additional context The installation fails at the bootloader installation stage.

image
maddie commented 1 year ago

My bad, it seems grub-pc supports on both systems.