Fedora Linux Support Community & Resources Center
  #31  
Old 28th February 2012, 03:41 AM
SwissalpS Offline
Registered User
 
Join Date: Feb 2012
Location: @home
Posts: 10
linuxchrome
Re: Booting Fedora (any) on a Macbook Pro 8,2

In summary:
The live-CD iso was downloaded Sunday, it booted fine, installed but failed to install bootloader.

Now that I can copy/paste, here my two working GRUB entries:
Code:
menuentry "Fedora 16 fakebios, askmethod" {
        fakebios
        linux (hd0,4)/vmlinuz-3.1.0-7.fc16.x86_64 root=/dev/sda10 askmethod
        initrd (hd0,4)/initramfs-3.1.0-7.fc16.x86_64.img
}

menuentry "Fedora 16 fakebios rhgb rd.luks rd.md rd.dm" {
        fakebios
	root=(hd0,10)
        linux (hd0,4)/vmlinuz-3.1.0-7.fc16.x86_64 root=/dev/sda10 rhgb rd.luks=0 rd.md=0 rd.dm=0
        initrd (hd0,4)/initramfs-3.1.0-7.fc16.x86_64.img
}
for the first boot only the second entry worked, from then on both boot fine.

got EFI here

Boot partition(sda4/hd0,4) is formated as ext2.
As previous attempts had failed to install bootloader, I skipped that part.

BOOTX64.efi and grub.cfg reside on FAT32 partition sda6.

---------- Post added at 04:41 AM ---------- Previous post was at 04:37 AM ----------

Quote:
Originally Posted by chrismurphy View Post
OK interesting. I take it you did not use yum to install GRUB2? What happens if you type
Code:
yum info grub2-efi
I probably didn't use yum until now. Installed all software with the GUI front-end.

here's the output you requested:
Code:
Available Packages
Name        : grub2-efi
Arch        : x86_64
Epoch       : 1
Version     : 1.99
Release     : 13.fc16
Size        : 1.3 M
Repo        : updates
Summary     : GRUB for EFI systems.
URL         : http://www.gnu.org/software/grub/
License     : GPLv3+
Description : The GRand Unified Bootloader (GRUB) is a highly configurable and
            : customizable bootloader with modular architecture.  It support
            : rich varietyof kernel formats, file systems, computer
            : architectures and hardware devices.  This subpackage provides
            : support for EFI systems.

Last edited by SwissalpS; 28th February 2012 at 03:46 AM. Reason: adding this disclaimer that I may have or not have done everything exactly as described, as I did try a lot of variants...
Reply With Quote
  #32  
Old 28th February 2012, 06:15 AM
chrismurphy Offline
Registered User
 
Join Date: May 2010
Posts: 867
linuxfirefox
Re: Booting Fedora (any) on a Macbook Pro 8,2

Well at least that version is not installed. The GUI software installer should be using yum. Try downloading bootinfoscript and running it, then posting the results.

http://sourceforge.net/projects/bootinfoscript/

---------- Post added at 11:15 PM ---------- Previous post was at 10:00 PM ----------

Those GRUB entries look like Grub Legacy entries rather than generated by grub2-mkconfig. I'm guessing that grub.cfg is custom. So maybe the fakebios is now working.

This disk has 10 partitions?
Reply With Quote
  #33  
Old 28th February 2012, 09:22 AM
SwissalpS Offline
Registered User
 
Join Date: Feb 2012
Location: @home
Posts: 10
linuxchrome
Re: Booting Fedora (any) on a Macbook Pro 8,2

To speed up the process, I cloned the live-CD to a USB-stick. And used it and OS X to manipulate the 'not working' F16 installation.

Quote:
Originally Posted by chrismurphy View Post
Those GRUB entries look like Grub Legacy entries rather than generated by grub2-mkconfig. I'm guessing that grub.cfg is custom. So maybe the fakebios is now working.
I only used yum (directly or indirectly) when booted from the USB-stick to download the kernel documentation. That did not help much. I used the .cfg that came with the .efi file as template and manually adjusted according to information found around the web.

Quote:
Originally Posted by chrismurphy View Post
This disk has 10 partitions?
11, I prefer flexibility over space The HD was previously a multibooter in a MacBook (white) with Fedora, Ubuntu, Snow Leopard and various puppies. I hadn't managed to get Windows to work, so I used that in a VM.

Grub on sda1 no longer works, eventually will be replaced by whatever manages to boot all flavours again.
Attached Files
File Type: txt RESULTS.txt (23.9 KB, 43 views)
__________________
If I fully understood what I'm doing, I wouldn't be here.
Reply With Quote
  #34  
Old 28th February 2012, 03:06 PM
SwissalpS Offline
Registered User
 
Join Date: Feb 2012
Location: @home
Posts: 10
linuxchrome
Lightbulb Re: Booting Fedora (any) on a Macbook Pro 8,2

There was a Firmware update lately.... maybe that helped.

I just remembered that before attempting to install Fedora 16, I ran Software Update in OS X 10.6.x and installed the new Firmware.
__________________
If I fully understood what I'm doing, I wouldn't be here.
Reply With Quote
  #35  
