LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 01-26-2008, 05:30 PM   #1
stunningman
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
Exclamation 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.
 
Old 01-26-2008, 06:29 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,851

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
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.
 
Old 01-26-2008, 07:27 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
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
 
Old 01-26-2008, 07:49 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,289
Blog Entries: 3

Rep: Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446
Hi,

Quote:
Originally Posted by stunningman View Post
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.
 
Old 01-27-2008, 08:30 AM   #5
andreas_skw
Member
 
Registered: Jan 2008
Location: Indonesia, tanah air beta
Distribution: Knoppix v5
Posts: 97

Rep: Reputation: 15
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.
 
Old 01-27-2008, 09:34 AM   #6
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,784

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount as a device: mount dvd-iso file in /dev/dvd sadarax Linux - General 21 02-02-2011 11:59 PM
DVD (auto)mount problem, gnome-mount, hal, Fedora C 5 lazarion Linux - Hardware 5 01-10-2007 04:45 AM
mount:not a directory. Suse dvd mount problem tzanis Linux - General 8 11-06-2005 11:30 AM
DVD Mount Problem Chryzmo Linux - Hardware 5 09-28-2004 09:28 AM
mount dvd problem HmmLinux Linux - General 1 03-02-2004 08:39 PM


All times are GMT -5. The time now is 07:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration