/srv/irclogs.ubuntu.com/2023/01/16/#ubuntu-boot.txt

enycI'm trying to ask kep question, not sure where best to ask11:35
enycI'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:36
enycI 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:37
enycI'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:38
enycp.s. the /boot/efi fat is correctly in /etc/fstab11:41
enycaha14:10
enyc11: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)?14:10

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!