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: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: FW: grub-efi with latest mac mini
Date: Sat, 09 Jun 2012 09:40:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4

On 09.06.2012 09:35, John Frankish wrote:

>>>>>> -----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
> 

Do you have those directories?

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

Please don't capitalise first letter: it does change the meaning

> $ 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
> 

Use --removable.

> 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

What does "videoinfo" say? Does "videotext" work if you set
gfxmode="800x600" explicitly? (try other resolutions as well)

> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 



-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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