Jump to content

Grub + Clover on a logical partition


1 post in this topic

Recommended Posts

Hi,

 

I've successfully installed Yosemite on a Toshiba Laptop (R30-A), as the laptop is my working machine and was already running GNU/Linux, I installed OS/X on a logical partition, here's the setup:

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1          0+    607-    608-   4881408   83  Linux <-- /boot
/dev/sda2        607+  28813-  28206- 226561025    5  Extended
/dev/sda3   *  28813+  60801-  31988- 256942080   af  HFS / HFS+ <-- OS/X
/dev/sda4          0       -       0          0    0  Empty
/dev/sda5        607+  28570-  27963- 224608256   83  Linux
/dev/sda6      28570+  28813-    243-   1951744   83  Linux

To achieve this setup, I kept grub as the main bootloader, and added the following entry:

$ cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry 'Mac OS X (Clover)' {
    insmod hfsplus
    set root='(hd0,3)'
    chainloader /EFI/BOOT/boot1h2
}

The issue is that this setup mostly works. In fact, most of the time, when I choose to boot OS/X, boot1h2 will load, but just before changing the resolution to get into Clover, the screen remains black, instantly after seeing a "5" on the top left corner of the screen.

 

There's one method to make this method work every time: when getting to the Grub menu, type 'e' to edit the OS/X section, wait about 5 seconds, and boot using Ctrl-X.

This makes me think of a filesystem reading delay problem but I'm not 100% sure. To get certain this was not a graphical setup issue I added

<key>TextOnly</key>

to Clover's config.plist. Didn't change anything.

 

Any ideas on how to fix this?

Link to comment
Share on other sites

 Share

×
×
  • Create New...