FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

LinkBack Thread Tools
Old 02-16-2012, 06:52 PM
Matthew Garrett
Default Don't set the pmbr bootable flag on Macs, whether booted via EFI or not

Macs object to seeing the active flag set in the pmbr, even if they're
booting via BIOS. Avoid doing that.
pyanaconda/storage/formats/disklabel.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/formats/disklabel.py b/pyanaconda/storage/formats/disklabel.py
index 0629c26..bac042b 100644
--- a/pyanaconda/storage/formats/disklabel.py
+++ b/pyanaconda/storage/formats/disklabel.py
@@ -161,7 +161,8 @@ class DiskLabel(DeviceFormat):

# Set the boot flag on the GPT PMBR, this helps some BIOS systems boot
if self._partedDisk.isFlagAvailable(parted.DISK_GPT_P MBR_BOOT):
- if iutil.isEfi():
+ # MAC canboot as EFI or as BIOS, neither should have PMBR boot set
+ if iutil.isEfi() or iutil.isMactel():
log.debug("Not setting pmbr_boot on %s" % (self._partedDisk,))
self._partedDisk.setFlag(parted.DISK_GPT_PMBR_BOOT )

Anaconda-devel-list mailing list

Thread Tools

All times are GMT. The time now is 06:59 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org