public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Bug 3919] ovmf UEFI fails to boot when EFI system partition is too small
       [not found] ` <bug-3919-1159-hoPjKLlsAL@https.bugzilla.tianocore.org/>
@ 2022-06-03  3:41   ` Christoph Anton Mitterer
  2022-06-03 16:53     ` [edk2-devel] " Michael D Kinney
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Anton Mitterer @ 2022-06-03  3:41 UTC (permalink / raw)
  To: devel

Hey.

I was asked in https://bugzilla.tianocore.org/show_bug.cgi?id=3919#c1
to forward that issue to this mailing list for further feedback.

All details can be found in the bug report:
https://bugzilla.tianocore.org/show_bug.cgi?id=3919

Thanks,
Chris.



On Wed, 2022-06-01 at 02:03 +0000, bugzilla-daemon@bugzilla.tianocore.org wrote:
> https://bugzilla.tianocore.org/show_bug.cgi?id=3919
> 
> gaoliming@byosoft.com.cn changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |gaoliming@byosoft.com.cn
> 
> --- Comment #1 from gaoliming@byosoft.com.cn ---
> Can you send this issue to edk2 mail list (devel@edk2.groups.io) to collect
> more feedback?
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] [Bug 3919] ovmf UEFI fails to boot when EFI system partition is too small
  2022-06-03  3:41   ` [Bug 3919] ovmf UEFI fails to boot when EFI system partition is too small Christoph Anton Mitterer
@ 2022-06-03 16:53     ` Michael D Kinney
  2022-06-03 17:02       ` Christoph Anton Mitterer
  0 siblings, 1 reply; 4+ messages in thread
From: Michael D Kinney @ 2022-06-03 16:53 UTC (permalink / raw)
  To: devel@edk2.groups.io, calestyo@scientia.org, Kinney, Michael D

Hi Chris,

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?

How was the disk image prepared?  Are you sure there is a FAT32
file system formatted on one of those block devices.  It must be
the UEFI FAT32, or it will not be recognized by the UEFI FAT driver.

I am wondering of the partition is too small if the file system
format is no longer FAT32???

Mike

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Christoph Anton Mitterer
> Sent: Thursday, June 2, 2022 8:41 PM
> To: devel@edk2.groups.io
> Subject: [edk2-devel] [Bug 3919] ovmf UEFI fails to boot when EFI system partition is too small
> 
> Hey.
> 
> I was asked in https://bugzilla.tianocore.org/show_bug.cgi?id=3919#c1
> to forward that issue to this mailing list for further feedback.
> 
> All details can be found in the bug report:
> https://bugzilla.tianocore.org/show_bug.cgi?id=3919
> 
> Thanks,
> Chris.
> 
> 
> 
> On Wed, 2022-06-01 at 02:03 +0000, bugzilla-daemon@bugzilla.tianocore.org wrote:
> > https://bugzilla.tianocore.org/show_bug.cgi?id=3919
> >
> > gaoliming@byosoft.com.cn changed:
> >
> >            What    |Removed                     |Added
> > ----------------------------------------------------------------------------
> >                  CC|                            |gaoliming@byosoft.com.cn
> >
> > --- Comment #1 from gaoliming@byosoft.com.cn ---
> > Can you send this issue to edk2 mail list (devel@edk2.groups.io) to collect
> > more feedback?
> >
> 
> 
> 
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] [Bug 3919] ovmf UEFI fails to boot when EFI system partition is too small
  2022-06-03 16:53     ` [edk2-devel] " Michael D Kinney
@ 2022-06-03 17:02       ` Christoph Anton Mitterer
  2022-06-03 23:50         ` Michael D Kinney
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Anton Mitterer @ 2022-06-03 17:02 UTC (permalink / raw)
  To: Kinney, Michael D, devel@edk2.groups.io

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] [Bug 3919] ovmf UEFI fails to boot when EFI system partition is too small
  2022-06-03 17:02       ` Christoph Anton Mitterer
@ 2022-06-03 23:50         ` Michael D Kinney
  0 siblings, 0 replies; 4+ messages in thread
From: Michael D Kinney @ 2022-06-03 23:50 UTC (permalink / raw)
  To: Christoph Anton Mitterer, devel@edk2.groups.io, Kinney, Michael D

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@scientia.org>
> Sent: Friday, June 3, 2022 10:02 AM
> To: Kinney, Michael D <michael.d.kinney@intel.com>; devel@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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-03 23:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-3919-1159@https.bugzilla.tianocore.org/>
     [not found] ` <bug-3919-1159-hoPjKLlsAL@https.bugzilla.tianocore.org/>
2022-06-03  3:41   ` [Bug 3919] ovmf UEFI fails to boot when EFI system partition is too small Christoph Anton Mitterer
2022-06-03 16:53     ` [edk2-devel] " Michael D Kinney
2022-06-03 17:02       ` Christoph Anton Mitterer
2022-06-03 23:50         ` Michael D Kinney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox