Format image for UEFI

I want to mount the image in UEFI BIOS via Intel BMC.
Image create through mdconfig, mount its via JAVA applet Intel BMC.
UEFI BIOS sees storage device, but not see files.

I tried gpart:
Code:
gpart create -s mbr da0
gpart add -t fat32 da0
newfs_msdos -F32 /dev/da0s1
I tried fresh format:
Code:
newfs_msdos -F32 /dev/da0
I tried fdisk:
Code:
fdisk -i /dev/da0
newfs_msdos -F32 /dev/da0s1

How format image for use in UEFI BIOS?
 
From the FreeBSD development wiki page:
Real Hardware Gotchas
These are some issues I have run into when using real hardware (ie, not qemu).

Filesystem not seen. FreeBSD's FAT32 code appears to sometimes create filesystems that the UEFI code can't properly read. If the filesystem is small enough, use FAT16 or FAT12 instead. Please submit a PR with details if you are able to reproduce this.
I have experienced the same issue, though not yet submitted a PR. Try creating your filesystem as FAT16 to see whether that works.

You could also create your FAT32 filesystem with another operating system. FreeBSD will still be able to read and write to it.
 
You could also create your FAT32 filesystem with another operating system.
Yes, but I use FreeBSD on desktop and want to do all in it ;)

That's the conclusion fdisk from media formatted under MS Windows XP SP3:
Code:
# fdisk -s /dev/da1
/dev/da1: 504 cyl 255 hd 63 sec
Part        Start        Size Type Flags
   1:   778135908  1141509631 0x72 0x6f
   2:   168689522  1936028240 0x65 0x69
   3:  1869881465  1936028192 0x79 0x73
   4:  2885681152       55499 0x0d 0x74
I can not understand why such strange partition.
 
That's the conclusion gpart from media formatted under MS Windows XP SP3:
Code:
# gpart show da1
gpart: No such geom: da1.
 
That would mean there's no partition table at all and the disk is used entirely.
 
Back
Top