grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: FW: grub-efi with latest mac mini


From: John Frankish
Subject: RE: FW: grub-efi with latest mac mini
Date: Sat, 9 Jun 2012 07:35:25 +0000

> >>>> -----Original Message-----
> >>>> From: address@hidden
> >>>> [mailto:grub-devel-
> >>>> address@hidden On Behalf Of Vladimir 'f-
> >>>> coder/phcoder' Serbinenko
> >>>> Sent: Friday, 08 June, 2012 19:29
> >>>> To: address@hidden
> >>>> Subject: Re: FW: grub-efi with latest mac mini
> >>>>
> 
> What does grub-probe -t fs /boot/grub say Do you run everything as root?

$ sudo grub-probe -t fs /boot/grub
Error: failed to get canonical path of /boot/grub
$ sudo grub-probe -t fs /efi/boot
Error: failed to get canonical path of /efi/boot

$ sudo grub-probe -d /dev/sda1
Fat
$ sudo grub-probe -d /dev/sda2
Hfsplus

$ sudo grub-install --target=x86_64-efi --boot-directory=/mnt/sda1/efi/boot
Runs without errors

..but creates /mnt/sda1/efi/boot/grub/grub.efi, which is not recognized on 
booting the mac with <alt gr> pressed.

Copying/renaming grub.efi -> /mnt/sda1/efi/boot/BOOTX64.EFI boots, but no usb 
keyboard/mouse

Grub.cfg:

menuentry "core64" {
  set root=(hd1,gpt4)
  linux /boot/vmlinuz64 quiet noswap tce=sda4 tz=GMT-4 host=macminitc syslog 
blacklist=bcma blacklist=ssb blacklist=b43 text
  initrd /boot/core64.gz
}
 
> If you need insmod for commands your install is broken.
> You need insmod efi_gop in any case though.
> 
> --
Even with grub-install insmod is required, but anyway:

Insmod videotest
Insmod efi_gop
Videotest
[drops down a line, but no further output]
<ctrl c>
Color 0: ff000000
Color 1: ffa80000
...
Color 15: fffefefe

Note that the video is output via hdmi -> dvi adapter that came with the mac 
mini

reply via email to

[Prev in Thread] Current Thread [Next in Thread]