Bug 772033 - gptsync requires patching for installation on Mac hardware with FileVault 2 enabled
Summary: gptsync requires patching for installation on Mac hardware with FileVault 2 e...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 16
Hardware: x86_64
OS: All
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-05 17:41 UTC by bcling
Modified: 2013-01-10 06:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-19 20:22:28 UTC
Type: ---


Attachments (Terms of Use)
gptsync lib.c patch allowing Fedora 16 installation with FileVault 2 (1.66 KB, application/octet-stream)
2012-01-05 17:41 UTC, bcling
no flags Details

Description bcling 2012-01-05 17:41:25 UTC
Created attachment 550972 [details]
gptsync lib.c patch allowing Fedora 16 installation with FileVault 2

Description of problem:
Use of FileVault 2 with Mac OS 10.7 inhibits use of Fedora due to the inability of gptsync to create a hybrid MBR. This bug appears to apply to rawhide as well since the source code for gptsync has not changed.

Version-Release number of selected component (if applicable):
16.25-1

How reproducible:
Always.

Steps to Reproduce:
1. Install Mac OS X with the following partitions through Disk Utility:
   A. Mac OS
   B. Windows (FAT) (optional, but was used in this troubleshooting sequence)
   C. Linux (FAT)
2. Install Windows 7 x64 (optional, see above).
3. Install Fedora 16 x86_64 (used Live CD to speed troubleshooting).
4. Enable FileVault 2
5. Attempt to boot to Windows or Fedora - unable to do so; holding down the option key does not show any other OS options.

Actual results:
Mac OS X is the only OS that will boot, due to the lack of a hybrid MBR. gptsync will not create the hybrid MBR due to two unrecognized partitions:
1. BIOS GRUB partition created for Fedora 16.
2. Apple CoreStorage partition type created during FileVault 2 activation.

Modifying and recompiling gptsync enables the hybrid MBR to be created.

Expected results:
gptsync should recognize all partitions created by Fedora, at a minimum. Enhanced recognition for Apple CoreStorage should be added as well.

Additional info:
1. Model Identifier: MacBookPro6,1
2. Using BootCamp to dual boot Mac OS (FileVault 2 enabled) and Windows is not an issue.
3. Attached patch (hack job) adds Apple CoreStorage and BIOS Boot as recognized partition GUIDs.
4. Use of rEFIt is not required but will work for booting purposes. rEFIt will require installation to the first partition (EFI, 200 MB default).

Comment 1 Jesse Keating 2012-07-19 20:22:28 UTC
We're not running gptsync any more in anaconda.  We're not going to ship it any more either.


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