public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael D Kinney" <michael.d.kinney@intel.com>
To: Christoph Anton Mitterer <calestyo@scientia.org>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] [Bug 3919] ovmf UEFI fails to boot when EFI system partition is too small
Date: Fri, 3 Jun 2022 23:50:35 +0000	[thread overview]
Message-ID: <CO1PR11MB4929E164B4134A0C1580DE2FD2A19@CO1PR11MB4929.namprd11.prod.outlook.com> (raw)
In-Reply-To: <93dc5e58c9da025e0bad0ba1a7672e4c8dfb606f.camel@scientia.org>

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.

      reply	other threads:[~2022-06-03 23:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CO1PR11MB4929E164B4134A0C1580DE2FD2A19@CO1PR11MB4929.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox