Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
INITRD Basics
2019-07-18, 15:52
Post: #1
INITRD Basics
When using "initrd" to download a file, how is that file accessible in UEFI context?

I was expecting to see a new file system device created, but I find no new devices. For example.

initrd http:/blahblah/disk_image.dsk
kernel http:/blahblah/bootx64.efi /efi/boot/

At this point, UEFI is able to find and execute bootx64.efi (an OS loader), but how do I locate the prior initrd of disk_image.dsk?

I expected to find a UEFI RAMdisk or new file system device created, but I am not seeing this.

Obviously the file disk_image.dsk is in memory somewhere, but how does my OS loader find it? If not via memory address and size, then through what protocol?

Is there a detailed description somewhere of what is actually happening when iPXE pulls images down?
Find all posts by this user
Quote this message in a reply
2019-07-19, 06:12
Post: #2
RE: INITRD Basics
I would probably start reading the wimboot sources, which finds all loaded files

But the linux kernel for example receives an argument telling it which filenames to load, I think this is mentioned in the FAQ

Read FAQ before first post!
Are relevant ipxe.org error urls and PCIIDs included?
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)