Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a MacBook Pro, and I use rEFIned to dual-boot Ubuntu and Mac OS X. In case I ever messed anything up, I installed Ubuntu on an external hard drive. However, I messed up the setup so I installed GRUB onto the hard drive. Now when I boot GRUB without my external hard drive connected, GRUB goes into grub rescue with "Cannot find device." I can still boot any of my OSes if the hard drive is plugged in.

How can I fix this? Will uninstalling GRUB from the hard drive help, or do I have to configure rEFIned differently?

share|improve this question
add comment

1 Answer

If I understand your setup, GRUB is useless unless the external hard disk is plugged in, so the easiest and safest solution is simply to ignore the Linux/GRUB entry in rEFInd when the external disk is disconnected. If there's some reason why this is undesirable or impossible, please elaborate.

share|improve this answer
    
The problem is that I can't boot the Ubuntu install on my internal drive without my external hard drive plugged in. How would I go about changing the boot device for GRUB? –  Tobi Hahn May 14 '13 at 23:22
    
That depends on whether it's a BIOS-mode or EFI-mode GRUB install. It might be easier to configure rEFInd to launch your Linux kernels directly. You'll need to install an EFI driver for your Linux root (/) (or /boot if it's a separate partition) filesystem and run the mkrlconf.sh script that comes with rEFInd to create a /boot/refind_linux.conf configuration file. Thereafter, you should be able to launch Linux directly using rEFInd, without using GRUB. –  Rod Smith May 14 '13 at 23:31
    
This sounds like it will be easier and better than using GRUB anyway. I don't really like going through two separate bootloaders, so this is an ideal solution. Thanks! –  Tobi Hahn May 14 '13 at 23:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.