Quote:
I tried /dev/hda-z but still not work , what is wrong ? thx
|
hda usually refers to a harddisk (IDE), cd/dvd-drives are hdc, hdd or sdc, sdd or so..so try
Code:
mount /dev/hdc /media/cdrom
as root, provided that /media/cdrom exists. If it doesn't work, try hdd, sdc, sdd, ...
The defice files are under /dev so when you put the disc in, you can either have a look at /dev
or try to figure the device from dmesg for example:
The reason why a simple "mount /media/cdrom" doesn't work is probably that your /etc/fstab doesn't contain an entry that would tell what device (of your CD/DVD) should be mounted to what mountpoint with what options. Without such a line mount can't figure out what to mount to /media/cdrom unless you tell the exact device. Nowadays things are automated so if you're using a graphical desktop, you just put the disc in and it's mounted to the right place automatically (you can edit your udev rules file to change this behaviour). So, if you like to do it like you've done it so far, with "mount /media/cdrom", you're going to have to add an fstab entry. It's not difficult, but first figure out what device file it is that you use (hdc, hdd, ...?) -- after you successfully mount the drive, remember that device file and add a line to /etc/fstab. For more information about fstab, take a look at it's manpage.