Bug#524756: please provide a 64bit grub-efi for the i386 distribution

A Mennucc debdev at tonelli.sns.it
Tue Jun 9 13:05:05 UTC 2009


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

hi,

Currently I have rEFIt installed in  OS X "Leopard"; rEFIt can boot
a "grub legacy" installed inside /dev/sda3 (that is my /boot
partitition, ext3 fs); then grub loads linux and the initrd, and then I
have to enter passwords because my root and home partitions are  crypted
LUKS partitions (that initrd has to unlock)

So this is what I did, using a i386 Debian Lenny installed inside a
Apple MacBook (version 5.1, aluminium case).

1) I downloaded the latest grub Debian packaging from svn.debian.org
2) I compiled my own grub Debian packages
 (I used the 20090603 orig.tar.gz  since I do not have the 20090606;
  and I coupled that with the latest debian/ from above SVN)
3) I installed the resulting packages 'grub-common' and 'grub-efi-amd64'
4) I mounted the EFI hidden partition using
 'mount /dev/sda1 /mnt'
4) I run 'grub-install --root-directory=/mnt'
5) I renamed
 'mv /mnt/boot/grub /mnt/efi/'
 since otherwise rEFIt does not see it
6) I copied the linux kernel and initrd from /boot to /mnt
 (that is, from /dev/sda3 to /dev/sda1)
6) At boot, I choose the first option that rEFIt lists, and that is
 "Boot EFI\grub\grub.efi from EFI"
  so I get into the grub2 shell
7) from within the grub shell, I can load the linux kernel and
 the initrd, and boot the linux kernel,
 (that is vmlinux-2.6.26-2-686 : it is a 32bit kernel)
8) the kernel boots fine AFAICT and then it passes to the initrd;
 but when the initrd asks my root/home passwords , it turns out
 that the keyboard is not working

So the above seems to show that I _can_ boot a 32bit kernel from a
EFI/grub 64bit

I am doing other tests that I will report separately.

a.

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

iEYEARECAAYFAkouXgEACgkQ9B/tjjP8QKQwoACdFietSxd4nvzjOM9Tw2cf2ME3
pZYAn2Om1PkNZZmoxWRNugoD8OqfJDJi
=rX4Q
-----END PGP SIGNATURE-----





More information about the Pkg-grub-devel mailing list