LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cd/dvd mount problem (https://www.linuxquestions.org/questions/linux-newbie-8/cd-dvd-mount-problem-616509/)

stunningman 01-26-2008 05:30 PM

cd/dvd mount problem
 
i have installed slackware 12.0 after booting i was checking my dvd/cd rom
visible under system folder.when i clicked to open it,it says permission denied. when i am in root.but later i found that it is not mounted.can anybody tell me how to mount cd or dvd rom.so that i can use it.

camorri 01-26-2008 06:29 PM

This is the same on most distros. First of all you need to make a mount point. This is nothing but an empty directory where you want to see the data on the CD or data dvd. To make the directory, form a konsole, use the command 'mkdir mountpoint' where mountpoint is the name of the new directory. Typical places are in the /mnt directory, or /media directory. So, navigate to, say /media in your console and run the command 'mkdir cdrom' as an example. ( no quotes ).

Then edit as root your /etc/fstab file and add an entry to mount the cdrom. Here is what it looks like on my system.

Quote:

/dev/hda /media/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0
You will have to know the first part, '/dev/hda' My system has a serial HD, and 1 IDE device, the cdrom/dvd burner. Look in the /dev directory to find out what your CD/DVD is known as.

The next field is the mount point you created above. The 'auto' is the file system type. Depending on the media, it can be different. 'auto' will try different FS's find out what is on the CD/DVD. Note the 'ro' field. This is correct for data CD's. They are read only. There are other options, look in the mount man page for more details; if you want to know what each does. That is about it.

You don't have to boot to try it out. Put in a data CD ( not an audio cd, you don't mount audio CD's ) and as root run the command 'mount -a'. That will cause the system to try and mount everything in /etc/fstab.

dive 01-26-2008 07:27 PM

If you are using kde you can set it up so it should be automatically mounted and an icon placed on desktop. Have a look in control - desktop - behaviour - device icons

onebuck 01-26-2008 07:49 PM

Hi,

Quote:

Originally Posted by stunningman (Post 3036113)
i have installed slackware 12.0 after booting i was checking my dvd/cd rom
visible under system folder.when i clicked to open it,it says permission denied. when i am in root.but later i found that it is not mounted.can anybody tell me how to mount cd or dvd rom.so that i can use it.

Welcome to LQ!

Did you create a new user with the 'adduser' command? If not then I would. You will need to be logged in as root to use the 'adduser'. Be sure to add the user to the proper groups;

Code:

audio video cdrom plugdev
I would suggest that you also look at the sticky in the Slackware forum '12.0 and HAL - READ THIS!'. There's a lot of information in the thread, you will have to weed out the garbage.

As for your mount questions. Scroll down and see the similar threads listed. You could also search LQ, this has been covered numerous times.

andreas_skw 01-27-2008 08:30 AM

If you can't do in graphically way, try in command line way
(login as root)

root@computer name: mount /dev/cdrom or mount /dev/dvdrom.

If you want to know list of cdrom or dvdrom that hs been detected by your slackware, go to folder /dev/dvdrom or /dev/cdrom. Or you can get it from /media/dvdrom or /media/cdrom. Try that. Linux can detect what device that has been mounted. But i regret where it is/ Some how in /etc/blablabla. Anyone can help? From there, you can see where and what device has been mounted.

Hope this helpful.

bigrigdriver 01-27-2008 09:34 AM

All of the above assume two things:
a) you have a disk in the drive.
b) the disk contains a filesystem of some kind, such as an .iso image or data files.

If you don't have a mountable disk in the drive, there is nothing to mount.

If you cd/dvd is entertainment (music or video), such a disk does not get mounted. You just fire up your favorite media player, and play the disk.


All times are GMT -5. The time now is 06:23 PM.