All of lore.kernel.org
 help / color / mirror / Atom feed
* Build GRUB for UEFI (not EFI), 64 bit
@ 2010-02-01  7:00 gburanov
  2010-02-01 11:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-02-01 13:54 ` Arne Schwabe
  0 siblings, 2 replies; 13+ messages in thread
From: gburanov @ 2010-02-01  7:00 UTC (permalink / raw)
  To: grub-devel

Hello everybody.

I am currently trying to build grub for UEFI (I got new modern Intel motherboard that support boot loading).

According to the grub manual, I use

./configure --with-platform=efi --target=x86_64
make
./grub-mkimage -d- -o bootx64.efi modules_list

and try to load from it. it does not work! The computer just restarts when running it, in the beginning. 

However, the grub that is included to the Fedora 12 CD works just fine.

Do somebody succeed in compiling grub for UEFI (not just EFI)? What can be a problem?

--
This message was sent on behalf of gburanov@gmail.com at openSubscriber.com
http://www.opensubscriber.com/messages/grub-devel@gnu.org/topic.html



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

* Re: Build GRUB for UEFI (not EFI), 64 bit
  2010-02-01  7:00 Build GRUB for UEFI (not EFI), 64 bit gburanov
@ 2010-02-01 11:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-02-01 13:54 ` Arne Schwabe
  1 sibling, 0 replies; 13+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-02-01 11:31 UTC (permalink / raw)
  To: The development of GNU GRUB

gburanov@gmail.com wrote:
> Hello everybody.
>
> I am currently trying to build grub for UEFI (I got new modern Intel motherboard that support boot loading).
>
>   
This list isn't for help requests
> According to the grub manual, I use
>
> ./configure --with-platform=efi --target=x86_64
> make
> ./grub-mkimage -d- -o bootx64.efi modules_list
>   
It's "-d .", not -d-, also be sure not to include kernel in modules list
> and try to load from it. it does not work! The computer just restarts when running it, in the beginning. 
>
> However, the grub that is included to the Fedora 12 CD works just fine.
>
> Do somebody succeed in compiling grub for UEFI (not just EFI)? What can be a problem?
>
> --
> This message was sent on behalf of gburanov@gmail.com at openSubscriber.com
> http://www.opensubscriber.com/messages/grub-devel@gnu.org/topic.html
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>   


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




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

* Re: Build GRUB for UEFI (not EFI), 64 bit
  2010-02-01  7:00 Build GRUB for UEFI (not EFI), 64 bit gburanov
  2010-02-01 11:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2010-02-01 13:54 ` Arne Schwabe
  2010-02-01 14:05   ` Vladimir 'φ-coder/phcoder' Serbinenko
  1 sibling, 1 reply; 13+ messages in thread
From: Arne Schwabe @ 2010-02-01 13:54 UTC (permalink / raw)
  To: The development of GNU GRUB; +Cc: gburanov

Am 01.02.10 08:00, schrieb gburanov@gmail.com:
> Hello everybody.
>
> I am currently trying to build grub for UEFI (I got new modern Intel motherboard that support boot loading).
>   
I am curios which one. I have a DP55WG and I did not get UEFI + Linux
working. UEFI + Windows 7 on the other hand works fine. The EFI Shell
also works fine.
> According to the grub manual, I use
>
> ./configure --with-platform=efi --target=x86_64
> make
> ./grub-mkimage -d- -o bootx64.efi modules_list
>
> and try to load from it. it does not work! The computer just restarts when running it, in the beginning. 
>
>   
That happens for me with elilo. Grub2 lilo just says that relocating is
not supported (or something similar)
> However, the grub that is included to the Fedora 12 CD works just fine.
>
>   
Which is a patched grub 0.97. On my computer it just hangs and does not
nothing.
> Do somebody succeed in compiling grub for UEFI (not just EFI)? What can be a problem?
>   
I had not success either.

Arne



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

* Re: Build GRUB for UEFI (not EFI), 64 bit
  2010-02-01 13:54 ` Arne Schwabe
@ 2010-02-01 14:05   ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-02-01 14:08     ` George Buranov
  2010-02-05  9:55     ` Arne Schwabe
  0 siblings, 2 replies; 13+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-02-01 14:05 UTC (permalink / raw)
  To: The development of GNU GRUB; +Cc: gburanov

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

Arne Schwabe wrote:
> Am 01.02.10 08:00, schrieb gburanov@gmail.com:
>   
>> Hello everybody.
>>
>> I am currently trying to build grub for UEFI (I got new modern Intel motherboard that support boot loading).
>>   
>>     
> I am curios which one. I have a DP55WG and I did not get UEFI + Linux
> working. UEFI + Windows 7 on the other hand works fine. The EFI Shell
> also works fine.
>   
>> According to the grub manual, I use
>>
>> ./configure --with-platform=efi --target=x86_64
>> make
>> ./grub-mkimage -d- -o bootx64.efi modules_list
>>
>> and try to load from it. it does not work! The computer just restarts when running it, in the beginning. 
>>
>>   
>>     
> That happens for me with elilo. Grub2 lilo just says that relocating is
> not supported (or something similar)$
>   
you probably need newreloc branch.
>> However, the grub that is included to the Fedora 12 CD works just fine.
>>
>>   
>>     
> Which is a patched grub 0.97. On my computer it just hangs and does not
> nothing.
>   
>> Do somebody succeed in compiling grub for UEFI (not just EFI)? What can be a problem?
>>   
>>     
> I had not success either.
>
>   
It works on tianocore.
> Arne
>
>
> _______________________________________________
> 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: 293 bytes --]

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

* Re: Build GRUB for UEFI (not EFI), 64 bit
  2010-02-01 14:05   ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2010-02-01 14:08     ` George Buranov
  2010-02-01 15:30       ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-02-05  9:55     ` Arne Schwabe
  1 sibling, 1 reply; 13+ messages in thread
From: George Buranov @ 2010-02-01 14:08 UTC (permalink / raw)
  To: Vladimir 'φ-coder/phcoder' Serbinenko
  Cc: The development of GNU GRUB

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

>
>
> >
> It works on tianocore.
> > Arne
> >
>

yes, if you are talking about 32-bit emulation of UEFI, created by
Tianocore, then yes =)

Regards,
Georgy


> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > http://lists.gnu.org/mailman/listinfo/grub-devel
> >
> >
>
>
> --
> Regards
> Vladimir 'φ-coder/phcoder' Serbinenko
>
>
>

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

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

* Re: Build GRUB for UEFI (not EFI), 64 bit
  2010-02-01 14:08     ` George Buranov
@ 2010-02-01 15:30       ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-02-01 20:01         ` George Buranov
  2010-02-04  8:03         ` gburanov
  0 siblings, 2 replies; 13+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-02-01 15:30 UTC (permalink / raw)
  To: George Buranov; +Cc: The development of GNU GRUB

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

George Buranov wrote:
>
>
>     >
>     It works on tianocore.
>     > Arne
>     >
>
>
> yes, if you are talking about 32-bit emulation of UEFI, created by
> Tianocore, then yes =)
>
I tested with 64-bit qemu-tianocore actually, and in this case it's not
an emulation.
> Regards,
> Georgy
>  
>
>     >
>     > _______________________________________________
>     > Grub-devel mailing list
>     > Grub-devel@gnu.org <mailto:Grub-devel@gnu.org>
>     > http://lists.gnu.org/mailman/listinfo/grub-devel
>     >
>     >
>
>
>     --
>     Regards
>     Vladimir 'φ-coder/phcoder' Serbinenko
>
>
>


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



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

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

* Re: Build GRUB for UEFI (not EFI), 64 bit
  2010-02-01 15:30       ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2010-02-01 20:01         ` George Buranov
  2010-02-04  8:03         ` gburanov
  1 sibling, 0 replies; 13+ messages in thread
From: George Buranov @ 2010-02-01 20:01 UTC (permalink / raw)
  To: Vladimir 'φ-coder/phcoder' Serbinenko
  Cc: The development of GNU GRUB

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

Hm hm that sounds very interesing. Can you please send me your compiled EFI
file? I will test it on my UEFI. If it work than it's the problem of my
compilation, if not then it's the problem of my UEFI implementation

Regards,
Georgy

>

> I tested with 64-bit qemu-tianocore actually, and in this case it's not
> an emulation.
> > Regards,
> > Georgy
> >
>

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

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

* Re: Re: Build GRUB for UEFI (not EFI), 64 bit
  2010-02-01 15:30       ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-02-01 20:01         ` George Buranov
@ 2010-02-04  8:03         ` gburanov
  1 sibling, 0 replies; 13+ messages in thread
From: gburanov @ 2010-02-04  8:03 UTC (permalink / raw)
  To: grub-devel

Vladimir can you please send me your compiled grub2 for efi, 64 bit? I will try to run it on my computer?

>
I tested with 64-bit qemu-tianocore actually, and in this case it's not
an emulation.





