Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36141

How to chainload OSX in Fedora 18?

$
0
0
I want to chainload OSX with grub in Fedora 18. This what i have done so far:
Code:

leafpad /etc/grub.d/40_custom
Code:

menuentry "OSX" {
set root=(sda2)
chainloader /System/Library/CoreServices/boot.efi
}


then

Code:

grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
sda1 is EFI partition and the Mac partition is sda2.

With Fedora 17 i used the following:

Code:

leafpad /boot/efi/EFI/redhat/grub.conf
Code:

# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file.
# NOTICE:  You have a /boot partition. This means that all kernel and
#          initrd paths are relative to /boot, eg.
#          root (hd0,3)
#          kernel /vmlinuz-version ro root=/dev/sda5
#          initrd /initrd-[generic-]version.img

boot=/dev/sda4
device (hd0,4) HD(4,2f8f4800,64000,c9c4378b-2b06-4835-9fcd-1456d12319d3)
default=0
timeout=15
splashimage=(hd0,4)/grub/splash.xpm.gz

title Fedora (3.6.1-1.fc17.x86_64)
        root (hd0,4)
        kernel /vmlinuz-3.6.1-1.fc17.x86_64 rd.md=0 rd.lvm=0 rd.dm=0  KEYTABLE=us SYSFONT=True rd.luks=0 LANG=en_US.UTF-8 ro root=UUID=3b197913-f9c1-4fd6-b054-6926ede5ca09 rhgb quiet
        initrd /initramfs-3.6.1-1.fc17.x86_64.img

title OSX
root (hd0,1)
chainloader /System/Library/CoreServices/boot.efi

Any ideas what's happening with GRUB in Fedora 18?

Viewing all articles
Browse latest Browse all 36141

Trending Articles