Bug 748274
| Summary: | The UEFI installation: the default size of EFI System partition is huge | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Václav Mocek <next.little.owl> | ||||||
| Component: | anaconda | Assignee: | David Lehman <dlehman> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 16 | CC: | anaconda-maint-list, jonathan, petersen, the.ridikulus.rat, vanmeeuwen+fedora | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-10-04 23:07:49 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Václav Mocek
2011-10-23 20:32:30 UTC
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. |