1825512 Members
1978 Online
109681 Solutions
New Discussion юеВ

mount cd rom

 
SOLVED
Go to solution
juno2
Super Advisor

mount cd rom

I have CD on my RH8 Linux , how can I mount the device ? how to know the device path of the CDROM ? thx

16 REPLIES 16
juno2
Super Advisor

Re: mount cd rom

i find the device as below, can suggest how to mount it ? thx.

edp//dev> ll -d cdrom
lrwxrwxrwx 1 root sys 8 Jun 27 17:52 cdrom -> /dev/hda

Claudio Cilloni
Honored Contributor
Solution

Re: mount cd rom

usually it's enough this:

$ mount /mnt/cdrom


hi
Claudio
John Poff
Honored Contributor

Re: mount cd rom

Hi,

Try this:

mount /dev/cdrom /mnt/cdrom

assuming that you have a /mnt/cdrom directory created for the mountpoint.

JP
Jerome Henry
Honored Contributor

Re: mount cd rom

Which is the case on rh8.
You do not need -t argument, as only iso 9660 is supposed.
From graphical interface, right click on your screen, on the menu click disk /cdrom...
Same procedure with 'eject' at the end to umount.
J
You can lean only on what resists you...
Caesar_3
Esteemed Contributor

Re: mount cd rom

Hello!

In RH you have kudzu that in the boot if
see cdrom make entry in /etc/fstab for
mount cdrom so you just need:
mount /mnt/cdrom (you can check in /etc/fstab)
If you want mount another way:
mount /mnt/cdrom
If you know where you connected your CDrom
you can know if it's hda, hdb, hdc or hdd
so the device will be /dev/hdX

hda -> prim. master
hdb -> prim. slave
hdc -> sec. master
hdd -> sec.slave

Caesar
Ron Brown_2
Frequent Advisor

Re: mount cd rom

Try this:

mount -t iso9660 /dev/cdrom /mnt/cdrom
should work...
juno2
Super Advisor

Re: mount cd rom

Hi all,

I tried r method , but pop up the below error , how to fix ? Thx
---------------------------------
edp//mnt> mount /dev/cdrom /mnt/cdrom
/dev/cdrom: Input/output error
mount: you must specify the filesystem type
----------------------------------

U.SivaKumar_2
Honored Contributor

Re: mount cd rom

Hi,

#mount -t iso9660 /dev/cdrom /mnt/cdrom
#cd /mnt/cdrom
#ls

regards,
U.SivaKumar
Innovations are made when conventions are broken
twang
Honored Contributor

Re: mount cd rom

# mount /mnt/cdrom
# mount -r /mnt/cdrom
# mount -r /dev/cdrom /mnt/cdrom
# mount -t iso9660 -r /dev/cdrom /mnt/cdrom

you may try above command to mount your cdrom.
juno2
Super Advisor

Re: mount cd rom

thx all ,

I tried the command , but still error .
--------------------------------------
edp//root > mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
--------------------------------------

can suggest how to fix? thx
U.SivaKumar_2
Honored Contributor

Re: mount cd rom

hi ,

show me the output of
#ll -d /dev/cdrom

Also think error will come if mount command cannot read the superblock of the CDROM disc to find out the filesystem type , in case the current CDROM disc tracks are scratched.

Try using atleast 3 different CDs and see if problem persists ?.

regards,

U.SivaKumar

Innovations are made when conventions are broken
juno2
Super Advisor

Re: mount cd rom

the output like this "lrwxrwxrwx 1 root root 12 Oct 1 2001 cdrom->/dev/hda" , can suggest how to mount it ? thx.
juno2
Super Advisor

Re: mount cd rom

Sorry , it is a scsi cdrom , could suggest how to mount it? thx.
Claudio Cilloni
Honored Contributor

Re: mount cd rom

mount -t iso9660 /dev/scd0 /mnt/cdrom

where /dev/scd0 should be the device for you scsi cdrom.

hth
Claudio
SAravanan_7
Advisor

Re: mount cd rom

Hi,
It automatically mounts the CDROM. The device will be in /dev/cdrom.
Huc_1
Honored Contributor

Re: mount cd rom

Juno2

Could you check the following log in as root type

This is just to make sure all as it should be with your cdrom enviroment.

#cat /proc/scsi/scsi

you should see your scsi device's' here

#cdrecord -scanbus

This should show you your scsi and you cdrom drive

#lsmod

there should be an ide-cd entry in there if your cdrom device is an ide-atapi

#cat /etc/fstab

There should be an entry fro cdrom in there

There is something else I find "funny" that there should be a softlink for /dev/cdrom --> /dev/hda ... this is posible But unless you have only scsi disk device this is more frequently something like /dev/scd0

to check the above please type the following

#dmesg | grep "CD"

---------result on my system--------

hdc: UJDA730 DVD/CDRW, ATAPI CD/DVD-ROM drive
Vendor: MATSHITA Model: UJDA730 DVD/CDRW Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0

----------------------------------------

Tell us whay you find and if there is one of the above that does not return true

J-P (hello, everyone)
Smile I will feel the difference