CentOS / RHEL Install Fails to Find DVD

Today I began my first installation of CentOS 6.0 and since this is the first time I’ve used this downloaded image, it seemed logical to test the media when asked, so I did.

The image which was just tested was successfully verified.

CentOS Media Test Success

However, after the test passes with flying colors, I get this error:

The CentOS disc was not found in any of your drives.  Please insert the CentOS disc and press OK to retry.

CentOS Disc Not Found Message

Then I remembered there is a bug such that if you test the media you will always get this error. One solution is to reboot and choose to skip the media test, then the install goes along as expected. Another is to eject and re-insert the DVD/CD media.  This problem exists in at least CentOS 5.5 and 6.0 x86_64, and probably others and RHEL (Red Hat Enterprise Linux) as well.

I encountered the error installing under VirtualBox, where it seems the DVD may be “virtually ejected” after the test, but is not clear the DVD is ejected under VirtualBox. It appears a bug is logged as fixed in Fedora 11, so a future update should improve this.

I hope this saves you some time and frustration…

This entry was posted in Tech Tips. Bookmark the permalink.

22 Responses to CentOS / RHEL Install Fails to Find DVD

  1. chazal says:

    Another solution is to skip the test, choose the url media install and write :
    http://mirrors.ircam.fr/pub/CentOS/6.0/os/x86_64 for 64bits install
    http://mirrors.ircam.fr/pub/CentOS/6.0/os/i386 for 32bits install.


    • Karl says:

      Perfect thanks chazal! I downloaded the netinstall version and got this error. Entered the url above (but 6.3), and all is working perfectly. I’m on 120MB cable so didn’t even notice the download time.

      • Alan says:

        Hi, thanks for this, first time installing CentOS (always been Ubuntu up til now, wanted to try something else). Ran into this problem. installed 3.6 as above via network. 30Mb line. Not too slow at all

    • marco says:

      Thank you chazal… Your url saved me

  2. Thanks for the tip, chazal, good to know there is a install over the internet option. However, I’d suspect this would be too slow for most people, and a waste if they already downloaded the full DVD. I think there is a small netboot CD you can download if you choose to run the installer over the network/internet like this.

  3. Matthew W. Sanders says:

    Thank you.

    CentOS 6.0 on a HP dc7700, and I ran into this issue. Was going in circles… Found this post and moved forward, at least.

    Matthew W. Sanders

  4. Shane says:

    Really??? I mean come on, after all these years of installs that I have made of linux over the past almost 20 years and we still have stupid issues like this?

  5. Marc says:

    Thank you! Same issue an a Dell Poweredge, Webinstall works great.

  6. David says:

    Thank you. I have struggled for several hours on this and see this. You save my day!

  7. You are welcome, Marc and David, that’s what this article is here for. Have a great week.

  8. David says:

    an update on the link chazal posted above. There is no images under 6.0 dir, so use 6.1 instead.

  9. Bart says:

    Great hint, just skipping test didn’t do the trick. The url-option did 🙂
    You can use the 6.2 dir 🙂

  10. Dragon says:

    I am having the same problem.

    Happily I found that someone had the same problem. “Happily” only to know, because the problem is the same and I could not SOLVE it. 🙁

    I skiped the Media Test, than choose language and Kind of keyboard.
    Then it asks about the kind of installation.
    In my case, I choose CD/DVD

    I thought about Skip Media test, too. And it goes a bit more steps until this message error:

    “The CentOS disc was not found in any of your drives. Please insert the CentOS

    Skip Media test

    Choose URL
    > Config TCP/IP (all default)
    …Waiting the NetworkManager config eth0

    Gave and ERROR to config network interface, too.

    The unique option is: REPEAT.

    I have tried to open the CDROM driver severall times. Did not work!

    CentOs 6.2 (x86_64) NET INSTALL (not that BIG default iso >> this one is for HOST pourposes).
    Intel Core i3, 2Gb ram, 500Gb hd.
    It has a Linux distro called Satus (brazilian one).

    I want to install KVM, BUT FIRST, I need an O.S. Like VPS companies usually use CENTOS, I’d like to use the same. But I need to be honest: it’s been very difficult.

    It is this kind of thing that make people prefer to use WINDOWS. I have tried to install CentOS for SEVERAL DAYS. If I try to install Windows, it’ll install in 30min.


  11. Lloyd Lowe says:

    I have been attempting to setup a Kickstart script for a CentOS build and so far have had very little success. To start with I am using the the following ISO which I downloaded :


    I run : yum install system-config-kickstart and build the ks.cfg file as instructed.

    I them mounted the iso image to /mnt/cdrom and did a cp -p /mnt/cdrom /tmp/Kickstart

    in /tmp I did the following :

    modified ./kickstart/isolinux/isolinux.cfg and added the following lines
    default SVN01
    #prompt 0
    timeout 10

    label SVN01
    menu label ^Auto Installation type 1
    menu default
    kernel vmlinuz
    append initrd=initrd.img ks=cdrom:/ks.cfg
    I copied the ks.cfg to both the root and to to ensure that we had to file not found issues.

    I then run the following command :

    cd /tmp/kickstart

    [NAME]#> chmod a+w isolinux/isolinux.bin

    [NAME]#> mkisofs -r -T -J -V “Custom RHEL4 Build” -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /var/ftp/pub/testdisc.iso /tmp/kickstart

    I then on my Windows Machine ftp this file across and use a VM to do the test. The CD immediately starts loading the group SVN01 without any delay and does it’s ethernet autoconfigure successfully…. Then the dreaded window appears :

    ————|Disc Not Found|———–
    The CentOS disc was not found in
    any of your CDROM drives. Please
    insert the CentOS disc and press
    OK to retry

    [OK] [BACK]

    Please help

  12. Pierre says:

    Well, I’m trying to install 6.4 and ran into the exact same stupid issue. This is pretty inexcusable. Thankfully, the URL install seems like a valid workaround…

  13. Brent says:

    You will need to copy the .discinfo from the origional DVD to the root of the custom built folder before you compile it

  14. Pierre says:

    Trying to load Centos 4.7 on HP ML310 G8. Unable to find any devices of the type needed for this installation.

  15. Warren says:

    I clicked on ‘Deviced’ in the VirtualBox menu and then selected the media (the mounted .iso) THEN hit the ok button… I assume it did a virtual close on the virtual DVD drive.

  16. mike says:

    I dealt with this same error for a long time when trying to make a kickstart. Trying everything I could try and looking at multiple guides.

    Turns out my cp command wasn’t grabbing the hidden folders from the ISO
    you must also copy the .treeinfo and .discinfo over. I did it manually just to be sure.
    Smooth sailing after that.

  17. agnes says:

    Thanks for your help.
    This is not very serious from RH/Centos…..
    I think I’m going back to Windows. It’s very funny to look for tips everywhere and to become a geek, but I need to focuse on my job, now ! 🙂

  18. Joe Brouillette says:

    I’ve had so many problems installing CentOS on ESXi servers. I just installed 6.5 x64 basic server (for an MRTG server) and it installed with no problems. Thanks very much for this information.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.


We truly appreciated Nick's professional and creative approach to our DRP from [an] Open Source back end. You provide a valuable service in the Pacific NW. Thanks Nick!”

— Kimberly Dodd, CPA, Broker

“I can honestly say that you are the best hire I have ever made.”

— Mark Young, Ph.D., Director, Network & Server Systems, University of Puget Sound

”Our project required a deep knowledge... It was immediately evident that you had the experience and skills to pull it off.”

— Patrick Stroud, President, PLY Interactive, Inc.