On 11/29/2010 05:29 PM, A Mennucc wrote: > Il 16/11/2010 10:30, Vladimir 'Æ-coder/phcoder' Serbinenko ha scritto: > > On 11/16/2010 10:05 AM, A Mennucc wrote: > >> I tried to follow instructions in > http://grub.enbug.org/TestingOnMacbook > >> (with some important changes) > >> > > These instructions are outdated since grub-install now supports EFI > >> Currently the stanzas in the menu seem to load the kernel, but then the > >> video is not properly initialized; > > Of course not, you didn't load any video driver. You need to include > > efi_uga or efi_gop depending on your EFI > > > Ah that makes for a lot of difference! Thanks a lot! > I can now boot my MacBook using the grub-efi! > > I attach the grub.cfg that does work, and a dmesg. > > This is what works and what does not: > -> I got a fullscreen grub menu, with Debian-themed > background (beautiful) > -> I did boot OK with linux kernel 2.6.32-5-amd64 > (I attach a dmesg) > -> network and audio were fine > -> I started X11 with 'Driver "fbdev"' , it started OK, > but the colors are wrong, red and blue are inverted in the desktop... > whereas they are not inverted in youtube videos (weird fact!) > -> I tried to start X11 with the nouveau drivers, but it crashed; > this may be due to the fact that the OS is i386 , not amd64 > (and unfortunately I do not have time currently to reinstall it all) > -> I tried to boot with linux kernel 2.6.32-5-686 > but the keyboard did not work (and this is a big showstopper, since > I have a crypted /home) > > ------------ > > BTW I also have added to /etc/initramfs-tools/modules > the following modules > fbcon > uvesafb > hid_apple > hid > applesmc > input_polldev You need to add uhci_hcd and ehci_hcd as well > (the first two are indicated in > http://grub.enbug.org/TestingOnMacbook > the other I added to try to get keyboard support in i386 mode) > > But then I noted the following errors in dmesg > [ 4.337629] uvesafb: failed to execute /sbin/v86d > [ 4.337702] uvesafb: make sure that the v86d helper is installed and > executable > [ 4.337776] uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2) > [ 4.337840] uvesafb: vbe_init() failed with -22 > [ 4.337906] uvesafb: probe of uvesafb.0 failed with error -22 > > so it seems that 'uvesafb' is not doing anything useful, you may want to > change http://grub.enbug.org/TestingOnMacbook > > a.
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bug-grub mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-grub
