distribution icon indicating copy to clipboard operation
distribution copied to clipboard

EFI partition scheme is too small - CL installer

Open sincorchetes opened this issue 1 year ago • 2 comments

I installed CL with Safe installation without partitioning.

This is the the df -h results:

Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        4.0M     0  4.0M   0% /dev
tmpfs           7.7G     0  7.7G   0% /dev/shm
tmpfs           3.1G   13M  3.1G   1% /run
tmpfs           4.0M     0  4.0M   0% /sys/fs/cgroup
efivarfs        246K  155K   87K  64% /sys/firmware/efi/efivars
/dev/dm-0       317G   31G  270G  11% /
tmpfs           7.7G   16K  7.7G   1% /tmp
tmpfs           1.6G  7.8M  1.6G   1% /run/user/1000
/dev/nvme0n1p5  147M   93M   55M  64% /boot

These is the kernels I've installed:

/boot
├── EFI
│   ├── BOOT
│   │   └── BOOTX64.EFI
│   └── org.clearlinux
│       ├── bootloaderx64.efi
│       ├── freestanding-00-early-ucode.cpio
│       ├── freestanding-clr-init.cpio.gz
│       ├── freestanding-i915-firmware.cpio
│       ├── initrd-org.clearlinux.native.6.9.3-1439
│       ├── kernel-org.clearlinux.native.6.9.3-1439
│       └── loaderx64.efi
└── loader
    ├── entries
    │   ├── Clear-linux-native-6.9.3-1439.conf
    │   └── Clear-linux-preempt_rt-6.1.92-155.conf
    └── loader.conf

sincorchetes avatar Jun 11 '24 18:06 sincorchetes

After the nasty issues with xz, we stopped using it to encrypt kernel modules, firmware, and initrds. I'm working on enabling zstd compression of all those things, which will significantly reduce the size, but rolling it out takes a while, and older kernels only support xz.

bwarden avatar Jun 11 '24 19:06 bwarden

We've implemented compression on the firmware files again (ZSTD instead of XZ), so you should now end up with a freestanding-i915-firmware.cpio.zst that shaves off about 17-18 MB from /boot. We've also increased the default size for the EFI partition created by the installer, although that won't help an already-installed system.

bwarden avatar Oct 29 '24 22:10 bwarden