[SOLVED] CD-ROM not mounting on Ubuntu 10.04 Lucid Lynx

Lucid Lynx is great but is has some small problem like CD-ROM not mount automatically. However like all other simple problems, this can also be solved easily. Each time you insert CD-ROM, you can type in the following in Terminal and CD-ROM will be mounted.

sudo mkdir /media/cdrom; sudo mount /dev/cdrom/ /media/cdrom/

[UPDATE] Please note the space(” “) between /dev/cdrom/ & /media/cdrom/ i.e.

/dev/cdrom/ /media/cdrom/

If this works, you may want to mount the CD-ROM automatically. You can do this by setting up your computer try to mount CD-ROM drive every minute. This can be done by:

sudo crontab -e

If it is the first time you are launching the command, it will ask you to choose editor, choose nano. Now enter the following line in the editor:

* * * * * mkdir /media/cdrom; mount /dev/cdrom/ /media/cdrom/

Then press “Ctrl+O” and press “Enter” to save and then “Ctrl+X” to close.

Now when you enter CD-ROM, just wait a while and the CD-ROM will be automatically mounted within one minute.

Please fill free to ask any questions regarding this issue.

Related posts

Comments

  1. Lee Howson says:

    Hi, I’m having the the issue with loading CDs. Running the code i have the following error. can’t find /dev/cdrom/media/cdrom/ in /etc/fstab or /etc/mta
    is it alter where it searchs?
    Any help much appreciated.

  2. Dan says:

    mount /dev/cdrom /media/cdrom/
    Then press “Ctrl+O” and press “Enter” to save

    Here is where the trouble begins
    Then “Ctrl+X” to close.

    crontab: installing new crontab
    “/tmp/crontab.JUJkyM/crontab”:0: bad minute
    errors in crontab file, can’t install.
    Do you want to retry the same edit?

    Any thoughts on how to resolve the issue?

    -thx

  3. Lavezarez says:

    thanks your advise worked for me.

  4. Dan says:

    Hey I have the same problem mounting cds, I cannot get this code to mount a cd either unfortunately, what did I do wrong? After typing in the code I’m getting the following error,

    mount: can’t find /dev/cdrom/media/cdrom in /etc/fstab or /etc/mtab

  5. admin says:

    Oh my god… I think there was a mis-understanding.

    try this :
    mount /dev/cdrom/ /media/cdrom/

    its was not your fault nor mine. Its was the “Enter” and that made a mis-understanding on the solution.

  6. adi says:

    i have try it no ubuntu 10.10:

    medan@medan-P4X266-8233:~$ sudo mkdir /media/cdrom
    mkdir: cannot create directory `/media/cdrom’: File exists
    medan@medan-P4X266-8233:~$ sudo mount /dev/cdrom/ /media/cdrom/
    mount: special device /dev/cdrom/ does not exist
    medan@medan-P4X266-8233:~$ mount /dev/cdrom/ /media/cdrom/
    mount: only root can do that

    Any help much appreciated.

    • admin says:

      Hi adi,

      the response >”mkdir: cannot create directory `/media/cdrom’: File exists” refers to that your CD-ROM has already been mounted.

      Thanks

  7. glypho says:

    Just for the last step:
    > $ mount /dev/cdrom/ /media/cdrom/
    > mount: only root can do that

    I think the command should be

    $ sudo mount /dev/cdrom/ /media/cdrom/

    cheers.
    -

  8. vinoth says:

    hi,

    Even i had he same problem, i tried these commands.
    sudo mount /dev/cdrom/ /media/cdrom/

    it said
    mount: /dev/sr0: unknown device

  9. chinc says:

    When I key in

    $ sudo mount /dev/cdrom/ /media/cdrom/

    I receive message as below:

    mount: special device /dev/cdrom/ does not exist

    Does it say Ubuntu cannot detect the presence of a cdROM? Please help me.

  10. irusappan says:

    mount: block device /dev/sr0 is write-protected, mounting read-only
    mount: /dev/sr0: can’t read superblock
    when i insert cdrom in drive it shows this error anybody give solution for this problem

Speak Your Mind

*