Bug#538730: grub-efi: fails to load linux

A Mennucc mennucc1 at debian.org
Mon Nov 29 16:29:04 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
(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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzz1M0ACgkQ9B/tjjP8QKShxwCeJ/3jhk+36QwsektAV3el2Axw
YQgAoI16IPQcxkTA4jAqWxDNx8brZTFp
=OZYq
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: grub.cfg
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20101129/bde535a3/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg_succesfull_EFI_boot.bz2
Type: application/x-bzip
Size: 14111 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20101129/bde535a3/attachment-0001.bin>


More information about the Pkg-grub-devel mailing list