Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Today i endly decide to put a Linux in dual boot on my macbook 7.1 I parted the HDD with Gparted like this :

refit / MacOSX / boot / root / home

I installed Arch succefully, folowing the tuto about the macbook specific install. When it ends with the bootloader install screen i get an issue, i simply can't select the boot(/dev/sda3) partition to install GRUB in it - it only propose sda..

Then i reboot, try to sync the partition table with REfit but it says it's ok... Sounds weird but ok, i put a Ubuntu LiveCD in my macbook and reboot with it. Try to install Grub this way but it desn't work too :

ubuntu@ubuntu:~$ sudo grub-install --root-directory=/media/4d63602e-5572-4279-bee8-026a94932e91 /dev/sda3

/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: will not proceed with blocklists.

ubuntu@ubuntu:~$ 

I'm pretty out of ideas to solve this, any clue guys ?

share|improve this question
    
As I understand it, and I may be quite wrong, you don't need grub on a Mac. rEFIt should do it all. –  bahamat Jul 4 '12 at 7:23
    
No, i need to install GRUB or another bootloader i think. Wel, booting on the other part with REFIt returns : Missing Operating System –  x_vi_r Jul 4 '12 at 8:24
add comment

1 Answer 1

up vote 1 down vote accepted

There are two ways you can install GRUB.

  1. You can actually install GRUB to the MBR, since the EFIish system just ignores it. reFIT will detect the MBR bootloader and offer it as a boot option (although possibly mislabled as "Windows").
  2. You can force GRUB to install to /dev/sda3 using blocklists, but as the message says, this is can be unreliable. Add the --force option to grub-install to force it to continue.
share|improve this answer
    
Woo - are you sure about install GRUB on the MBR ? In the arch wiki it says : Warning: Do not install GRUB onto /dev/sda !!! Doing so is likely to lead to an unstable post-environment. –  x_vi_r Jul 5 '12 at 7:17
    
@xXx I've done that on my Macbook and it still works ;-) The Ubuntu wiki also says to install to the partition though, so try option 2. –  mgorven Jul 5 '12 at 17:05
    
Well, i install GRUB on sda3 but when i boot on it it display only the grub prompt... –  x_vi_r Aug 11 '12 at 10:37
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.