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

A Mennucc mennucc1 at debian.org
Tue Nov 16 09:05:37 UTC 2010


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

Il 24/10/2010 17:21, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto:
> Could you please retest?
> 

hi,

I tried to follow instructions in http://grub.enbug.org/TestingOnMacbook
(with some important changes)

this is what I did:

1) mount EFI partition

 # mount /dev/sda1 /efi

2) move away previous attempts

 # mv /efi/efi/grub  /efi/efi/grub.local
 # mkdir /efi/efi/grub

3) copy all stuff that  http://grub.enbug.org/TestingOnEFI tells to copy

 # cd /usr/lib/grub/x86_64-efi
 # cp *.mod fs.lst command.lst /efi/efi/grub

4) create EFI image
 #  grub-mkimage -O x86_64-efi -o /efi/efi/grub/grub.efi \
       -p /efi/grub part_gpt hfsplus fat ext2 normal \
          chain boot configfile linux multiboot

 (note that 'sh' is not present, it gives an error
   "grub-mkimage: error: cannot stat /usr/lib/grub/x86_64-efi/sh.mod"
 ) (note also the '-p' option, otherwise grub fails to load the menu)

5) copy a menu
# cp /boot/grub/grub.cfg /efi/efi/grub/grub.cf
and edit it to add other possible stanzas and options sets
(see attachment)

- ----

I use reFit, and it sees both /efi/grub and /efi/grub.older.
When I boot into /efi/grub , there are 3  error messages, that I cannot
read, because the menu appears very fast. (Probably the error are that
it fails to load the background image)

Currently the stanzas in the menu seem to load the kernel, but then the
video is not properly initialized; one cause may be that I am using
Debian/i386, but the EFI is 64bit.

E.g. the stanza about linux 2.6.32-5-686 prints
prints
> Loading Linux 2.6.32-5-686 ...
> Loading initial ramdisk ...
> error: no suitable mode found
> Booting however

and then it seems to boot, but nothing is shown on video.

a.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEUEARECAAYFAkziSV8ACgkQ9B/tjjP8QKQ/agCeKhodzJ13yTWNwSpQcAaLJtVT
ubgAmL8y/EPNqKaUGa37Gkqrl1MAUAc=
=dNr8
-----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/20101116/442f631f/attachment-0001.asc>


More information about the Pkg-grub-devel mailing list