Old 28th February 2012, 04:00 PM
chrismurphy Offline
Registered User
 
Join Date: May 2010
Posts: 867
macoschrome
Re: Booting Fedora (any) on a Macbook Pro 8,2

Oops! My original reply on this I deleted because I realized after posting that I had confused it with another thread entirely.

1. GRUB2 is in the MBR, so that would indicate you're booting CSM/BIOS mode, not EFI.

2. Question. How *exactly* are you booting into Fedora? Start with a computer that's completely turned off and provide an exact step by step on how you're getting Fedora to boot. Power button, and then you are holding down the option key? And what icons do you see? Which icon do you choose? Etc.

3. Your hybrid MBR is cluttered as well as rather dangerous. So it's possible the Mac's EFI is getting confused. I would use gdisk, 'yum install gdisk' to make a new hybrid MBR with a single partition, 10, added to the MBR. You do want to add EFI System to the protective MBR, and you do want partition 10 marked as bootable in the MBR ("gpt fdisk" will ask these questions).

4. You've got bootloaders on multiple partitions. I can't tell you how Apple's CSM/BIOS is going to react to these. I found partition specific bootloaders to give me a really hard time and so I've stopped using them.

Not sure what to recommend what you do next, but it appears to be booting.
Reply With Quote
  #36  
Old 28th February 2012, 04:28 PM
SwissalpS Offline
Registered User
 
Join Date: Feb 2012
Location: @home
Posts: 10
linuxchrome
Re: Booting Fedora (any) on a Macbook Pro 8,2

Quote:
Originally Posted by chrismurphy View Post
2. Question. How *exactly* are you booting into Fedora? Start with a computer that's completely turned off and provide an exact step by step on how you're getting Fedora to boot. Power button, and then you are holding down the option key? And what icons do you see? Which icon do you choose? Etc.
  1. Power button
  2. rEFIt on OSX6[sda5] partition lists 3 options: Linux(dead ATM [sda1]), OSX6 (works fine) and Unknown OS [sda4]. I choose Unknown[sda4]
  3. Grub 1.99 shows my .cfg on sda4 -> I choose either of the options I posted earlier, they both boot Fedora 16
I can use the option key, but it is simpler this way.

Quote:
Originally Posted by chrismurphy View Post
3. Your hybrid MBR is cluttered as well as rather dangerous. So it's possible the Mac's EFI is getting confused. I would use gdisk, 'yum install gdisk' to make a new hybrid MBR with a single partition, 10, added to the MBR. You do want to add EFI System to the protective MBR, and you do want partition 10 marked as bootable in the MBR ("gpt fdisk" will ask these questions).
I agree, it has become a mess. This machine is mission critical to me ATM, so I'm hesitant to do anything that could stop my OS X from working. (until around mid April, by then my current project will be done). So I will only proceed with this suggestion if you can confirm that I won't mess up my OS X doing so.

Quote:
Originally Posted by chrismurphy View Post
4. You've got bootloaders on multiple partitions. I can't tell you how Apple's CSM/BIOS is going to react to these. I found partition specific bootloaders to give me a really hard time and so I've stopped using them.

Not sure what to recommend what you do next, but it appears to be booting.
I can live with this until mid April. In the meantime I could offer to recreate on my white MacBook (fried USB-ports) with reproduced partition scheme. I currently use it as an on-site backup.

If anyone could help me get audio working, that'd be swell, but not important as this would only be for bragging to my friends/co-workers who are Ubuntu and OS X enthusiasts. (Lucid Lynx plays audio but no keyboard and screen dimming control)
__________________
If I fully understood what I'm doing, I wouldn't be here.
Reply With Quote
  #37  
Old 8th March 2012, 04:58 PM
jfoechsler Offline
Registered User
 
Join Date: Aug 2009
Posts: 2
windows_7firefox
Re: Booting Fedora (any) on a Macbook Pro 8,2

I'm used this nice guide to install Fedora 16: http://fedorasolved.org/Members/jmon...sing-grub2-efi on late 2011 model MBP.
Which means GPT and grub2-efi (no rEFIt just option key to select EFI disk with Fedora on it)
Seems I have to use nomodeset and/or radeon.modeset=0 on kernel line to boot else it locks up.

I still haven't figured out if I can make graphical mode work and how, so if anyone has some input let me know
Reply With Quote
Reply

Tags
booting, fedora, macbook, pro

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Booting OSX 10.6 and Fedora 12+ on a MacBook 6,1 XCodes Installation and Live Media 0 29th September 2011 02:29 AM
GRUB error Fedora 15 when Dual Booting on MacBook Pro madtowneast Installation and Live Media 2 23rd July 2011 04:12 AM
macbook no longer booting - pls help miles Using Fedora 2 21st August 2009 07:26 PM
Macbook not Macbook pro - No sound and right click on the trackpad Andrew James Mac Chat 3 8th March 2009 05:33 PM
Need Help dual booting Apple Macbook 2.16 ReveurInfini Installation and Live Media 15 27th November 2007 02:58 AM


Current GMT-time: 21:33 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat