New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not specify '-F 16' for mkfs.vfat and also no '-o fat=16' when mounting it #2576
Conversation
Do no longer specify '-o fat=16' when loop mounting efiboot.img file but rely on the automatic FAT type detection when mounting cf. #2575 plus some general generic code cleanup in output/ISO/Linux-i386/700_create_efibootimg.sh
Do no longer specify '-o fat=16' when loop mounting boot.img file but rely on the automatic FAT type detection when mounting cf. #2575 plus some minor generic code cleanup in output/ISO/Linux-ia64/200_mount_bootimg.sh
Added explanatory comment why '-o fat=16' is not used.
@gdha @gozora I wonder if output/ISO/Linux-ia64/200_mount_bootimg.sh
but on my openSUSE Leap 15.2 "man mkfs.vfat" reads (excerpt)
so also for |
@rmetrich |
For 'mkfs.vfat' do not use a '-F 16' or '-F 32' option and hope for the best, see #2575 (comment)
For 'mkfs.vfat' do not use a '-F 16' or '-F 32' option and hope for the best, see #2575 (comment)
Let mkfs.vfat automatically select the FAT type based on the size. I.e. do not use a '-F 16' or '-F 32' option and hope for the best, cf. #2575
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your changes looks OK to me.
Unfortunately I don't have currently time to test them.
V.
@gozora What do you think about |
Hello @jsmeix,
I think that changing defaults to 512MB is OK. 400MB is not a nice number and I'm not surprised that some UEFI versions might have problems with. V. |
In default.conf increased USB_UEFI_PART_SIZE to 512 MiB because mkfs.vfat automatically makes FAT32 starting at 512 MiB so the FAT filesystem of the ESP will be in compliance with that the ESP should officially use a FAT32 filesystem (a FAT16 ESP causes issues with certain UEFI firmware) cf. #2575
From my point of view this pull request is now sufficiently complete |
Type: Minor Bug Fix / Enhancement / Cleanup
Impact: Low
Reference to related issue (URL):
Possibly obsolete '-F 16' for mkfs.vfat and 'fat=16' mount option in 700_create_efibootimg.sh and 200_mount_bootimg.sh #2575
How was this pull request tested?
Not tested by me but SUSE user reported that it is ok, see
Possibly obsolete '-F 16' for mkfs.vfat and 'fat=16' mount option in 700_create_efibootimg.sh and 200_mount_bootimg.sh #2575
Brief description of the changes in this pull request:
Do no longer specify '-o fat=16' when loop mounting efiboot.img file
but rely on the automatic FAT type detection when mounting
cf. #2575
plus some general generic code cleanup in
output/ISO/Linux-i386/700_create_efibootimg.sh