grub-devel
[Top][All Lists]
Advanced

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

FW: grub-efi with latest mac mini


From: John Frankish
Subject: FW: grub-efi with latest mac mini
Date: Fri, 8 Jun 2012 12:58:00 +0000

> -----Original Message-----
> From: address@hidden 
> [mailto:grub-devel-
> address@hidden On Behalf Of Vladimir 'f-
> coder/phcoder' Serbinenko
> Sent: Monday, 04 June, 2012 13:57
> To: address@hidden
> Subject: Re: grub-efi with latest mac mini
> 
> On 04.06.2012 10:12, John Frankish wrote:
> 
> > I've been trying to get grub-efi to work with the latest mac mini.
> >
> > To avoid having no way to boot if I cannot get grub-efi to work, I'm 
> > booting
> via rEFIt at the moment.
> >
> > Grub-1.99 is installed to /mnt/sda2/efi/grub, and I can boot 
> > grub-efi via the
> rEFIt menu, but:
> 
> 1.99 is old, especially for EFI. You need to use something newer.
> 

I guess you mean from bzr - OK, I'll give it a try

> >
> > 1. I do not get any screen display until the linux os (3.0.21) 
> > starts to boot
> >
> 
> Most likely GRUB 1.99 has autochosen a resolution which is too high 
> for your screen or you've beet hit by some other EFI bug in 1.99 
> which, again, is too old.
> 
> > 2. Once booted, neither the usb mouse nor usb keyboard work
> >
> 
> What happens after Linux is loaded is outside GRUB control.

Everything appears as normal, i.e. boots into X, except there is no 
keyboard/mouse

> 
> >
> > Grub-efi was installed with:
> >
> > $ x86_64-grub-mkimage -O x86_64-efi -d 
> > /usr/local/lib/x86_64-grub/x86_64-efi -o grub.efi -p "" part_gpt 
> > part_msdos hfsplus fat ext2 normal chain boot configfile linux 
> > multiboot pci lspci setpci usb_keyboard efi_gop ohci uhci usb video
> >
> 
> Use grub-install, not the outdated manual instructions.

OK - is there any documentation for this specific to grub-efi?

> > I've use the following for the display in grub.cfg:
> >
> > insmod font
> > loadfont /efi/grub/unicode.pf2
> > insmod gfxterm
> > set gfxmode=auto
> > set gfxpayload=keep
> > terminal_output gfxterm
> >
> > ..and since I've used the usb module in grub-mkimage, I would have 
> > thought the usb keyboard/mouse would work
> >
> 
> USB bus modules without the relevant USB device modules will only 
> takeover the USB but not make anything useful but it will prevent 
> firmware keyboard driver to work. Either add usb_keyboard and usbms or 
> remove USB modules altogether. Better still, use grub-install.

As per above, usb_keyboard was linked via grub-mkimage - the keyboard/mouse do 
not work with/without any usb modules
--------------------------------------
I compiled grub from bzr a couple of days back.

I didn't use grub-install as I'm nervous about writing to the mbr and not being 
able to boot the mac mini at all.

Anyway, I can still boot using both hfs+ partition /efi/grub/grub.efi and fat 
partition /EFI/BOOT/ BOOTX64.EFI, but the result is the same - no usb keyboard 
and no usb mouse.

Note that I also do not get graphics, but it boots "blind" without problems.


reply via email to

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