LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-10-2006, 06:25 PM   #1
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Rep: Reputation: 15
mounting a cdrom drive


I tried to mount my cdrom drive, but I got a message saying that the cdrom type is not supported by my kernel. What am I doing wrong? What should I do?
 
Old 03-10-2006, 09:01 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 68
Can you post the results of 'lspci' and the exact error you receive?

It may come down to the dreaded (Insert ominous music clip here) KERNEL RECONFIG! (Dun dun dun).
 
Old 03-10-2006, 09:47 PM   #3
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Original Poster
Rep: Reputation: 15
The results of 'lspci' follow:

bash-2.05b# lspci
00:00.0 Host bridge: Intel Corp 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
00:1d.0 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #3 (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corp. 82801DB (ICH4) LPC Bridge (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801DB (ICH4) Ultra ATA 100 Storage Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801DB/DBM (ICH4) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB (ICH4) AC'97 Audio Controller (rev 02)
01:02.0 Communication controller: Conexant: Unknown device 2f20
01:08.0 Ethernet controller: Intel Corp. 82801BD Pro/100 VE (LOM) Ethernet Controller (rev 02)
#============================================End of Output

The following message is the error message I get when I try to mount the cd-rom drive:

bash-2.05b# mount /cd
mount: can't find /cd in /etc/fstab or /etc/mtab
#=================================================End of Output
 
Old 03-10-2006, 09:50 PM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 68
OK....I see

Try (as root or su)
Code:
mkdir /cd
mount /dev/hdc /cd #Change /dev/hdc to your cdrom device
# Am assuming /dev/hdc due to this being a laptop...
It seems you have no /cd directory on your HDD.

(Note: Don't type in the '#' comments. They are just there to help you.

Last edited by cwwilson721; 03-10-2006 at 09:53 PM.
 
Old 03-10-2006, 11:48 PM   #5
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
#mount /dev/cdrom
will also work. No need to specify the destination as its specified in /etc/fstab ( by default ).
It will mount on the default directory ( /mnt/cdrom )

regards
 
Old 03-10-2006, 11:49 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Also, what is the output from
Code:
cdrecord -scanbus
Lastly, do you have a data CD in the drive? Note that you can't mount an empty drive or an audio CD
 
Old 03-11-2006, 06:47 AM   #7
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
johnvillegas:
As 'ruudra' said, slackware by default puts an entry in /etc/fstab for your cdrom device, and creates a symlink to it named /dev/cdrom. Hence, typing the following command should mound the CD drive:
Code:
mount /dev/cdrom

Last edited by WindowBreaker; 03-11-2006 at 02:10 PM.
 
Old 03-12-2006, 04:43 AM   #8
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
bash-2.05b# mount /cd
mount: can't find /cd in /etc/fstab or /etc/mtab
there is no command like this
the command is "mount /mnt/cdrom "(hope u have a fstab entry pointing towards /mnt/cdrom)

edit the fstab like this for user to mount cd(supposing ur device is /dev/hdc-if u have a link like /dev/cdrom, then use that, instead of /dev/hdc)
/dev/hdc /mnt/cdrom auto noauto,user,ro 0 0

----comments----
or if he want to mount it to /cd, much problems ahead
as cwwilson said "mount /dev/hdc /cd" u wil get error emssage, u need to type file system type, the command is "mount -t iso9660 /dev/hdc /cd"(after creating dir)

if he want to use the command "mount /cd" edit the fstab
like
"/dev/cdrom /cd auto noauto,user,ro 0 0"
i think at this point, he dont need any "/" before cd tht is "mount cd" will work

if u want to try command by rudra "#mount /dev/cdrom" u must need a simlink in dev dir pointing to cdrom device (here we assigned as /dev/hdc)in general slack will create a link in default(for security reasons) and use tht in fstab. here we are directly calling the cd device, i hope best choise is mount to the mount point

but if u have 2 cd devices u haev to manually create link and edit the fstab entry, slack wont show the 2nd cd device

(hope u have a link /dev/cdrom exists, if u want to know the device try "ls -al /dev/cdrom", or check the out put of "dmesg |more" or "dmesg |grep CD")

Last edited by rkrishna; 03-12-2006 at 05:09 AM.
 
Old 03-12-2006, 10:59 AM   #9
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 68
Quote:
Originally Posted by rkrishna
as cwwilson said "mount /dev/hdc /cd" u wil get error emssage, u need to type file system type, the command is "mount -t iso9660 /dev/hdc /cd"(after creating dir)
You are right. I just got off of driving in my job for 16hrs...I was a little tired. Forgot to do the '-t iso9660' part. My biggist apologies
 
Old 03-12-2006, 10:36 PM   #10
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
Forgot to do the '-t iso9660' part
me too made many mistake when i post first reply(#8) "mixed both fstab entry and mount command" but i soon editted,(before someone pointing) this was too simple and we do this all the time (mounting ), and i took it for granted

evenif i am not 100%sure i wil post teh replys, thinkig others in this forum wil correct it
 
  


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
mounting a cdrom drive... gearoid Linux - Hardware 10 05-16-2004 03:04 PM
mounting a cdrom drive gearoid Linux - Laptop and Netbook 3 05-15-2004 08:12 AM
Problem mounting Cdrom drive (Slackware 9.1) chutsu Slackware 1 11-27-2003 04:12 AM
Mounting the CDRom drive for setup lorengd Slackware 14 09-18-2003 05:26 PM
mounting floppy and cdrom drive jcb_dreamvsat Linux - Newbie 8 06-22-2003 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:26 AM.

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