Build GRUB for UEFI (not EFI), 64 bit
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 [email protected] at openSubscriber.com
http://www.opensubscriber.com/messages/[email protected]/topic.html
Quoted 5 lines · [email protected] 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
Quoted 6 lines
According to the grub manual, I use
./configure --with-platform=efi --target=x86_64
make
./grub-mkimage -d- -o bootx64.efimodules_list
It's "-d .", not -d-, also be sure not to include kernel in modules list
Quoted 17 lines
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 [email protected] at openSubscriber.com
http://www.opensubscriber.com/messages/[email protected]/topic.html_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Am 01.02.10 08:00, schrieb [email protected]:
Quoted 4 lines
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.
Quoted 9 lines
According to the grub manual, I use
./configure --with-platform=efi --target=x86_64
make
./grub-mkimage -d- -o bootx64.efimodules_listand 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)
Quoted 3 lines
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.
Quoted 2 lines
Do somebody succeed in compiling grub for UEFI (not just EFI)? What can be a problem?
I had not success either.
Arne
Quoted 17 lines · Arne Schwabe
Am 01.02.10 08:00, schrieb [email protected]:
Quoted 5 lines
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.
Quoted 6 lines
According to the grub manual, I use
./configure --with-platform=efi --target=x86_64
make
./grub-mkimage -d- -o bootx64.efimodules_list
Quoted 7 lines
Quoted 4 lines
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.
Quoted 4 lines
Quoted 4 lines
However, the grub that is included to the Fedora 12 CD works just fine.
Quoted 9 lines
Which is a patched grub 0.97. On my computer it just hangs and does not nothing.
Quoted 3 lines
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.
Quoted 9 lines
Arne
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 7 lines
Quoted 3 lines
It works on tianocore.
Quoted 2 lines
Arne
yes, if you are talking about 32-bit emulation of UEFI, created by Tianocore, then yes =)
Regards,
Georgy
Quoted 15 lines
Quoted 7 lines
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 11 lines · George Buranov
Quoted 3 lines
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.
Quoted 19 lines
Regards,
GeorgyQuoted 7 lines
_______________________________________________
Grub-devel mailing list
[email protected] <mailto:[email protected]>
http://lists.gnu.org/mailman/listinfo/grub-devel--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
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
Quoted 8 lines
I tested with 64-bit qemu-tianocore actually, and in this case it's not an emulation.
Quoted 3 lines
Regards,
Georgy
Vladimir can you please send me your compiled grub2 for efi, 64 bit? I will try to run it on my computer?
Quoted 1 line
I tested with 64-bit qemu-tianocore actually, and in this case it's not an emulation.
--
This message was sent on behalf of [email protected] at openSubscriber.com
http://www.opensubscriber.com/message/[email protected]/13359673.html
Am 01.02.10 15:05, schrieb Vladimir 'φ-coder/phcoder' Serbinenko:
Quoted 27 lines
Quoted 25 lines · Arne Schwabe
Am 01.02.10 08:00, schrieb [email protected]:
Quoted 6 lines
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.
Quoted 11 lines
According to the grub manual, I use
./configure --with-platform=efi --target=x86_64
make
./grub-mkimage -d- -o bootx64.efimodules_listand try to load from it. it does not work! The computer just restarts when running it, in the beginning.
Quoted 7 lines
Quoted 4 lines
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:
Quoted 1 line
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
Quoted 43 lines · Arne Schwabe
Am 01.02.10 15:05, schrieb Vladimir 'φ-coder/phcoder' Serbinenko:
Quoted 32 lines
Quoted 29 lines · Arne Schwabe
Am 01.02.10 08:00, schrieb [email protected]:
Quoted 7 lines
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.
Quoted 12 lines
According to the grub manual, I use
./configure --with-platform=efi --target=x86_64
make
./grub-mkimage -d- -o bootx64.efimodules_listand try to load from it. it does not work! The computer just restarts when running it, in the beginning.
Quoted 9 lines
Quoted 5 lines
That happens for me with elilo. Grub2 lilo just says that relocating is not supported (or something similar)$
you probably need newreloc branch.
Quoted 7 lines
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
Quoted 5 lines
Screenshot: plai.de/grub1.jpg
If I do not supply kernel arguments, it may boot or not:
Quoted 9 lines
Quoted 2 lines
boot
error: no suitable mode found
Booting however
error: no video mode activatedBut 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
Quoted 4 lines
Arne
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 7 lines
Quoted 4 lines
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.
Quoted 11 lines
Quoted 11 lines
Screenshot: plai.de/grub1.jpg
If I do not supply kernel arguments, it may boot or not:
Quoted 2 lines
boot
error: no suitable mode found
Booting however
error: no video mode activated
Quoted 7 lines
Quoted 3 lines
But without video and the kernel not mouting the filesystem (so no remote) it is hard to tell.
You need to
insmodefi_gop
or (for older systems)
insmodefi_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
Quoted 24 lines · Arne Schwabe
Quoted 7 lines
Quoted 4 lines
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.
Quoted 14 lines
Quoted 14 lines
Screenshot: plai.de/grub1.jpg
If I do not supply kernel arguments, it may boot or not:
Quoted 2 lines
boot
error: no suitable mode found
Booting however
error: no video mode activatedBut without video and the kernel not mouting the filesystem (so no remote) it is hard to tell.
Quoted 7 lines
Quoted 4 lines
You need to
insmodefi_gop
or (for older systems)
insmodefi_ugaWith either
efi_goporefi_ugaloaded the system simply goes black as soon as I use "boot". Any idea or pointers to debugging?
Try running "videotest"
Quoted 2 lines
Arne
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
You need to
insmodefi_gop
or (for older systems)
insmodefi_uga
Quoted 7 lines
Quoted 4 lines
With either
efi_goporefi_ugaloaded 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