Jump to content

How to get Refit bootloader to work - Current bootloader is GRUB and I can't replace GRUB with Refit. Refit won't show up. Still GRUB. Thanks for help


6 posts in this topic

Recommended Posts

After weeks of fighting to get back into my osx86 mac on my dell dimension 4300, I finally did. I did using an iPC leopard disk to boot into my mac. Currently, on the computer, I have three operating systems on my computer: Windows 7, Ubuntu, and Mac OS X Leopard. I would like a boot loader to boot all three of them. I tried to install Refit. But it didn't show up at the start up, grub did. Is there a way that I can make the master boot record on the mac hard drive with refit? Or is there a way to write the refit to the hard drive with GRUB on it? I just want to see refit when I boot up into my computer so I can boot into all of them (not at the same time, of course.) Can anyone please help me. I would really appreciate it. Thanks! :thumbsup_anim:

Don't be so impatient; give replies more than 4.5 hours!

 

The short and general answer is that you can't replace GRUB with rEFIt, or vice-versa; you need both of them, because GRUB can't boot OSx86 without help, and rEFIt can't (AFAIK) boot Linux without help.

 

That said, you can choose which one you want to boot first (to be your primary boot loader), and which one will boot second. You need to install the primary boot loader file for the one you want to be primary in the MBR of your boot disk. How you do this depends on the boot loader. For GRUB, you'd type "grub-install /dev/sda" (or something similar; the device filename might be different). I'm not familiar with rEFIt, so I'm not sure precisely what you'd do with it. With some OSx86 boot loaders, you'd copy a file, or part of it, using dd, as in "dd if=boot0 of=/dev/disk0 bs=440 count=1". Many OSx86 boot loaders include a GUI installer that will do this automatically.

 

If rEFIt is to be your primary boot loader, you must install GRUB as a secondary boot loader in your Linux boot partition. You do this by using grub-install, just as when you put it in the MBR, but you pass it your Linux boot partition, as in "grub-install /dev/sda5" (the device filename will almost certainly be different in this case). Do this before you install rEFIt as the primary boot loader, or else you'll need to do it from a Linux emergency disk, which is a minor hassle.

  • 1 month later...
×
×
  • Create New...