Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on a script which would allow me to reload the OS on my machine without having to use the IPMI, attach media, hit the DEL key, boot to media, etc. I know once I get media attached using IPMI, I can use IPMITool and run the following command to boot to the media

ipmitool -I lan -H IPADDRESS  -U USERNAME -P 'PASSWORD' chassis bootdev cdrom

However, my question is how can I use ipmitool or any code to have a script attach the media. From my understanding, it does not seem to be posible using ipmitool. Is there any other way to get a script to attach the media (ex: CentOS 5.7 netinstall media)?


share|improve this question
I'd just use PXE, it's what it's designed to do. – womble Apr 5 '12 at 14:20
Besides PXE is there any other way? – Jacob Apr 5 '12 at 20:14
I'm sure there are, but PXE's the way I'd go. – womble Apr 6 '12 at 0:39
If the server has HP iLO2 or advanced management from a different vendor, it might possible to initialize cdrom redirection from the commandline connecting to the management processor. Which platform do you have? – Dmitri Chubarov Apr 28 '12 at 11:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.