Bug 53324 - EFI system partition isn't recognized by installer
Summary: EFI system partition isn't recognized by installer
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: parted
Version: 9
Hardware: ia64
OS: Linux
medium
low
Target Milestone: ---
Assignee: Matt Wilson
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-09-06 18:22 UTC by Martin Wilck
Modified: 2008-01-17 17:49 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 18:48:08 UTC
Embargoed:


Attachments (Terms of Use)
Hex dump of first 3 disk blocks (6.38 KB, text/plain)
2001-09-07 09:33 UTC, Martin Wilck
no flags Details
Binary dump of first 3 blocks (1.50 KB, application/octet-stream)
2001-09-07 17:44 UTC, Martin Wilck
no flags Details
dd dump of 40 blocks (20.00 KB, application/octet-stream)
2001-09-10 08:42 UTC, Martin Wilck
no flags Details

Description Martin Wilck 2001-09-06 18:22:34 UTC
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):


How reproducible:
Didn't try

Steps to Reproduce:
1. make a GPT partition tabe and EFI system partition on a disk with EFI
tools
2. install Roswell on that disk
3. When partitioning, specify that existing partitions should be left in
place 
	

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).


Additional info:

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.

Comment 1 Jeremy Katz 2001-09-06 19:00:44 UTC
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
partition?

Comment 2 Martin Wilck 2001-09-07 09:33:20 UTC
Created attachment 31216 [details]
Hex dump of first 3 disk blocks

Comment 3 Martin Wilck 2001-09-07 09:33:51 UTC
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.


Comment 4 Jeremy Katz 2001-09-07 16:38:29 UTC
Matt -- looks like a parted problem to me.

Comment 5 Matt Wilson 2001-09-07 17:26:29 UTC
please dd if=/dev/whatever of=boot-raw bs=512 count=3 and attach it as a octet
stream.


Comment 6 Martin Wilck 2001-09-07 17:44:20 UTC
Created attachment 31254 [details]
Binary dump of first 3 blocks

Comment 7 Matt Wilson 2001-09-07 19:54:40 UTC
Sorry, I need at least 40 sectors... (I forgot how big gpt partition tables are..)


Comment 8 Martin Wilck 2001-09-10 08:42:55 UTC
Created attachment 31416 [details]
dd dump of 40 blocks

Comment 9 Martin Wilck 2001-09-10 08:46:05 UTC
Here is the output of the parted 'print' command:

Using /dev/sdb
(parted) print
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.


Comment 10 Matt Wilson 2001-09-10 13:55:50 UTC
Could you please do:

dd if=/dev/sdb1 of=sdb1 bs=1024k
bzip2 -9 sdb1

and attach that? 


Comment 11 Martin Wilck 2001-09-10 14:09:51 UTC
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.




Comment 12 Matt Wilson 2001-09-10 14:16:16 UTC
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
_probe_with_open.

be sure to break in fat_probe to see why it's failing there.


Comment 13 Michael Fulbright 2002-04-25 21:21:56 UTC
Closing due to inactivity.

Comment 14 Michael Fulbright 2002-05-23 16:53:10 UTC
Closing due to inactivity - please reopen if you have additional comments to add
to this bug.

Comment 15 Red Hat Bugzilla 2006-02-21 18:48:08 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.