iPXE discussion forum
iPXE - Hardware detection (harddrives) like cpuid's arch/pae.. - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: iPXE - Hardware detection (harddrives) like cpuid's arch/pae.. (/showthread.php?tid=6792)



iPXE - Hardware detection (harddrives) like cpuid's arch/pae.. - Torgeir - 2013-01-09 20:42

Hi!

"Stupid" question. Could iPXE detect if an harddrive like /dev/sda is present?
We have an "Diskless" installation option, and a thought came up:

If the computer is supposed to be a "diskless". We remove the harddrive (since it is not used in the machine, with diskless install).

Just some simple block device checking would be sufficient. If no disk in this machine, you will only see the diskless install option in our menu. That was the thought.

Any ideas?

Torgeir


RE: iPXE - Hardware detection (harddrives) like cpuid's arch/pae.. - robinsmidsrod - 2013-01-10 14:14

There is no such support in iPXE, but I'm going to assume it's possible to create a BIOS-level program that can ask the BIOS what storage devices are present and report back to iPXE similar to how the customized memtest NBP is used in my example menu (see the FAQ).