Topics: Red Hat / Linux

ILO: Using Virtual Media with the Command-Line Interface

ISOs may be loaded from an HTTP server using Virtual Media with the iLO command-line interface.


$ ssh -l ilo-admin
User:ilo-admin logged-in to ilo.(
iLO Advanced 1.82 pass1 at 15:53:34 Aug 22 2005
Server Name: ilo
Server Power: On

hpiLO-> vm cdrom insert
Note: use IPs when specifying an HTTP server.
hpiLO-> vm cdrom get
VM Applet = Disconnected
Boot Option = NO_BOOT
Write Protect = Yes
Image Inserted = Connected
Image URL =
Note: the "NO_BOOT" means that the system will not boot off the "connected" image. And the "Image URL" option is not shown with ILO version 1.
hpiLO-> vm cdrom set boot_once
Note: The next boot will be from the connected image. You can also use "vm cdrom set connect" to permanently connect the ISO image. If you want to get rid of the ISO image, use "vm cdrom eject".
hpiLO-> power reset
Now, the server will reboot and boot off the ISO image. If you ever run into a situation where it won't boot of the ISO image, but simply skips over booting from the CDROM, then make sure to check if any physical cables are connected to the server, for example, KVM cables or USB keyboards. If this is the case, the server will not boot of any virtual media. Unplug those cables and reboot again, to make the server boot of the ISO image.

If you found this useful, here's more on the same topic(s) in our blog:

UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.

Interested in learning more?