--
This message was sent on behalf of gburanov@gmail.com at openSubscriber.com
http://www.opensubscriber.com/message/grub-devel@gnu.org/13359673.html



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

* Re: Build GRUB for UEFI (not EFI), 64 bit
  2010-02-01 14:05   ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-02-01 14:08     ` George Buranov
@ 2010-02-05  9:55     ` Arne Schwabe
  2010-02-05 12:17       ` Vladimir 'φ-coder/phcoder' Serbinenko
  1 sibling, 1 reply; 13+ messages in thread
From: Arne Schwabe @ 2010-02-05  9:55 UTC (permalink / raw)
  To: The development of GNU GRUB
  Cc: Vladimir 'φ-coder/phcoder' Serbinenko, gburanov

Am 01.02.10 15:05, schrieb Vladimir 'φ-coder/phcoder' Serbinenko:
> Arne Schwabe wrote:
>   
>> Am 01.02.10 08:00, schrieb gburanov@gmail.com:
>>   
>>     
>>> Hello everybody.
>>>
>>> I am currently trying to build grub for UEFI (I got new modern Intel motherboard that support boot loading).
>>>   
>>>     
>>>       
>> I am curios which one. I have a DP55WG and I did not get UEFI + Linux
>> working. UEFI + Windows 7 on the other hand works fine. The EFI Shell
>> also works fine.
>>   
>>     
>>> According to the grub manual, I use
>>>
>>> ./configure --with-platform=efi --target=x86_64
>>> make
>>> ./grub-mkimage -d- -o bootx64.efi modules_list
>>>
>>> and try to load from it. it does not work! The computer just restarts when running it, in the beginning. 
>>>
>>>   
>>>     
>>>       
>> That happens for me with elilo. Grub2 lilo just says that relocating is
>> not supported (or something similar)$
>>   
>>     
> you probably need newreloc branch.
>   
>
Okay, tried that out too. Did not work well either.

When I give kernel arguments grub says:

Anomaly in region alocations detected. Simultaneous relocators?
Boot aborted. Press any key to exit.

Screenshot: plai.de/grub1.jpg

If I do not supply kernel arguments, it may boot or not:

>boot
error: no suitable mode found
Booting however
error: no video mode activated

But without video and the kernel not mouting the filesystem (so no
remote) it is hard to tell.

Arne




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

* Re: Build GRUB for UEFI (not EFI), 64 bit
  2010-02-05  9:55     ` Arne Schwabe
@ 2010-02-05 12:17       ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-02-06 16:06         ` Arne Schwabe
  0 siblings, 1 reply; 13+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-02-05 12:17 UTC (permalink / raw)
  To: Arne Schwabe; +Cc: The development of GNU GRUB, gburanov

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

Arne Schwabe wrote:
> Am 01.02.10 15:05, schrieb Vladimir 'φ-coder/phcoder' Serbinenko:
>   
>> Arne Schwabe wrote:
>>   
>>     
>>> Am 01.02.10 08:00, schrieb gburanov@gmail.com:
>>>   
>>>     
>>>       
>>>> Hello everybody.
>>>>
>>>> I am currently trying to build grub for UEFI (I got new modern Intel motherboard that support boot loading).
>>>>   
>>>>     
>>>>       
>>>>         
>>> I am curios which one. I have a DP55WG and I did not get UEFI + Linux
>>> working. UEFI + Windows 7 on the other hand works fine. The EFI Shell
>>> also works fine.
>>>   
>>>     
>>>       
>>>> According to the grub manual, I use
>>>>
>>>> ./configure --with-platform=efi --target=x86_64
>>>> make
>>>> ./grub-mkimage -d- -o bootx64.efi modules_list
>>>>
>>>> and try to load from it. it does not work! The computer just restarts when running it, in the beginning. 
>>>>
>>>>   
>>>>     
>>>>       
>>>>         
>>> That happens for me with elilo. Grub2 lilo just says that relocating is
>>> not supported (or something similar)$
>>>   
>>>     
>>>       
>> you probably need newreloc branch.
>>   
>>
>>     
> Okay, tried that out too. Did not work well either.
>
> When I give kernel arguments grub says:
>
> Anomaly in region alocations detected. Simultaneous relocators?
> Boot aborted. Press any key to exit.
>   
What you were doing exactly? This message is a part of unloading
relocators which shouldn't even be called unless you try to execute
"linux" for the second time
> Screenshot: plai.de/grub1.jpg
>
> If I do not supply kernel arguments, it may boot or not:
>
>   
>> boot
>>     
> error: no suitable mode found
> Booting however
> error: no video mode activated
>
> But without video and the kernel not mouting the filesystem (so no
> remote) it is hard to tell.
>   
You need to
insmod efi_gop
or (for older systems)
insmod efi_uga
> Arne
>
>
>   


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



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

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

* Re: Build GRUB for UEFI (not EFI), 64 bit
  2010-02-05 12:17       ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2010-02-06 16:06         ` Arne Schwabe
  2010-02-06 16:23           ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 13+ messages in thread
