DwnldDude Posted October 18, 2005 Share Posted October 18, 2005 ok... so i am tribooting xp, osx, and ubuntu... well... i just installed ubuntu and i can not boot into anything else... i did some research and it looks like i have to add something to grub... i know if i can get into osx i can use that boot loader to boot all 3 os's but i can not get into it... if i had my osx cd.... i could also use that startup disk utility and be fine.... but i dont have the cd... so basically i need to get into osx any way possible... which sounds like adding it to grub.... can anyone give me instructions on how to do that? thanks keep in mind i am a complete linux newb... thanks Link to comment Share on other sites More sharing options...
DrJägermeister Posted October 19, 2005 Share Posted October 19, 2005 ok... so i am tribooting xp, osx, and ubuntu... well... i just installed ubuntu and i can not boot into anything else... i did some research and it looks like i have to add something to grub... i know if i can get into osx i can use that boot loader to boot all 3 os's but i can not get into it... if i had my osx cd.... i could also use that startup disk utility and be fine.... but i dont have the cd... so basically i need to get into osx any way possible... which sounds like adding it to grub.... can anyone give me instructions on how to do that? thanks keep in mind i am a complete linux newb... thanks In my case OSX86 is /dev/hda1 (first primary partition at IDE0 master) so I just add this in my grub.conf: title OSX86 root (hd0,0) chainloader +1 Change root(hd0,0) with your OSX86 partition! Here's the grub manual: http://www.gnu.org/software/grub/manual/grub.html Link to comment Share on other sites More sharing options...
cavalierwisk Posted October 19, 2005 Share Posted October 19, 2005 In my case OSX86 is /dev/hda1 (first primary partition at IDE0 master) so I just add this in my grub.conf:title OSX86 root (hd0,0) chainloader +1 Change root(hd0,0) with your OSX86 partition! Here's the grub manual: http://www.gnu.org/software/grub/manual/grub.html I think ubuntu calls the grub.conf file something weird. i think it's at /boot/grub/menu.lst just open it up in your favorite text editor and add the lines that DrJägermeister posted and that should do it. Link to comment Share on other sites More sharing options...
iampivot Posted October 20, 2005 Share Posted October 20, 2005 My grub entry for osx x86 is simply title OSX86 chainloader /etc/chain0 And the file /etc/chain0 is the bootloader that comes with darwin. Works like a charm, even if grub doesn't recognise the osx partition properly. Link to comment Share on other sites More sharing options...
Sentertainment Posted October 20, 2005 Share Posted October 20, 2005 My grub entry for osx x86 is simply title OSX86 chainloader /etc/chain0 And the file /etc/chain0 is the bootloader that comes with darwin. Works like a charm, even if grub doesn't recognise the osx partition properly. Ugh, it works, but it is so much easier and cleaner to do it with grub... I've messed with linux alot and found that grub and lilo are great bootloaders if you know how to use them. Like the other guy said, just position it to a disk and then the partition and it works! for those that don't understand root(hd0,0) stands for harddrive 0 (first one), partition 0 (first partition). If there are no partitions made, you still need to pass the partition as 0. and chainloader +1 tells it to boot from the settings you told it. I have also found wierd things with partitions using an IDE and SATA at the same time, if anyone has problems with that, I've dealt with it before, feel free to ask me. Link to comment Share on other sites More sharing options...
xtatic43 Posted October 22, 2005 Share Posted October 22, 2005 so if i want to boot mac osx from a secondary master drive i would have to type root(hd2,0)? i type that and it says error 22: selected disk does not exist Link to comment Share on other sites More sharing options...
mortis Posted October 22, 2005 Share Posted October 22, 2005 nope, that would be root (hd1,0) chainloader +1 you see, in grub-notation, (hd x,y) represents your hard drive and partition, where x=your hard drive number -1 and y= your parition number -1 so 0 is your first harddrive or partition 1 is the second , and so on (you figure out the rest!) Link to comment Share on other sites More sharing options...
would_pay_for_mac_on_x86 Posted October 31, 2005 Share Posted October 31, 2005 I have also found wierd things with partitions using an IDE and SATA at the same time, if anyone has problems with that, I've dealt with it before, feel free to ask me. hey, i'm wondering what weird things you've run into using grub and sata and ide at the same time...about to go that route.... Link to comment Share on other sites More sharing options...
hal9k Posted November 27, 2005 Share Posted November 27, 2005 In Linux, in my experiences with GRUB the default config file is always /boot/grub/menu.lst. Link to comment Share on other sites More sharing options...
Nanosec99 Posted May 8, 2006 Share Posted May 8, 2006 Grub Issues (I can’t get Grub to load OSX) I fixed the issue I had with (hd0,0) and so on. 0 is the first partition or hard drive not 1. I was trying to load OSX from the wrong partition and just didn't see what was wrong. What I had: rootnoverify (hd0,3) chainloader +1 What it needed to be: rootnoverify (hd0,2) chainloader +1 Link to comment Share on other sites More sharing options...
blackest_knight Posted June 1, 2006 Share Posted June 1, 2006 in ubuntu with triboot xp osx ubuntu sudo gedit /boot/grub/menu.lst gets you the file to edit i just copied the entry for xp home and pasted it at the end and changed the name to osx86 in title and hd0,1 for the partition quick and easy Link to comment Share on other sites More sharing options...
Billmaster Posted June 23, 2006 Share Posted June 23, 2006 Ok I want to triboot also. I have it setup that the Windows boot loader can load OSX. How do I put OSX AND Windows in the Grubloader? Link to comment Share on other sites More sharing options...
miguelcerca Posted June 29, 2006 Share Posted June 29, 2006 a little off topic, but check out my grub bootloader, its pretty cool, well i think its pretty cool: if you want to know how go to: http://forum.osx86project.org/index.php?sh...c=20270&hl=grub i installed suse before i installed windows, disconnected my suse drive, and my os x drive, then installed windows. my menu.lst looks like this title Mac OS X root (hd2,0) chainloader +1 title Windows XP Professional map (hd0) (hd1) map (hd1) (hd0) root (hd1,0) chainloader +1 hd0 is my suse drive, hd1 is my windows drive hope this helps someone, it took me forever to figure it out. the benefit of doing it this way is that if i decide to get rid of my suse install, i can still boot into windows Link to comment Share on other sites More sharing options...
Billmaster Posted June 29, 2006 Share Posted June 29, 2006 wow kick ass background! You make it? Lol post it! I got TRIPLE boot now! (joins everyone else yay) WinXPproSP2, OSX 10.4.7, kubuntu 6.06 Have not got around adding OSX to the Grub but it's in my windows bootloader. Link to comment Share on other sites More sharing options...
Skashion Posted November 14, 2007 Share Posted November 14, 2007 Hi. I've noticed that all the grub instructions so far are for internal HDs, I've installed OS X on an external HD labelled sdb2. How would I add that to the grub if it is possible? Also, I'm having trouble with fstab. When I try to mount that partition I get an error message. I'm almost sure it's because the fstab isn't correct but I don't know what is wrong. Currently it is: /dev/sdb2 /mnt/mac_os_x hfsplus noauto,user,rw 0 0 Any ideas? Any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
jaggsr Posted August 29, 2009 Share Posted August 29, 2009 Hi, I have the two hard disks. On the 1st hard disk (SATA) I have installed the Ubuntu & the Windows Xp. So currently booting from the Ubuntu via Grub boot loader, which shows the Windows Xp in the list, so I am able to boot into Ubutnu or Windows. On the 2nd Hard disk (PATA), I have installed the Mac OS X Leopard on the second partition. So how to boot to OS X (on 2nd hard disk) from the Grub loader (on 1st hard disk) ? Ugh, it works, but it is so much easier and cleaner to do it with grub...I've messed with linux alot and found that grub and lilo are great bootloaders if you know how to use them. Like the other guy said, just position it to a disk and then the partition and it works! for those that don't understand root(hd0,0) stands for harddrive 0 (first one), partition 0 (first partition). If there are no partitions made, you still need to pass the partition as 0. and chainloader +1 tells it to boot from the settings you told it. I have also found wierd things with partitions using an IDE and SATA at the same time, if anyone has problems with that, I've dealt with it before, feel free to ask me. Link to comment Share on other sites More sharing options...
frankolo Posted April 11, 2010 Share Posted April 11, 2010 I hope to find here the solution that I'm looking for.. Link to comment Share on other sites More sharing options...
-=Kamilo_PL=- Posted June 6, 2010 Share Posted June 6, 2010 Hi I'm here new but what should i do if i have GRUB and Chameleon V2 with graphical interface? I want to boot that chameleon which has icons with systems. I tried to change chainloader +1 on +2 or something but that didn't work for me.[grub shows error] AND what is the most important: /etc/chain0 doesn't work And if this is possible... how to do load for only chameleon? No grub only chameleon mode by the start... uninstal GRUB? how? Please help Link to comment Share on other sites More sharing options...
Recommended Posts