bug-grub
[Top][All Lists]
Advanced

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

Re: grub-efi: fails to load linux


From: A Mennucc
Subject: Re: grub-efi: fails to load linux
Date: Mon, 29 Nov 2010 17:29:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101030 Icedove/3.0.10

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

Attachment: grub.cfg
Description: Text document

Attachment: dmesg_succesfull_EFI_boot.bz2
Description: application/bzip


reply via email to

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