iPXE discussion forum

Full Version: iPXE - Hardware detection (harddrives) like cpuid's arch/pae..
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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).
Reference URL's