squimmy Posted February 7, 2007 Share Posted February 7, 2007 Hi, I have recently invested a heck of a lot of effort in getting OS X installed and at last have managed. Now I need to boot it. I am trying to do so with GRUB but failing miserably. My partition table, as the YAST partition manager sees it is: my settings for grub are: title MacOSX root (hd1,2) makeactive chainloader +1 boot Anybody know why it isn't booting? Thanks! Link to comment https://www.insanelymac.com/forum/topic/41481-booting-with-grub/ Share on other sites More sharing options...
dvornik Posted February 7, 2007 Share Posted February 7, 2007 (edited) Yeah, they start counting from 0. 0 means first in this context. Not sure why your drives start from b, but your OSX partition is definitely 1 (meaning second). So it's probably (hd1,1). Or maximum (hd0,1). You know, hdb is the drive (second drive because b comes after a) and hdb1, and hdb2 are partitions (that would be 0 and 1 cause they count from 0) Edited February 7, 2007 by dvornik Link to comment https://www.insanelymac.com/forum/topic/41481-booting-with-grub/#findComment-296666 Share on other sites More sharing options...
cbmkgd Posted February 7, 2007 Share Posted February 7, 2007 (edited) Third partition, so would be (hd?,2) , unless the empy second partition isn't counted! Also weird that it starts at b... To be sure, you could go into grub's command line interface and check which way to write. In the cmdline, if you write (hd and then use the Tab, it will list what numbers are available. If it's really "1" for the drive you want, then write (hd1, and then use the Tab to see a list of possible partition numbers; that way you'll be sure. /edit: doh, had written something about osx placed after the extended, but that's not it. Edited February 7, 2007 by cbmkgd Link to comment https://www.insanelymac.com/forum/topic/41481-booting-with-grub/#findComment-296673 Share on other sites More sharing options...
jrrjrr Posted February 7, 2007 Share Posted February 7, 2007 Also, why is it listing your OSX partition as "Linux native"? It should normally be set as type "af", and it might list as unknown or HFS+. I think you can change it without affecting anything already on the partition itself. That is just a change to a tag in the partition table. Link to comment https://www.insanelymac.com/forum/topic/41481-booting-with-grub/#findComment-296681 Share on other sites More sharing options...
dvornik Posted February 7, 2007 Share Posted February 7, 2007 Third partition, so would be (hd?,2) My mistake. I don't understand what's going on in that picture. Link to comment https://www.insanelymac.com/forum/topic/41481-booting-with-grub/#findComment-296684 Share on other sites More sharing options...
cbmkgd Posted February 7, 2007 Share Posted February 7, 2007 (edited) Well, for a moment I thought it was the extended partition, and that osx was thus placed after... but that's not what we see in the sector column... /edit: strange still... usually isn't the extended partition shown in such a table, containing partitions 5, 6 and 7? I would have thought that if partition 2 (hdd2) is the extended partition containing 5, 6 and 7, then its sector span would have been 2614 to 14594. But then how to account for hdd3? So, in Yast "Extpert Partitioner", is the extended partition usually displayed (as well as the logicals it contains)? Edited February 7, 2007 by cbmkgd Link to comment https://www.insanelymac.com/forum/topic/41481-booting-with-grub/#findComment-296685 Share on other sites More sharing options...
squimmy Posted February 8, 2007 Author Share Posted February 8, 2007 (edited) I'd show you what it looks like in Acronis Disk Director, but I found that my Windows partition has imploded or something. All my work under Windows in gone, i'm incredibly pissed off. Now all I have is a completely working Linux partition (which i'm using to post this) and a half working OS X partition which I can't boot. I also know that it says it is Linux native - it isn't. Disk Director when it worked showed it as AF and when i booted the OS X disk under VMWARE it immediately recognised the partition as HFS+. I would, now quite desperatly like to get OS X working and don't understand why it wont work. The error I seem to be getting is: Error 13: Invalid or Unsupported executable format Does this mean I'm booting the right partition but OS X isn't working? Thanks. Edited February 8, 2007 by squimmy Link to comment https://www.insanelymac.com/forum/topic/41481-booting-with-grub/#findComment-297086 Share on other sites More sharing options...
lord_muad_dib Posted February 8, 2007 Share Posted February 8, 2007 oh my..... use the on the fly grub editor and use TAB(over the hdd value) to select the right partition man always the same questions Link to comment https://www.insanelymac.com/forum/topic/41481-booting-with-grub/#findComment-297108 Share on other sites More sharing options...
squimmy Posted February 8, 2007 Author Share Posted February 8, 2007 I've done that and it's definately on the right partition. grub lists it as: unknown filesystem type:0xaf so im sure (1,2) it is correct. So... why isn't it working? It still gives me: Error 13: Invalid or Unsupported executable format Thanks Link to comment https://www.insanelymac.com/forum/topic/41481-booting-with-grub/#findComment-297405 Share on other sites More sharing options...
Recommended Posts