Description of problem: The default size of EFI System partition created by anaconda is huge, approximately 9GB (screenshot_1.jpg) Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Copy efidisk.img on a USB stick 2. Try to install Fedora 16 in standard way on a hardisk with GPT and without any partition. 3. Actual results: Anaconda proposes a huge size of EFI System partition. Expected results: A sensible size of EFI System partition (200-500MB). Additional info:
Created attachment 529706 [details] Proposed size of EFI System partition
I've not seen this anywhere else. Can you please attach /tmp/anaconda.log and /tmp/storage.log to this bug report? Thanks.
I will make a fresh install today using the latest TC version. It was quite easy to reproduce it, every time. The size of EFI System partition depended on whether LVM was chosen - if it wasn't, the proposed size was a bit smaller - 8GB instead 9GB.
storage.formats.fs.EFI used to have a max size of 500M which made no sense and prevented existing larger dos filesystems from being used as EFI system partitions. What's needed is a max size on the autopart request for /boot/efi. I have a patch around here somewhere -- I just need to find it and send it off for review.
I reinstalled F16 TC and the problem remained, see the attachment. Regarding the default size of EFI System partition, it should be taken into account Microsoft's recommendations here: http://technet.microsoft.com/en-us/library/dd744301%28WS.10%29.aspx http://technet.microsoft.com/en-us/library/dd799232%28WS.10%29.aspx Microsoft suggests 100-260MB and it must be the first partition. Keep in mind, we are still talking about the *default* size; at the end user should be able to modify it. David Lehman: "... prevented existing larger dos filesystems from being used as EFI system partitions ..." Better not use it in this way. My [so far tragic] experience with UEFI implementation is that it could fail, if the partition is too big (MSDOS partition table, with label EFI, FAT32).
Created attachment 530755 [details] Installation logs. Installation logs from: /var/log/anaconda /root and the GPT layout ("$gdisk -l /dev/sda").
FWIW worth mine is 11GB...
No need for ESP to be first partition. That requirement is only for dynamic disks (windows equivalent of lvm). I suggest >=200 MiB FAT32. The UEFI Spec, in some places mentions any fat fs and in some places only fat32 for ESP. Better use fat32 alone.
(In reply to comment #8) > No need for ESP to be first partition. That requirement is only for dynamic > disks (windows equivalent of lvm). I suggest >=200 MiB FAT32. The UEFI Spec, in > some places mentions any fat fs and in some places only fat32 for ESP. Better > use fat32 alone. What I have found out so far, the UEFI spec and the real implementation are different worlds. EFI System Partition should use EFI File System, which is technically FAT[32] (http://msdn.microsoft.com/en-us/windows/hardware/gg463080). In case of my laptop (Lenovo S205), if I use FAT16, the system doesn't boot.
This was fixed for Fedora 17.