Jump to content
7 posts in this topic

Recommended Posts

Hi 

 

I tried to boot Leopard (iDeneb) from grub with these lines :

 

title Leopard

 

rootnoverify (hd0,7)

 

makeactive

 

chainloader --force +1

but I just get a black screen and my computer restart  :(  

 

could someone help me?? thanks!

 

You have installed Leopard on a extended partition (hd0,7) grub can't start Leopard grub start only primary partitions.

 

You can install Leopard in a primary partition (hd0,0 or hd0,1 or hd0,2 or hd0,3)

 

rootnotverify is wrong, the right command is: root (hdx,x)

 

Giorgio

You have installed Leopard on a extended partition (hd0,7) grub can't start Leopard grub start only primary partitions.

 

You can install Leopard in a primary partition (hd0,0 or hd0,1 or hd0,2 or hd0,3)

 

rootnotverify is wrong, the right command is: root (hdx,x)

 

Giorgio

 

No, you're wrong. rootnoverify just means that it will set that partition as root and not attempt to mount it first, which is useful here because grub doesn't support HFS yet. And yes, you have to put Leopard, and any other OS for that matter, on one of the first 4 partitions of the drive because grub won't boot extended partitions.

Finally working. Vista on Partition 1, OSX on 2. Downloaded & copied pc_efi_v80 to /boot on my Linux partition.

 

-----------

title SUSE LINUX

root (hd0,5)

kernel /boot/vmlinuz root=/dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJDWQ256316-part6 splash=silent showopts

initrd /boot/initrd

 

###Don't change this comment - YaST2 identifier: Original name: failsafe###

title Failsafe -- SUSE LINUX

root (hd0,5)

kernel /boot/vmlinuz root=/dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJDWQ256316-part6 showopts ide=nodma apm=off acpi=off noresume edd=off x11failsafe

initrd /boot/initrd

 

title Vista

rootnoverify (hd0,5)

chainloader (hd0,0)+1

 

title OSX

rootnoverify (hd0,1)

kernel (hd0,5)/boot/boot_v8

chainloader +1

Yet my grub is able to boot ubuntu and I'm sure that ubuntu is installed on a logical disk in my extended partition (like MacOS is).

 

Linux, for whatever reason, doesn't care if it's installed on extended/logical partitions. That goes for the root partition and the swap partition. GRUB will boot Linux straight from a primary or a logical partition, but when it comes to OS X, you have to mess around with chainloaders, force commands, rootnoverify, etc... I find it kinda messy, personally.

 

Fortunately for me, wmarsh has a great guide about booting PC EFI with GRUB, so I'd look at that, but basically here's how I do it: GRUB on first hard drive, OSX on second in a PRIMARY partition. (I also have several Linux distros, but all of those partitions are logical.) Get the PC EFI "boot_v9" file from netkas, and put it in a partition on the same disk as OSX, but one that GRUB will recognize. So, for me, I made a 7.84mb ext2 partition (logical, because GRUB can go straight to it without it having to be primary) and put it in there. GRUB entry is:

 

title OS X Leopard

root (hd1,6) ---this is the small logical ext2 partition I made.

kernel /boot_v9

 

In my case, since boot_v9 is the only file in hd(1,6), I can just point straight to it as the kernel. Whatever you do, just make sure that kernel entry points to the right directory on the partition specified in the root entry above it. In my case, this takes the boot process from GRUB on the first drive, hands it to the boot_v9 file on the second drive, which then looks for the ACTIVE HFS+ partition (which has OS X on it) on that disk. That's why the PC EFI boot file has to be on the same disk as the OS X installation, and why you need to make sure the OS X installation partition is set to active. Update! I just tried setting a different partition on the 2nd disk (an empty primary NTFS partition) to active, and I can still boot straight to OSX from GRUB using this method. Evidently, boot_v9 just looks for the first HFS+ partition, active or not. It jumps from here to the Darwin bootloader, which I just wait out for 2 seconds until it boots OS X straightaway. This is also a bonus, because I will eventually have two OS X installations, so Darwin can help me choose from there, at least until I figure out a more elegant GRUB-only solution. If you have only one OS X install, there are no extra keystrokes once you choose from GRUB to any of the OS's (XP and Linux included).

 

I have a very comprehensive guide coming forth soon for just this sort of setup. So many of us have GRUB as a bootloader, and OS X on a secondary hard drive, that I think I've found a very good way to multi-boot with a minimized danger of losing boot capabilities even if you delete one of the OS's. Stay tuned. :(

 

And here is wmarsh's original guide:

http://forum.insanelymac.com/index.php?showtopic=85508

 

PM me with any questions. I learn by helping.

No, you're wrong. rootnoverify just means that it will set that partition as root and not attempt to mount it first, which is useful here because grub doesn't support HFS yet. And yes, you have to put Leopard, and any other OS for that matter, on one of the first 4 partitions of the drive because grub won't boot extended partitions.

 

 

(hd0,7) is a extended partition. Grub is not able to start Leopard from it.

 

The primariy partition are: (hd0,0) (hd0,1) (hd0,2) and (hd0,3)

 

With rootnotverify Leopard not boot and give error the right command is: root (hdx,x) with primary partition

 

Giorgio

×
×
  • Create New...