UbuntuIRC / 2023 /01 /16 /#ubuntu-boot.txt
niansa
Initial commit
4aa5fce
[11:35] <enyc> I'm trying to ask kep question, not sure where best to ask
[11:36] <enyc> I'd like to add uefi boot capability to a system upgraded from 20.04 to 22.04 ... now have a /boot/efi partition of type 0xEF (EFI system partition).
[11:36] <enyc> installed grub-efi-amd64-bin and grub-efi-amd64-signed ... grub-install /dev/sda doesn't help, presumably legacy installer ...
[11:37] <enyc> I thought, new 22.04 installs now always support both legacy and uefi booting ,and use GPT regardless on new disk partitioning but for-certain the GPT isn't actually required. MBR will work fine too, this is how classic multi-bootable-disks hava always worked, etc.
[11:38] <enyc> I'd like to know how the ubiquity actually does set up this legacy and uefi combo in a way that works with the packafing sysem, which wasn't traditionally set-up to have grub-pcand grub-efi-amd64 at same time.
[11:41] <enyc> p.s. the /boot/efi fat is correctly in /etc/fstab
[14:10] <enyc> aha
[14:10] <enyc> 11:57 < gjolly> enyc: have you tried something like grub-install --boot-directory=/boot --efi-directory=/boot/efi --target=x86_64-efi (assuming you are on x86_64)?