Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chain UEFI linux with ipxe.efi or ipxe-snponly
2017-03-01, 06:31 (This post was last modified: 2017-03-01 06:33 by Lester.)
Post: #1
Chain UEFI linux with ipxe.efi or ipxe-snponly
Hi!

I'm trying to make uefi linux happen with ipxe.efi !
Tryied dozen different version of *.efi, it just can't. Everytime the same error message:
kernel /vmlinuz initrd=initrd.img
initrd intrd.img
“Could not select : Exec format error”

I want to know , IS THERE any way to help me finish this?
It would be great thankful!


Next link tell me howto do that, but it actually doesn't help.
http://ipxe.org/appnote/uefihttp
https://doc.rogerwhittaker.org.uk/ipxe-i...n-and-EFI/
Find all posts by this user
Quote this message in a reply
2017-03-01, 06:42
Post: #2
RE: Chain UEFI linux with ipxe.efi or ipxe-snponly
(2017-03-01 06:31)Lester Wrote:  Hi!

I'm trying to make uefi linux happen with ipxe.efi !
Tryied dozen different version of *.efi, it just can't. Everytime the same error message:
kernel /vmlinuz initrd=initrd.img
initrd intrd.img
“Could not select : Exec format error”

I want to know , IS THERE any way to help me finish this?
It would be great thankful!


Next link tell me howto do that, but it actually doesn't help.
http://ipxe.org/appnote/uefihttp
https://doc.rogerwhittaker.org.uk/ipxe-i...n-and-EFI/

If you read the full error message that you get and follow that url you will see a explanation about the issue. Mainly that in EFI mode the file you are trying to boot must be a EFI binary (linux kernel needs CONFIG_EFI_STUB enabled to be EFI compatible) there is several other posts about this already, here is one of my previous replies to same/similar question: http://forum.ipxe.org/showthread.php?tid...0#pid11650

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2017-03-01, 07:07 (This post was last modified: 2017-03-01 07:36 by Lester.)
Post: #3
Tongue RE: Chain UEFI linux with ipxe.efi or ipxe-snponly
(2017-03-01 06:42)NiKiZe Wrote:  
(2017-03-01 06:31)Lester Wrote:  Hi!

I'm trying to make uefi linux happen with ipxe.efi !
Tryied dozen different version of *.efi, it just can't. Everytime the same error message:
kernel /vmlinuz initrd=initrd.img
initrd intrd.img
“Could not select : Exec format error”

I want to know , IS THERE any way to help me finish this?
It would be great thankful!


Next link tell me howto do that, but it actually doesn't help.
http://ipxe.org/appnote/uefihttp
https://doc.rogerwhittaker.org.uk/ipxe-i...n-and-EFI/

If you read the full error message that you get and follow that url you will see a explanation about the issue. Mainly that in EFI mode the file you are trying to boot must be a EFI binary (linux kernel needs CONFIG_EFI_STUB enabled to be EFI compatible) there is several other posts about this already, here is one of my previous replies to same/similar question: http://forum.ipxe.org/showthread.php?tid...0#pid11650

I almost understand what you mean.
So i have to recompile the kernel file(vmlinuz), and set CONFIF_EFI_STUB enabled. if that's true, is there some kernel file already done with uefi that i can test before i do.Tongue
I just find normal kernel file with 3.3 version or newer it could boot with ipxe.efi. In this page, it says kernel 3.3, you don't have to do anything to uefi boot.
https://wiki.archlinux.org/index.php/EFISTUB
Find all posts by this user
Quote this message in a reply
2017-03-01, 07:39
Post: #4
RE: Chain UEFI linux with ipxe.efi or ipxe-snponly
(2017-03-01 07:07)Lester Wrote:  I almost understand what you mean.
So i have to recompile the kernel file(vmlinuz), and set CONFIF_EFI_STUB enabled. if that's true, is there some kernel file already done with uefi that i can test before i do.Tongue
I just find normal kernel file with 3.3 version or newer it could boot with ipxe.efi. In this page, it says kernel 3.3, you don't have to do anything to uefi boot.
https://wiki.archlinux.org/index.php/EFISTUB

Haha, yes feel free to just
Code:
chain http://boot.ipxe.org/demo/
(should work with efi)
or if you want a more full environment you can test:
chain http://b800.org/sysr/sysrcd.ipxe

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)