All of lore.kernel.org
 help / color / mirror / Atom feed
* grub2 EFI 64-bit capable of loading 32-bit kernel ?
       [not found] <AANLkTikTsum38mO73ZgX8Cz0mSSSHHGHVJzJJ0ycthh3@mail.gmail.com>
@ 2010-08-28  7:01 ` meta tech
  2010-08-28  8:19   ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 2+ messages in thread
From: meta tech @ 2010-08-28  7:01 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1291 bytes --]

Hello,

I have a MacBook with a EFI 64-bit.
I would like to boot Ubuntu 10.04 32-bit from grub EFI 64-bit.
Is that possible ?

The boot freezes after the following output


ROM image is present
   [Linux-bzImage, setup=0x3400, size=0x3d56c0]
Video mode: 1440x900-32@0
Display Controller: 2:0.0
Device id: 64710de
MMIO(0): 0xe4000000
VMEM(1): 0xc0000000
MMIO(3): 0xe2000000
Frame buffer base : 0xc0030000
Video line length: 8192
   [Initrd, addr=0x3f7fff000, size=0x7f0349]


That might be a problem of the kernel, or a video problem (my investigation
are related here : http://ubuntuforums.org/showthread.php?t=1557326)

I added some "printf" in the "grub_linux_boot" function of the "efi/linux.c"
file but they are never reached.

Also, I tried to configure grub EFI 64-bit to chainload grub EFI 32-bit, but
I get the following error :

/EndEntire
filepath:/ACPI[…]/File(\efi\grub32)/File(grub.efi)/EndEntire
error: cannot load image.

Press any key to continue




I tried to chainload grub EFI 64-bit to grub EFI 64-bit (itself), and that
works fine.

Are there any restrictions in loading 32-bit from 64-bit versions ?
I looked in the FAQ and in the source code of "efi/linux.c" but I do not see
an answer.

Thanks in advance,

metatech

[-- Attachment #2: Type: text/html, Size: 3171 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: grub2 EFI 64-bit capable of loading 32-bit kernel ?
  2010-08-28  7:01 ` grub2 EFI 64-bit capable of loading 32-bit kernel ? meta tech
@ 2010-08-28  8:19   ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-08-28  8:19 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1840 bytes --]

On 08/28/2010 09:01 AM, meta tech wrote:
> Hello,
>
First of all please avoid using HTML-formatted messages.
> I have a MacBook with a EFI 64-bit.
> I would like to boot Ubuntu 10.04 32-bit from grub EFI 64-bit.
> Is that possible ?
>
GRUB supports such a config. However Linux EFI support doesn't. Adding
"noefi" to command line workarounds the problem.
> The boot freezes after the following output
>
> ROM image is present
>    [Linux-bzImage, setup=0x3400, size=0x3d56c0]
> Video mode: 1440x900-32@0
> Display Controller: 2:0.0
> Device id: 64710de
> MMIO(0): 0xe4000000
> VMEM(1): 0xc0000000
> MMIO(3): 0xe2000000
> Frame buffer base : 0xc0030000
> Video line length: 8192
>    [Initrd, addr=0x3f7fff000, size=0x7f0349]
>
> That might be a problem of the kernel, or a video problem (my
> investigation are related here
> : http://ubuntuforums.org/showthread.php?t=1557326)
>
> I added some "printf" in the "grub_linux_boot" function of the
> "efi/linux.c" file but they are never reached.
>
> Also, I tried to configure grub EFI 64-bit to chainload grub EFI
> 32-bit, but I get the following error : 
>
> /EndEntire
> filepath:/ACPI[…]/File(\efi\grub32)/File(grub.efi)/EndEntire
> error: cannot load image.
> Press any key to continue
>
>
>
>
>
>   
>
> I tried to chainload grub EFI 64-bit to grub EFI 64-bit (itself), and
> that works fine.
>
> Are there any restrictions in loading 32-bit from 64-bit versions ?
> I looked in the FAQ and in the source code of "efi/linux.c" but I do
> not see an answer.
>
> Thanks in advance,
>
> metatech
>
>
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-28  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AANLkTikTsum38mO73ZgX8Cz0mSSSHHGHVJzJJ0ycthh3@mail.gmail.com>
2010-08-28  7:01 ` grub2 EFI 64-bit capable of loading 32-bit kernel ? meta tech
2010-08-28  8:19   ` Vladimir 'φ-coder/phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.