Red Hat Bugzilla – Bug 53324
EFI system partition isn't recognized by installer
Last modified: 2008-01-17 12:49:40 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.16-22mw i686)
Description of problem:
When installing Roswell on a disk with a freshly made GPT partition table
and Intel EFI system partition (created with the spadmin EFI tool), disk
druid correctly shows the System partition but doesn't offer to use it for
/boot/efi. The partition
type is shown as "foreign". (I saw only the German translation
"ausldndisch" which is _really_ weird, I recommend using "fremd" instead).
Editing the partition properties or specifying a mount point is impossible.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. make a GPT partition tabe and EFI system partition on a disk with EFI
2. install Roswell on that disk
3. When partitioning, specify that existing partitions should be left in
Actual Results: Partition size is correctly displayed, but the type is
"foreign", and no mount point can be specified.
Expected Results: Since the partition is vfat formatted, it should be
possible to specify a mount point for it.
It should be offered as an option to use the System partition for
/boot/efi (although it should probably not be the default to do so).
This is not a bug but rather a missing feature. Would be nice to have,
though, and I guess teaching disk druid to recognize the efi system
partition shouldn't be all that difficult. And fix that german translation
- it'll make people laugh at you.
If the partition is formatted, we should show it properly as VFAT -- if you run
parted on the drive in question, what filesystem type does it show for the
Created attachment 31216 [details]
Hex dump of first 3 disk blocks
The EFI tool 'dskpartx' shows both partitions as type EFISYS.
Parted shows no filesystem information for the system partition.
Mounting the partition as type "vfat" works seamlessly.
Matt -- looks like a parted problem to me.
please dd if=/dev/whatever of=boot-raw bs=512 count=3 and attach it as a octet
Created attachment 31254 [details]
Binary dump of first 3 blocks
Sorry, I need at least 40 sectors... (I forgot how big gpt partition tables are..)
Created attachment 31416 [details]
dd dump of 40 blocks
Here is the output of the parted 'print' command:
Disk geometry for /dev/sdb: 0.000-17510.443 megabytes
Disk label type: GPT
Minor Start End Filesystem Name Flags
1 0.017 175.016 EFISYSPART boot, lba
2 175.017 275.016 FAT boot, lba
3 275.017 2275.016 linux-swap lba
4 2275.017 17509.122 ext3 lba
Partition 1 is the System partition created with 'spadmin'.
Partition 2 is the partition created during RedHat install.
Could you please do:
dd if=/dev/sdb1 of=sdb1 bs=1024k
bzip2 -9 sdb1
and attach that?
Hmm - I guess I better run parted in a debugger myself. Just tell me what I
should be looking for,
and give me a few days.
build with debugging support and break in ped_file_system_probe. You'll be able
to step in each registered filesystem probe function. If more than one probe
succeeds (if the partition has more than one filesystem magic), it falls back to
be sure to break in fat_probe to see why it's failing there.
Closing due to inactivity.
Closing due to inactivity - please reopen if you have additional comments to add
to this bug.
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.