Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use the iPXE as an UEFI Application
2015-01-19, 16:36 (This post was last modified: 2015-01-19 16:37 by mastacontrola.)
Post: #5
RE: Use the iPXE as an UEFI Application
(2015-01-19 12:29)lavator Wrote:  Dear Robin,

I would like to load vmlinuz/initrd via HTTP like the following ,

Quote:#!ipxe
kernel http://${my-server}/vmlinuz initrd=http://${my-server}/initrd.gz
initrd http://${my-server}/initrd.gz
boot

But the results look like the following . Please advise me how to make it work .

http://192.168.168.1/vmlinuz... ok
http://192.168.168.1/initrd.gz... ok
Failed to open initrd file: http:\\192.168.168.1\initrd.gz

I believe you don't want initrd=http://${my-server}/initrd.gz as it's already loaded into memory at that point. So maybe you could have it load the kernel line as:


kernel http://${my-server}/vmlinuz initrd=initrd.gz

I believe this because during the kernel loadout, it doesn't have networking capabilities to download the init as you're trying to have here. However, using the initrd=initrd.gz it should be able to find it in memory when it begins loading.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Use the iPXE as an UEFI Application - mastacontrola - 2015-01-19 16:36



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