From: Arne Schwabe @ 2010-02-06 16:06 UTC (permalink / raw)
  To: Vladimir 'φ-coder/phcoder' Serbinenko
  Cc: The development of GNU GRUB, gburanov


>> Anomaly in region alocations detected. Simultaneous relocators?
>> Boot aborted. Press any key to exit.
>>
> What you were doing exactly? This message is a part of unloading
> relocators which shouldn't even be called unless you try to execute
> "linux" for the second time
You seem to be right. I could not reproduce that error without loading 
the kernel twice.

>> Screenshot: plai.de/grub1.jpg
>>
>> If I do not supply kernel arguments, it may boot or not:
>>
>>
>>> boot
>>>
>> error: no suitable mode found
>> Booting however
>> error: no video mode activated
>>
>> But without video and the kernel not mouting the filesystem (so no
>> remote) it is hard to tell.
>>
> You need to
> insmod efi_gop
> or (for older systems)
> insmod efi_uga
With either efi_gop or efi_uga loaded the system simply goes black as 
soon as I use "boot". Any idea or pointers to debugging?

Arne



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

* Re: Build GRUB for UEFI (not EFI), 64 bit
  2010-02-06 16:06         ` Arne Schwabe
@ 2010-02-06 16:23           ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-02-07 14:36             ` Arne Schwabe
  0 siblings, 1 reply; 13+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-02-06 16:23 UTC (permalink / raw)
  To: Arne Schwabe; +Cc: The development of GNU GRUB, gburanov

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

Arne Schwabe wrote:
>
>>> Anomaly in region alocations detected. Simultaneous relocators?
>>> Boot aborted. Press any key to exit.
>>>
>> What you were doing exactly? This message is a part of unloading
>> relocators which shouldn't even be called unless you try to execute
>> "linux" for the second time
> You seem to be right. I could not reproduce that error without loading
> the kernel twice.
>
>>> Screenshot: plai.de/grub1.jpg
>>>
>>> If I do not supply kernel arguments, it may boot or not:
>>>
>>>
>>>> boot
>>>>
>>> error: no suitable mode found
>>> Booting however
>>> error: no video mode activated
>>>
>>> But without video and the kernel not mouting the filesystem (so no
>>> remote) it is hard to tell.
>>>
>> You need to
>> insmod efi_gop
>> or (for older systems)
>> insmod efi_uga
> With either efi_gop or efi_uga loaded the system simply goes black as
> soon as I use "boot". Any idea or pointers to debugging?
>
Try running "videotest"
> Arne
>


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



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

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

* Re: Build GRUB for UEFI (not EFI), 64 bit
  2010-02-06 16:23           ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2010-02-07 14:36             ` Arne Schwabe
  0 siblings, 0 replies; 13+ messages in thread
From: Arne Schwabe @ 2010-02-07 14:36 UTC (permalink / raw)
  To: Vladimir 'φ-coder/phcoder' Serbinenko
  Cc: The development of GNU GRUB, gburanov


>>> You need to
>>> insmod efi_gop
>>> or (for older systems)
>>> insmod efi_uga
>>>       
>> With either efi_gop or efi_uga loaded the system simply goes black as
>> soon as I use "boot". Any idea or pointers to debugging?
>>
>>     
> Try running "videotest"
>   
>
isnmod efi_gop followed by videotest

That somewhat works. I get a black screen with a red square and
white/light blue (could be my monitor) square. And then the computer hangs.

With efi_uga. videotest just says that no videomode is available or
something similar.

Arne



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

end of thread, other threads:[~2010-02-07 14:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-01  7:00 Build GRUB for UEFI (not EFI), 64 bit gburanov
2010-02-01 11:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-02-01 13:54 ` Arne Schwabe
2010-02-01 14:05   ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-02-01 14:08     ` George Buranov
2010-02-01 15:30       ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-02-01 20:01         ` George Buranov
2010-02-04  8:03         ` gburanov
2010-02-05  9:55     ` Arne Schwabe
2010-02-05 12:17       ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-02-06 16:06         ` Arne Schwabe
2010-02-06 16:23           ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-02-07 14:36             ` Arne Schwabe

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.