LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-08-2005, 11:22 AM   #1
Br0eTcHeN
LQ Newbie
 
Registered: Nov 2004
Posts: 15

Rep: Reputation: 0
mount cdrom


hey
i have a problem with my cdrom:
Primary Master: HDA ( Maxtor HDD )
Primary Slave: none
Secondary Master: CD-Drive
Secondary Slave: DVD-Drive (CD/DVD Burner)

i installed from the CD-ROM on Secondary Master (hdc ?)
after installing i placed another cd into the CD-ROM, and was unable to access it, it seems it like it is not mounted.

i would like to mount my cd and dvd drive automaticly but i dont know how as i am unable to mount my cd drive with "mount -t iso9660 /dev/cdrom /mnt/cdrom"
so here is my fstab file:

/dev/hda2 swap swap defaults 0 0
/dev/hda1 / ext3 defaults 1 1
/dev/hda3 /home ext3 defaults 1 2
/dev/hda4 /tmp ext3 defaults 1 2
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

i googled but i dont get it what i have to do...

( btw sry for bad english )

mfg Br0eTcHeN
 
Old 12-08-2005, 11:46 AM   #2
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Hi,

You tryed to just...

Code:
mount /dev/cdrom
That should just mount it.

Besides that...what distribution are you using?

Last edited by anti.corp; 12-08-2005 at 11:52 AM.
 
Old 12-08-2005, 12:02 PM   #3
Br0eTcHeN
LQ Newbie
 
Registered: Nov 2004
Posts: 15

Original Poster
Rep: Reputation: 0
i tried "mount /dev/cdrom" and got this :
"mount: you must specify the filesystem type"

and i am using slackware 10.2
 
Old 12-08-2005, 12:12 PM   #4
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Hi,

Try typing:

Code:
ls -l /dev/cdrom
Then post the output here.
 
Old 12-08-2005, 12:15 PM   #5
Br0eTcHeN
LQ Newbie
 
Registered: Nov 2004
Posts: 15

Original Poster
Rep: Reputation: 0
lrwxrwxrwx 1 root root 8 2005-12-08 13:31 /dev/cdrom -> /dev/hdc
 
Old 12-08-2005, 12:19 PM   #6
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
sorry i forgot...

also post the output from typing

Code:
ls -l /dev/cdrom
Then:

Code:
id
 
Old 12-08-2005, 12:26 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Ok, seems that there are some basic mount understanding issues here, let me try to explain:

/dev/cdrom (as noted) is a symlink to /dev/hdc, your secondary master. That's great, your symlink is fine. You want to have this automatically mounted, you'll have to use something like autofs or supermount (though I am not sure supermount still exists, I think it was used on Mandrake a while back, but autofs is preferred??? ) or something along those lines. I personally am not a fan of automount, especially on Slack or something so straight forward as Slack is. I will do my commands myself instead.

So, to get to my point:
You need to either change your fstab entry for your cdrom from 'auto' in the filesystem column to 'iso9660' or you need to put that in by hand when typing it on the command line:
mount -t iso9660 /dev/cdrom /mnt/cdrom
If it's in fstab you can put it:
mount /mnt/cdrom
And it will use the iso9660 as specified in /etc/fstab

mount can guess with some discs, but since pretty much any CD you put in there (obviously not all, but it's much more common to have iso9660 on a CD) will have the iso filesystem, that's the best choice IMO to put in that space.

Good Luck!

Cool
 
Old 12-08-2005, 12:29 PM   #8
Br0eTcHeN
LQ Newbie
 
Registered: Nov 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Br0eTcHeN
lrwxrwxrwx 1 root root 8 2005-12-08 13:31 /dev/cdrom -> /dev/hdc
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy)
 
Old 12-08-2005, 12:35 PM   #9
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Quote:
Originally Posted by Br0eTcHeN
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy)

'EDIT'MAsterC was clearing it out very well...

You can also use

Code:
chmod 660 /dev/hdc
To change the permissions,

Then just add your user in the diskgroup /etc/group

Then logout/login

Last edited by anti.corp; 12-08-2005 at 12:41 PM.
 
  


Reply



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
CDROM refuses to mount, /dev/cdrom does not exist shane25119 Linux - Hardware 10 08-02-2009 10:43 PM
cannot mount cdrom or cd-rw gavinbeatty Slackware 7 09-08-2004 03:10 PM
CDROM won't mount... RedHatMasta Linux - Software 0 02-06-2004 05:33 PM
Can't mount cdrom?? jt1020 Linux - General 20 05-04-2003 05:06 AM
CDROM won't mount DarkSTech Linux - Hardware 3 03-03-2003 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:57 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration