Jump to content

Stuck in a GRUB funk (4 drive quad boot)


2 posts in this topic

Recommended Posts

Hello all. Before anything I'll detail my current drive and boot setup.

My hackintosh runs off an HP xw8400 PC

I have 4 separate SATA drives on the same controller

The first drive is running Linux (centos + grub), the second uses WinXP 64bit. the third WinXP 32bit, and lastly the mac drive formatted as GUID with its EFI partition (x.0), mac partition(x,1), and a small ext2 linux partition (x,2) to host the boot_v9 bootloader

Linux boots up off GRUB fine of course, and so does Win64, and Win32, but not OSX. OSX boots up fine if I bypass GRUB by put switching it to the first SATA slot on the controller. But the idea is to use grub as the main bootloader. I tried all sorts of different syntax to try to point grub to the OSX partition, but that didn't work. Luckily I had the small ext2 partition on my mac drive, and I proceeded to dump pc_efi there (boot_v9, booth, boot0). Currently when I select OSX in grub it gives me a "can't find com.apple.Boot.Slist". Now you'd think it would spell it right, but it actually says Slist instead of plist.

I'm pulling my hair out with this one, if anyone could give me any pointers I'd appreciate it. Thanks! Below is my grub conf file, and below that is a disk list print out of fdisk.

 

title CentOS (2.6.9-78.0.22.plus.c4smp)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.22.plus.c4smp ro root=LABEL=/1 rhgb quiet

title Win64
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
makeactive

title Win32
map (hd0) (hd3)
map (hd3) (hd0)
rootnoverify (hd3,0)
chainloader +1
makeactive

title Mac OSX Leopard
rootnotverify (hd2,3)
kernel /boot_v9
boot

 

# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         522     4192933+  83  Linux
/dev/sda2             523      118060   944123985   83  Linux
/dev/sda3          118061      121386    26716095   82  Linux swap

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1      121600   976751968+   7  HPFS/NTFS

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1          26      204819+  ee  EFI GPT
/dev/sdc2              26       30297   243150008   af  Unknown
/dev/sdc3           30313       30402      712664   83  Linux

Disk /dev/sdd: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1        9730    78149720    7  HPFS/NTFS

Link to comment
Share on other sites

Nevermind. Solved it on my own. Also, the small ext2 partition on the OSX drive wasn't necessary (ended up nuking it). The entry below worked fine. Forgot to mention that I'm using chameleon on the OSX drive (default w/ iPC 10.5.6 install).

 

title Mac OSX Leopard

root (hd2)

chainloader --force +1

boot

Link to comment
Share on other sites

 Share

×
×
  • Create New...