Properly booting a Mac
Nov. 9th, 2011 04:49 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
This is mostly for my own reference, but since it might be useful to others:
By "Properly booting" I mean "Integrating into the boot system as well as Mac OS X does". The device should be visible from the boot picker menu and should be selectable as a startup disk. For this to happen the boot should be in HFS+ format and have the following files:
Now all I need is an aesthetically appealing boot loader.
By "Properly booting" I mean "Integrating into the boot system as well as Mac OS X does". The device should be visible from the boot picker menu and should be selectable as a startup disk. For this to happen the boot should be in HFS+ format and have the following files:
- /mach_kernel (can be empty)
- /System/Library/CoreServices/boot.efi (may be booted, if so should be a symlink to the actual bootloader)
- /System/Library/CoreServices/SystemVersion.plist which should look something like
<xml version="1.0" encoding="UTF-8"?> <plist version="1.0"> <dict> <key>ProductBuildVersion</key> <string></string> <key>ProductName</key> <string>Linux</string> <key>ProductVersion</key> <string>Fedora 16</string> </dict> </plist>
Now all I need is an aesthetically appealing boot loader.
no subject
Date: 2011-11-09 10:57 pm (UTC)rEFIt works great
Date: 2011-11-10 01:01 am (UTC)Re: rEFIt works great
Date: 2011-11-10 03:01 am (UTC)not Linux
Date: 2011-11-10 01:49 am (UTC)Re: not Linux
Date: 2011-11-10 03:01 am (UTC)yet another partition
Date: 2011-11-10 09:35 am (UTC)Re: yet another partition
Date: 2011-11-10 01:33 pm (UTC)What's your setup?
Date: 2011-11-10 05:05 pm (UTC)I created a usb live cd image of fedora 16 (http://dummdida.blogspot.com/2011/10/efi-fedora.html)
I then booted to the live usb image and installed Fedora. Here's my partition table:
/dev/sda1 fat, /boot/efi
/dev/sda2 hfs+,
/dev/sda3 ext4, /
/dev/sda4 swap,
/dev/sda5 ext4, /home
I see that on the EFI System Partition it now has EFI/redhat/grub.efi but when I boot my macbook (pro 5,4) holding alt the only option to boot is Macintosh HD.
Is this extra hfs+ partition required to make my fedora install show up in the boot menu? Or did I install this wrong?
Thanks in advance for any advice you can shed on this. What did you do to get your fedora install to work?
Re: What's your setup?
Date: 2011-11-10 05:10 pm (UTC)Re: What's your setup?
Date: 2011-11-10 05:23 pm (UTC)But for my own clarity... were my mounts correct from above? And this extra hfs+ partition should be mounted to /boot ? is that correct?
Re: What's your setup?
Date: 2011-11-10 05:31 pm (UTC)Single boot?
Date: 2011-11-26 08:13 pm (UTC)Re: Single boot?
Date: 2011-11-27 08:38 pm (UTC)Arch Linux on Macbook Air 4,2
Date: 2011-12-13 03:53 pm (UTC)http://d.goodlad.net/articles/arch_linux_on_mba_42/
Bootloader installation
Date: 2012-08-10 04:24 pm (UTC)If it's on the extra hfs partition: How did you get it there? As far as I know, Linux installation medias don't have a hfs file system driver, so you can't write the file to the partition during installation.
If it's anywhere else: How did you create the symlink? Symlinking to a file on an unmounted device doesn't sound very good, but you can't mount the partition at this point of the startup process, can you?
Maybe this is a stupid question, but I've searched for additional information on several other websites and most of them advise to use rEFIt, but your approach sounds a lot cleaner to me, so I'd be very happy, if you could clarify this point to me.
Re: Bootloader installation
Date: 2012-08-10 04:28 pm (UTC)Re: Bootloader installation
Date: 2012-12-03 07:15 am (UTC)Re: Bootloader installation
Date: 2012-12-04 09:53 pm (UTC)----------------------------------------------------------------
3.0 KiB free space
1 200.0 MiB EFI System EFI System Partition
2 175.7 GiB Apple HFS/HFS+ mac
128.0 MiB free space
3 200.0 MiB Apple HFS/HFS+ Linux EFI
128.0 MiB free space
4 200.0 MiB Linux filesystem Boot
5 10.0 GiB Linux filesystem Root
6 43.0 GiB Linux filesystem Home
7 3.4 GiB Linux swap Swap
Apple boot-picker menu
Date: 2013-09-11 09:06 am (UTC)Thank You
Re: Apple boot-picker menu
Date: 2013-09-11 09:26 am (UTC)