Has anyone else had this issue before when updating the BIOS on PopOS or any Linux flavor?

I’m running PopOS 22.04 on a Dell XPS 13 9300 and when I try to update the Dell firmware from 1.17.0 to 1.18.0 I get the following error:

error in fwupd client: calling Install method failed: /boot/efi does not have sufficient space, required 59.2 MB, got 48.6 MB

Running sudo apt autoremove does not fix this. Running sudo fwupdmgr refresh --force and then sudo fwupdmgr update still has the error.

I would really like to not have to backup and resize and pray that nothing breaks when resizing the main partition for more space. Plus there’s no good guide on exactly what steps to take for that.

Any help would be appreciated.

More info:

sudo ls /boot/efi
EFI  f52dfaf1ebdd214ad023db586322b2ef  loader

Firmware Upgrade Screen

  • Michael Murphy (S76)@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    If you have an older installation with a the 512 MB EFI partition, you need to edit /etc/initramfs-tools/initramfs.conf and set COMPRESS to xz. Then the next time you update the initramfs (sudo update-initramfs -c -k all), it should recover around 150 MB of space. We will probably change this to xz soon.

    • pnutzh4x0r@programming.dev
      cake
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      I just did this and was able to recover closer to 100MB (now have 128MB available)… still a great improvement. Boot times don’t appear to be impacted, though compression is slower (almost 3-4x slower).