1827791 Members
2453 Online
109969 Solutions
New Discussion

hardware path

 
juno2
Super Advisor

hardware path

I want to mount the cdrom , how to know the cdrom hardware path? thx.
6 REPLIES 6
Balaji N
Honored Contributor

Re: hardware path

depends on what type of cdrom it is.

if it is ide, then it is one of hda, hdb, hdc, hdd.

u can also use the /dev/cdrom which is normally a symbolic link to either one of those above.

hth
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Donald Kok
Respected Contributor

Re: hardware path

Hi,
Normally the cdrom entry is allready in /etc/fstab.

On my RH8 it mounts /dev/crom to /mnt/cdrom. So i type: mount /mnt/cdrom


HTH
Donald
My systems are 100% Murphy Compliant. Guaranteed!!!
Jairo Campana
Trusted Contributor

Re: hardware path

Hi,
Normally the cdrom is /dev/hdd
execute cat /etc/fstab

if you version is old execute:
mount -t iso9660 /dev/cdrom /mnt/cdrom

version update
mount /dev/cdrom /mnt/cdrom
legionx
juno2
Super Advisor

Re: hardware path

but when i mount the cdrom , it return the error.
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?)
how to fix ? thx
Balaji N
Honored Contributor

Re: hardware path

hi,
could you please post relevant messages from dmesg related to cdrom. from there we can get some info.
also, can u paste the output of /proc/devices.

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Stuart Browne
Honored Contributor

Re: hardware path

how about the output from something like:

dmesg | grep -E "^[sh]d"

or

grep -E "^[sh]d" /var/log/dmesg

Also, the output of these commands might help us some more:

grep cdrom /etc/fstab
ls -l /dev/cdrom

One last command which might help us is this one:

lsmod | grep ide

This will tell us if you have the 'ide-scsi' module inserted (which makes IDE CD drives emulate SCSI behaviour, used mostly when CD Burners are in play).

If it is listed by the above command, the output of:

cat /proc/scsi/scsi

would also be of use.

Also, what are the exact commands you have attempted to use?

With these details, we should be able to give you an accurate answer on how to mount your CD media.
One long-haired git at your service...