1

I have recently installed Ubuntu Server (12.04.3) on a MacMini1.1...

The MacMini already had OSX (Leopard) on it and I wanted to keep it, so after much research, I used the gpart and fdisk within an "Ubuntu-Desktop i386 LiveCD"-on-a-usb-stick to shrink the OSX partition and then used an installation usb-stick-Ubuntu-Server-i386 in a similar manner to format the left-over partition and install the Ubuntu Server on it.

Everything went fine so far. Scary yet flawless process :)

Before doing all that - I installed rEFIt. I saw it on oh so many internet-guides, and remembered it from back in the day before I was an IT Manager & Tech... So I was sure it'll be THE thing to help me out.

And indeed it was great, only I missed one very important detail: On rEFIt's main webpage they clearly state: "As you may have noticed, rEFIt is no longer actively maintained. Please check out rEFInd, a fork that is maintaned and under active development."

So now all of a sudden I notice this strange phenomenon: My Ubuntu Server OS only boots up properly while I have a screen attached to the Machine(MacMini). The keyboard & mouse don't seem to be needed, but if I reboot without a screen being connected, it just gets stuck along the way and I can't access it via putty from my not-so-remote windows machine. If I then connect a screen to the MacMini, I see it got stuck along the way and there's no options to be chosen. Currently, my only option seems to be rebooting with a connected screen, then unplugging it and connecting it back to my windows-pc, where I use putty for an ssh connection over the LAN.

I decided to check rEFIt's website for troubleshooting options, when I suddenly noticed the comment about rEFInd and instantly face-palmed.

I saw that the maintainer of rEFInd is here in the forums (am I right in my realization that it's Rod Smith? So I thought after explaining the situation and how delicate it is for my work - I'd ask this supposedly simple question: I've read through the installation guide in the rEFInd site and I still don't understand how I can replace my current rEFIt with the new rEFInd without having to format anything, nor erase anything, nor delete, nor risk anything in my current system and/or files. Can you please help me?

1 Answer 1

1

Yes, I'm rEFInd's maintainer.

Just running the install.sh script from OS X should install rEFInd as the default boot loader, bypassing rEFIt, although you might also want to install an EFI filesystem driver for the filesystem on which your Linux kernel resides. (That will enable direct booting of Linux without involving GRUB.) Also, running rEFInd's install.sh script will not completely remove rEFIt. If you find that rEFInd works as well as or better than rEFIt, you can delete rEFIt manually by removing the /EFI/refit directory in OS X (or on your ESP, if you installed it there).

That said, it seems unlikely to me that rEFInd will fix the problem you're having. I've never heard of this issue before, but my suspicion is that it's a firmware limitation, not a bug in rEFIt. I have made some changes to video handling in rEFInd, and it's conceivable that one of those changes would inadvertently fix your problem. It's worth trying rEFInd to see if this is the case, but I wouldn't get my hopes up.

You might want to try completely removing rEFIt before installing rEFInd to test whether the computer will boot with the monitor unplugged without any third-party boot managers installed. If it does, then rEFIt is probably hanging or pausing and waiting for input when the monitor is disconnected. If rEFInd does the same thing, it would be difficult to debug, because there's currently no facility to write a log file that would reveal where such a hang occurs.

12
  • First of all thank you so much for the buz-lightning-speed reply :D I cannot, to my knowledge, uninstall rEFIt and let the computer try booting, because as mentioned I'm dual-booting OSX Leopard & Ubuntu Server 12.04.3. If it boots I have no guarantee that I'll be able to boot into OSX to install rEFInd and if it doesn't I'm pretty much screwed. I might of course be utterly wrong about this - and if so please do explain. As far as the firmware bug possibility - isn't there any way that rEFInd (or rEFIt for that matter) can be configured in a more case-specific way that'll surpass such a bug? Oct 28, 2013 at 16:22
  • Removing rEFIt would cause your computer to boot straight into OS X. (Sorry; I misread your original post and thought you wanted to boot straight into that OS, not into Ubuntu.) Some types of firmware bugs can be worked around, but with no data about what's going wrong, it's an impossible task. FWIW, I just tested on my own Mac Mini, and it booted fine with rEFInd and the monitor unplugged. I haven't tested with rEFIt, though, so I don't know if this is a difference between our computers or a rEFIt/rEFInd difference.
    – Rod Smith
    Oct 28, 2013 at 23:42
  • I am in awe every time I try to get help in the Ubuntu community. It's such a warm place and has such nice and caring people in it :D To the matter at hand: I have a MacMini1.1 - it's one of the oldest models (for reference: before that came the PowerPCs which are Macs that look and are also defined as MacMini but have no support in the Ubuntu world anymore). That was per your comment. Oct 30, 2013 at 8:28
  • Now to my question: I am contemplating whether I should really uninstall rEFIt before installing rEFInd (I'm afraid to loose the access to my Ubuntu Server for more than 20 minutes haha). Or should I just install rEFInd and then erase the rEFIt folder (or like... rename it), and only then reboot my MacMini? Sorry for being so picky on the details - I gotta get this 100% right on this computer and I have no other suitable computer to test it on. Oct 30, 2013 at 8:29
  • My Mac Mini may be the same model -- it's one with a CoreDuo (32-bit) CPU. If you install rEFInd without first uninstalling rEFIt, what should happen is that rEFInd will take over as the default boot manager, but rEFIt will be there and remain easily settable as the default via bless.
    – Rod Smith
    Oct 30, 2013 at 23:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .