How to reconstruct GRUB for 14.04 on MBPro?

Israel israeldahl at
Mon Oct 13 16:12:33 UTC 2014

On 10/13/2014 10:25 AM, Fritz Hudnut wrote:
> On Mon, Oct 13, 2014 at 5:00 AM,
> <lubuntu-users-request at
> <mailto:lubuntu-users-request at>> wrote:
>     Yes you can reinstall GRUB2...
>     You boot a LiveCD and can reinstall GRUB2 from there
>     the command grub-install will do it.
>     You will need:
>     --bootloader-id=ID
>                   the ID of bootloader. This option is only available on
>     EFI  and
>                   Macs.
>     I don't entirely know the syntax for installing on the Mac MBR/GPT/EFI
>     thing...
>     It is a very odd system Apple uses.... however I think (in theory) you
>     should install it to the partition, rather than the MBR/GPT thing that
>     Apple uses...
>     On a side note:
>     if you don't want refind/refit:
>     which is based on:
>     I have never done this, but it looks really interesting
> @Is:
> Appreciate the reply, I'll check it out later, maybe tomorrow . . . in
> terms of the "liveCD" . . . I can log in to the system using SG2 . . .
> so I can or could run commands in the system.  But, as mentioned,
> synaptics shows that "Grub2" is installed . . . ???  But, the GRUB
> window doesn't show up in the process, and the "windows" disk that
> usually has 14.04 also doesn't show up in the OSX boot loader window
> with the option key, etc.
> Another question, what or where would I find the "bootloader-id"?? . .
> . and, then, what would I do with it??  I get that you are suggesting
> "sudo apt-get grub-install"???  But, then are you talking about the
> addition of something like "/sda"????
> I think I ran several of these commands already, running through the
> "Boot Repair Disk" and the SG2 list, and one of the Alt install
> recovery modes, and the SG2 "find the GRUB CFG file" which took me to
> the kernel (recovery) . . . and ran through that . . . .  I would need
> some exact commands to run . . . happy to try them out . . . .
> I'll take a look at the "pure-efi-boot" stuff when I get to this . . .
> don't have the SG2 disk with me at work, or any install disk, etc.
> F
Hey Fritz,

>From the live cd you will need to mount the drive and chroot into it (or
at least this is how I'd do it on a non mac)

so it will be something like (be sure you have the right sda device  use
fdisk -l /dev/sda to list some stuff)

mount /dev/sda/*X*//mnt
mount --bind /dev /mnt/dev
mount --bind /sys /mnt/sys
mount --bind /proc /mnt/proc
chroot /mnt

this will then take you into your installed system
then run:

grub-install /dev/sda

PLEASE NOTE:  I do not know if you need to run the grub-install command
with the/--bootloader-id/ option or not....  I have not actually
installed this on an EFI Mac in this way.

then *umount* your mounted folders (these are for the computer's actual
hardware so the chroot uses the real computer )  note, this says
*u*mount  not un-mount  there is no 'n'

umount /mnt/sys
umount /mnt/proc
umount /mnt/dev
umount /mnt

There is also this link:
which may or may not help :)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Lubuntu-users mailing list