Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Booting A Remote OS Image
2019-08-12, 22:46
Post: #1
Booting A Remote OS Image
I'm very new to iPXE but have gone through the /docs and /examples to try and build my new iPXE script but am still confused as to how to build this.

I have an OS image created and placed in a cloud storage bucket and I want to be able to boot from that location.
(http://s3.aws.com/my-bucket/my-os-image).

My understanding is that I can create an iPXE script to build an iPXE OS USB image that loads from this bucket location.

along the lines of 'make bin/ipxe.usb EMBED=startup.ipxe' where startup.ipxe is my own custom script.

Is this correct?

Additionally, I'm having trouble writing startup.ipxe itself.

Would it be as simple as:

'
dhcp
imgfetch http://192.168.0.1/img.igz
boot img.igz
'

Please let me know of any examples that are relevant or docs that are useful for what I'm trying to do.

Thanks for your help.
Find all posts by this user
Quote this message in a reply
2019-08-13, 15:59
Post: #2
RE: Booting A Remote OS Image
if img.igz is a image type that is understood by iPXE (in legacy mode) than that works fine.
My guess tho is that it isn't.
also you could replace imgfetch and boot with just chain

You should probably first get comfortable with booting linux, and understand the difference between kernel and ram images.

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2019-08-14, 19:17
Post: #3
RE: Booting A Remote OS Image
Thanks. This is helpful/
Find all posts by this user
Quote this message in a reply
Post Reply 




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