I have ESXi 5.5, Dell R430, a DVD rom installed in it. How can I check the most easiest way, if a DVD is inserted into the DVD drive? The reason I want to know this, is that when the system is rebooted, and the boot order is set to DVD, I want to avoid to start any install from there.

Tried to check things in /dev/cdrom, but have not found a working solution yet. It would be okay, to have the boot order check as well, I want to make it automatized in the end - that's why I need a CLI command solution.

Thanks for the help in advance!


Can't you just change the boot order?

  • 1
    While this is a solution, and I agree this probably is the best alternative, you could elaborate this a bit by telling why OP should accept this instead of trying to do some extra verification. Otherwise, this seems more like a comment, doesn't it? – Esa Jokinen Aug 7 '17 at 10:50
  • Hi! Good idea, however it was not exactly the solution to my problem, but it helped. I was able to get info about boot order, which is a solution for me, as I did not need any change, only information about the boot status - instead of checking DVD status. – Arin Aug 9 '17 at 16:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.