[edk2-devel] [Bug 3919] ovmf UEFI fails to boot when EFI system partition is too small

Michael D Kinney michael.d.kinney at intel.com
Fri Jun 3 23:50:35 UTC 2022


Can you use the dblk shell command on the partition that is expected to contain a FAT32 file system?  Please attach output from dblk of the first block of the partition to the BZ.  It should indicate a FAT32 file system.

Can you also try using efifmt from the EFI Disk Utilities to format the partition and see if you get a different result?

https://www.intel.com/content/www/us/en/download/714351/uefi-shell-disk-utilities.html#:~:text=The%20EFI%20Disk%20Utilities%20contain,follows%20the%20UEFI%20Specification%202.3.

Thanks,

Mike

> -----Original Message-----
> From: Christoph Anton Mitterer <calestyo at scientia.org>
> Sent: Friday, June 3, 2022 10:02 AM
> To: Kinney, Michael D <michael.d.kinney at intel.com>; devel at edk2.groups.io
> Subject: Re: [edk2-devel] [Bug 3919] ovmf UEFI fails to boot when EFI system partition is too small
> 
> Hey-
> 
> On Fri, 2022-06-03 at 16:53 +0000, Kinney, Michael D wrote:
> > The attached screen shot from the shell shows block devices.
> >
> > Is the error that it did not mount a file system on one of those
> > block devices?
> 
> I assume it did not mount the EFI System Partition and thus the boot
> process stopped right after the UEFI firmware had loaded.
> 
> 
> > How was the disk image prepared?
> 
> Uhm manually with the ususal linux tools,.. gdisk for partitioning,
> mkfs.vfat for the ESP, and so on.
> 
> 
> >   Are you sure there is a FAT32
> > file system formatted on one of those block devices.
> 
> Yes.
> 
> > It must be
> > the UEFI FAT32, or it will not be recognized by the UEFI FAT driver.
> 
> Not sure what "UEFI FAT32" is, but at least I'm sure it was a FAT32 fs
> as created by mkfs.vfat -F 32 .
> 
> The only problem seemed to have been that it was too small.
> 
> 
> > I am wondering of the partition is too small if the file system
> > format is no longer FAT32???
> 
> That I don't understand.
> The GPT partition had 32 MiB, and a FAT32 fs was created in that. There
> was no "overlapping" or so.
> 
> 
> Cheers,
> Chris.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#90204): https://edk2.groups.io/g/devel/message/90204
Mute This Topic: https://groups.io/mt/91525162/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list