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>
You can glean the device name with "list hardware" (
lshw
):Output something like this:
Or maybe pipe to less if there is too much output:
On Ubuntu Server 12.04 LTS it is as easy as:
To unmount, type:
To Check
Type
blkid
to see a list of devices attached to your computer.then type:
change
sdc1
to the name of your usb stick as listed in blkid. e.g.sdc0
,sdc2
, etc