Originally Posted by
rsteinmetz70112
I am replacing and updating the storage in one of my computers. I don't need it now but to preserve my options I intend to create an EFI partition to future proof the install. How big should I make it? I don't have any idea How I might use it in the future. I've seen statements the 100MB will work but 200 would be better and also recommendations for 550 MB.
What future are you trying to "proof" against?
My only EFI systems here:
Code:
host01 | CHANGED | rc=0 >>
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 vfat 511M 4.5M 507M 1% /boot/efi
host02 | CHANGED | rc=0 >>
Filesystem Type Size Used Avail Use% Mounted on
/dev/vda1 vfat 511M 7.1M 504M 2% /boot/efi
So, it uses less than 10MB. Say I need 3 copies and round up to 50MB. That would be fine. I remember when I had a 20MB HDD (5.25inch RLL), so I'm a little unwilling to just blow space for no good reason.
One machine has LUKS encryption with LVM and was installed with 16.04 initially. It runs 18.04 now. It will never dual boot. Whenever we look through these forums for storage layouts, people seem to all use less than 100MB for EFI. I can see reasons to make /boot/ 500MB-1GB ...
A quick ansible run shows ...
Code:
$ ansible -i hosts -a "df -Th /boot" cur
host01 | CHANGED | rc=0 >>
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb1 ext2 720M 168M 516M 25% /boot
host02 | CHANGED | rc=0 >>
Filesystem Type Size Used Avail Use% Mounted on
/dev/vda1 ext2 720M 140M 544M 21% /boot
host03 | CHANGED | rc=0 >>
Filesystem Type Size Used Avail Use% Mounted on
/dev/vda1 ext2 472M 171M 278M 39% /boot
host04 | CHANGED | rc=0 >>
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda2 ext2 721M 260M 425M 38% /boot
host05 | CHANGED | rc=0 >>
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda2 ext2 237M 195M 30M 87% /boot
One system did go above 550MB during a system LTS --> LTS upgrade. I went back and manually removed the prior kernels. Same after HWE kernel installs. A few weeks after the HWE, I manually remove the old kernel line. 500 MB was just a little tight, so I changed to 750MB for /boot/. I don't really remember, perhaps there were 3 different kernel lines on that box concurrently.
Anyway, hope these facts are helpful, though likely very incomplete for your needs.
Bookmarks