Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to mount the installation CD rom drive using a USB CD ROM drive on Ubuntu 10.4.3 server to extract additional packages (since I do not have internet active on the server). I plugged the CD rom drive and inserted the CD and I could not find any auto mounting happening. I could not figure out what would be the device name to manually mount. Looks like it is not /dev/sr0. Any guidance on mounting a CD on Ubuntu server is appreciated.

EDIT Based on the answer from Christopher, here is more information,

/0/1                 scsi6       storage     
/0/1/0.0.0           /dev/cdrom  disk        DVD RW AD-7560S
/0/1/0.0.0/0         /dev/cdrom  disk        

So I guess the device name would be /dev/cdrom and I should be able to mount it with the following command

sudo mount /dev/cdrom /mnt

I get the following error.

mount: /dev/sr0: unknown device

However I can automount the CD in my Ubuntu 10.10 Desktop edition.

So please confirm I am recognising the correct /dev/<dev name>

share|improve this question

4 Answers 4

up vote 2 down vote accepted

You can glean the device name with "list hardware" (lshw):

sudo lshw -short

Output something like this:

H/W path               Device      Class       Description
/0/100/1f.2/0          /dev/cdrom  disk        DVD+-RW GSA-H31L
/0/100/1f.2/1          /dev/sda    disk        750GB ST3750640AS

Or maybe pipe to less if there is too much output:

sudo lshw -short | less
share|improve this answer
sudo lshw -short | grep /dev/ –  One Zero Jan 28 '12 at 13:47
lshw -short | grep /dev/ | awk '{ print $2,"-",$3,"-",$4,"-",$5,"-",$6,"-",$7,"-",$1 }' –  One Zero Jan 28 '12 at 13:55
lshw -short | grep /dev/ | awk '{ print $2,$3,$4,$5,$6,$7 }' –  One Zero Jan 28 '12 at 13:56
Thanks. Let me try to understand it correct. I get the output like below /0/1/0.0.0 /dev/cdrom disk DVD RW AD-7560S But I am not successful in mounting cdrom drive as sudo mount /dev/cdrom /mnt –  Jamess Jan 29 '12 at 12:21
@Jamess sorry - didn't mean to leave ya hanging - why not? do you get an error message? –  user8290 Feb 2 '12 at 1:28


    sudo su
    mount /dev/scd0 /mnt -t iso9660
    mount /dev/scd0 /mnt -t udf


mount /dev/sr0 /mnt -t udf
mount /dev/sr0 /mnt -t iso9660

To Check

ls -l /dev/{cd,dvd}*


lrwxrwxrwx 1 root root 3 2012-01-29 16:58 /dev/cdrom -> sr0
lrwxrwxrwx 1 root root 3 2012-01-29 16:58 /dev/cdrw -> sr0
lrwxrwxrwx 1 root root 3 2012-01-29 16:58 /dev/dvd -> sr0
lrwxrwxrwx 1 root root 3 2012-01-29 16:58 /dev/dvdrw -> sr0
share|improve this answer

I'm all knew to Ubuntu and so far I'm not a happy camper. When one uses windows since the ''begining of time'' its challenging to say the least to change OS. I did this relectuntly because my Xp Crash on me, I reformated but what a headache to get the drivers with Dell since the warranty is out...but I got them good people, thing is you have to start in the right order putting them back (cripes I didn't know) for those who don't either it's video first, after that it doesn't matter. Now back to Ubuntu what ever you try to DL you never know if your going to get things done...permission to run as a program, unable to open the file, would you like internet to find a program to open it...and don't forget your password or else you will be knee high in it, but after all this OS is free so I'm going to shut up.

share|improve this answer

On Ubuntu Server 12.04 LTS it is as easy as:

$ sudo mount /dev/sr0 /media/cdrom

To unmount, type:

$ sudo umount /media/cdrom
share|improve this answer

Your Answer


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

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