Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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.
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.
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.
Last edited by bigrigdriver; 01-27-2008 at 09:35 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.