Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Local boot menu with extended information
2016-08-18, 16:26
Post: #1
Local boot menu with extended information
Hello,

I need to create a boot menu with only local drives and additional information (bios drive number, bus type, model, serial number, capacity). And allow user to select only boot devices that pass hard-coded filter (I plan to hardcode boot menu and filter rules into "autoboot.c").

I've found some structures in "ata.c", but no code points or examples how to access (or prepare) list of local disks (IDE/SATA/USB). Maybe someone knows good starting point?

Thanks in advance
Find all posts by this user
Quote this message in a reply
2016-08-21, 19:34
Post: #2
RE: Local boot menu with extended information
(2016-08-18 16:26)Marida Wrote:  I need to create a boot menu with only local drives and additional information (bios drive number, bus type, model, serial number, capacity).

....

I've found some structures in "ata.c", but no code points or examples how to access (or prepare) list of local disks (IDE/SATA/USB).


There is no support currently in ipxe for any kind of "disk access"
The exception being support to log to a raw partition of a specific type (see partition structure and types when building ipxe.usb)

The ata.c code you refer to is AFAIK only used as an abstraction layer for the AoE implementation which is an alternative to iSCSI.

So you might instead want to look into some other tools to do what you want, maybe it could be a linux kernel that does the data collection and then reboots the machine or something similar.

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)