keplenk Posted June 22, 2008 Share Posted June 22, 2008 Hi all, I don't know if this is the right area to post this query. Shoud it be on *nix? If I'm wrong, I apologize. Anyway, Here goes: I just installed Grub 2 as my main boot loader for my 3 OSes. One Hard Drive: 1st Partition: Win XP 2nd Partition: Leopard (leo4allv3 with efi) 3rd Partition: Ubuntu 8.04 4th Partition: Linux-Swap The first time I've installed Grub 2, I noticed that Windows XP is not auto detected. I've searched the forums and found out that I just have to add this line in my grub.cfg (since grub2 uses grub.cfg instead of menu.lst): menuentry "Windows XP Pro" { set root=(hd0,1) chainloader +1 } and it worked! Now, I have no idea on what to put for my Leopard. I've tried: menuentry "Mac" { set root=(hd0,2) chainloader +1 } It gave me an error HFS+ Partition... error and I've also tried (I've added boot_v8 in the /boot/grub folder in Ubuntu): menuentry "Mac" { set root=(hd0,1) /boot/grub/boot_v8 } and I guess It's not recognized. It just loops. Anybody knows what entry to add in grub.cfg to make Leopard working? *It was all working in Grub Legacy. I'm just trying out Grub2 Thank you in advanced. Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/ Share on other sites More sharing options...
keplenk Posted June 23, 2008 Author Share Posted June 23, 2008 bump Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-793740 Share on other sites More sharing options...
wmarsh Posted June 23, 2008 Share Posted June 23, 2008 Hi all, I don't know if this is the right area to post this query. Shoud it be on *nix? If I'm wrong, I apologize. Anyway, Here goes: I just installed Grub 2 as my main boot loader for my 3 OSes. One Hard Drive: 1st Partition: Win XP 2nd Partition: Leopard (leo4allv3 with efi) 3rd Partition: Ubuntu 8.04 4th Partition: Linux-Swap The first time I've installed Grub 2, I noticed that Windows XP is not auto detected. I've searched the forums and found out that I just have to add this line in my grub.cfg (since grub2 uses grub.cfg instead of menu.lst): menuentry "Windows XP Pro" { set root=(hd0,1) chainloader +1 } and it worked! Now, I have no idea on what to put for my Leopard. I've tried: menuentry "Mac" { set root=(hd0,2) chainloader +1 } It gave me an error HFS+ Partition... error and I've also tried (I've added boot_v8 in the /boot/grub folder in Ubuntu): menuentry "Mac" { set root=(hd0,1) /boot/grub/boot_v8 } and I guess It's not recognized. It just loops. Anybody knows what entry to add in grub.cfg to make Leopard working? *It was all working in Grub Legacy. I'm just trying out Grub2 Thank you in advanced. If you are trying the boot_v8 on Linux method, root has to match your Linux partition. Here you have root=(hd0,1), which matches your XP partition If Linux is root=(hd0,0), try that Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-793977 Share on other sites More sharing options...
kytzu Posted June 23, 2008 Share Posted June 23, 2008 or try lilo instead of grub, for me only lilo works to have triple os boot in one menu. Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-793993 Share on other sites More sharing options...
chris4048 Posted June 23, 2008 Share Posted June 23, 2008 why do you use Grub 2 ? it's still in alpha/beta stage. I am using gentoo and this is my configfile: title Mac OSx86 rootnoverify (hd0,0) makeactive chainloader +1 title Windows XP rootnoverify (hd0,1) makeactive chainloader +1 [it has also gentoo in conf but i removed it, isn't necessary) so be smart switch (back) to grub1 or try to add 'makeactive' command (looks like it's missing, but maby it isn't required) btw. I am using the leo4all release Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-794004 Share on other sites More sharing options...
keplenk Posted June 23, 2008 Author Share Posted June 23, 2008 Thanks for the replies. @chris4048 I honestly don't know why I'm trying Grub2, lol. I think I just want to evaluate it or something. I also managed to understand how easy it was to switch back to Grub Legacy. If I don't like Grub 2, I know how to go back easily. Well, maybe there is one reason why I'm trying Grub2. I have a GA-p35-ds3l motherboard and it's set to AHCI mode. In my case, noticed that Grub Legacy boots slower in this mode. I also noticed that it pauses longer before it displays the menus. It's actually no biggie because I can live with that pause and I love Grub Legacy. It's way way better that Acronis OS selector. I guess I'm in the quest of finding the fastest bootloader for my motherboard. Thanks @wmarsh; Thanks for your reply. I'll try what you suggest when I get home. You helped me before in my Grub Legacy issue. You were a lifesaver BTW, Are you using Grub2? For some reason, I noticed that my Grub2 doesn't load as the default bootloader. When I turn on my PC, it still loads Grub Legacy and it only added a new menu line that says "Chainload to Grub 2". When I highlight and press enter to that line, that is the only time I see Grub 2. I already posted my query in the Ubuntu forums for this issue. I'm still waiting for answers. @kytzu Lilo is next in line. Thanks for your suggestion. *sorry for my poor english Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-794082 Share on other sites More sharing options...
wmarsh Posted June 23, 2008 Share Posted June 23, 2008 @wmarsh; Thanks for your reply. I'll try what you suggest when I get home. You helped me before in my Grub Legacy issue. You were a lifesaver BTW, Are you using Grub2? For some reason, I noticed that my Grub2 doesn't load as the default bootloader. When I turn on my PC, it still loads Grub Legacy and it only added a new menu line that says "Chainload to Grub 2". When I highlight and press enter to that line, that is the only time I see Grub 2. I already posted my query in the Ubuntu forums for this issue. I'm still waiting for answers. I appreciate your comment. I use Grub "Legacy". The comments about grub2 being alpha are good ones; I avoid alpha when possible. Especially for my bootloader. Over the years I've migrated from OS/2 bootloader, to Boot Magic, and now to grub. I've tried others along the way. My major criteria is compatiblity with all my OSs. Grub has a nice advantage in that I can host it either on Linux or FreeBSD. So I can migrate it -- now from SUSE 10.3 to FreeBSD 7.0 -- so I can upgrade SUSE from 10.3 to 11.0 without risking my ability to boot at all. Another nice advantage is if you screw it up -- and with multiple OSs you eventually will screw it up -- you can fix it either from the grub command line or from a Linux live CD. I never cared for Lilo myself. Don't know why, its very stable. Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-794623 Share on other sites More sharing options...
keplenk Posted June 24, 2008 Author Share Posted June 24, 2008 I appreciate your comment. I use Grub "Legacy". The comments about grub2 being alpha are good ones; I avoid alpha when possible. Especially for my bootloader. Over the years I've migrated from OS/2 bootloader, to Boot Magic, and now to grub. I've tried others along the way. My major criteria is compatiblity with all my OSs. Grub has a nice advantage in that I can host it either on Linux or FreeBSD. So I can migrate it -- now from SUSE 10.3 to FreeBSD 7.0 -- so I can upgrade SUSE from 10.3 to 11.0 without risking my ability to boot at all. Another nice advantage is if you screw it up -- and with multiple OSs you eventually will screw it up -- you can fix it either from the grub command line or from a Linux live CD. I never cared for Lilo myself. Don't know why, its very stable. Ahh i see. So I think you already did what I'm doing now As of the moment, I think I'll just go back to grub and not bother to test grub 2. I don't know why but I can't boot my Leopard with 2. I give up! hahaha. Thanks for your insights and suggestions. You just summarized everything I wanted to know about bootloaders. Again, thanks for your great help! Now I'm back to Grub "Legacy" + gfxboot and still lovin it. Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-794980 Share on other sites More sharing options...
ForSSound Posted August 16, 2008 Share Posted August 16, 2008 Hi There, I have 3 hardrives in my laptop...the first one contains XP, Kubuntu, Mandriva en 2 apple leopards The second drive is a data drive in NTFS The 3d drive is a GPT drive with a apple_test,apple_working and a aplle data partition on it With Grub legacy I can't boot the GPT drive but I can boot everything else With GRUB2 I have the same error "hfs+ partition error" for the apple partitions on the first drive, but I can boot the GPT drive and everything else. So I gues there is a purpose to use GRUB2 Thanks for reading Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-858327 Share on other sites More sharing options...
yibbet Posted September 4, 2009 Share Posted September 4, 2009 Hi There, I have 3 hardrives in my laptop...the first one contains XP, Kubuntu, Mandriva en 2 apple leopards The second drive is a data drive in NTFS The 3d drive is a GPT drive with a apple_test,apple_working and a aplle data partition on it With Grub legacy I can't boot the GPT drive but I can boot everything else With GRUB2 I have the same error "hfs+ partition error" for the apple partitions on the first drive, but I can boot the GPT drive and everything else. So I gues there is a purpose to use GRUB2 Thanks for reading I'm using grub2 and have it working fine- you have to point it at the drive and not the partition. Mine chainloads into chameleon using something like this: menuentry "Mac" { set root=(hd4) chainloader +1 } It's not ideal having 2 bootloaders but it saves me from messing with my bios every time, grub2 now supports "savedefault" which makes it preferable to chameleon 2 (although not as shiny!!) for my uses. Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-1251581 Share on other sites More sharing options...
Ranguvar Posted September 7, 2009 Share Posted September 7, 2009 GRUB 2 shouldn't be too much of a problem. It's alpha, but only technically -- it's been in development for years and some of the main distros will be packing it in their next releases, like Ubuntu. If you want a shiny GRUB 2, check here: http://grub.gibibit.com/index (Grab the latest tarball from the Journal. The fancy stuff will be in mainline GRUB soon, though.) Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-1255168 Share on other sites More sharing options...
AsusMac Posted December 4, 2009 Share Posted December 4, 2009 Or you can use the following. I am use Ubuntu 9.10. menuentry "MAC 10.5.8" { multiboot (hd0,1)/boot/grub/boot_v8 module (hd0,1)/boot/grub/hfsplus.mod } Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-1350898 Share on other sites More sharing options...
algo_adrian Posted December 18, 2009 Share Posted December 18, 2009 This work for me. I found the solution in command line. chain0 = darwin menuentry "MAC (with darwin)" {set root=(hd0,2) chainloader /usr/standalone/i386/chain0 } sorry for my english Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-1363466 Share on other sites More sharing options...
Ijon Tichy Posted May 18, 2010 Share Posted May 18, 2010 ... so how did it all work out for you? Did you try ubuntu 10.4 recently? Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-1470818 Share on other sites More sharing options...
MaX2 Posted June 27, 2010 Share Posted June 27, 2010 ... so how did it all work out for you? Did you try ubuntu 10.4 recently? Maybe it's too late, but I find my way to boot into chameleon with Grub 2. Steps: ***I assume that Grub 2 detect automaticaly Mac OSx, but it doesn't boot Chameleon (and, by consequence, some kexts)*** ***The procedure was done with 2 HDD, the main one have Ubuntu with Grub 2 (in the boot order) and the order have Mac OSx*** *** If grub is missing, follow this tutorial http://ubuntuguide.net/how-to-restore-grub...dows-xpvistawin *** 1)In Mac OSx, install Chameleon 2.0 RC4 with this procedure: http://www.dailyblogged.com/new-chameleon-say-what/ ***Just change the folder name for the RC4 version*** 2)In Ubuntu, go in terminal 3)type the following code: sudo -i nautilus 4)In nautilus (same as explorer for Windows users), go to /etc/grub.d/ 5)Open 40_Custom with Gedit (double click on it with 10.04) 6)Copy this at the bottom end: menuentry "OSX86" { insmod hfsplus search --file --set=root /boot multiboot /boot } 7)Type: sudo update-grub 8)Reboot and try it It works perfect for me! Link to comment https://www.insanelymac.com/forum/topic/112025-how-to-add-leopard-in-grub-2/#findComment-1499352 Share on other sites More sharing options...
Recommended Posts