LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-05-2002, 11:18 PM   #1
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Rep: Reputation: 30
Cdrom questions


I just installed a cdrom I got it recognized and all that its now device hdc. In the fstab file this is what I have

/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb6 /home ext3 defaults 1 2
/mnt/cdrom /mnt/cdrom supermount
dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/hda5 /mnt/win_d vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/hda6 /mnt/win_e vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdb5 swap swap defaults 0 0
/dev/hdc /mnt/cdrom iso9660 noauto,owner,ro o o


The last line is the one I have added. this is the error that I get

mount can't find /mnt/hdc in etc/fstab or etc/mtab

I have tried quite a few variations but no luck help is appreciated.

Gonus

--edit--
I messed up bad it looks like. Now every cd I put in gets ejected. even after I remove the line I put in help is so appreciated. Thanx

Gonus

--end edit--

Last edited by gonus; 10-05-2002 at 11:50 PM.
 
Old 10-06-2002, 04:42 AM   #2
mrGee
Member
 
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344

Rep: Reputation: 30
Hi
do a dmesg|grep -i cd
how many cdrom's do you actually have?
like a see in your fstab you have a cdrom and a writer ?
do ls -l /dev/hdc ,i guess it 'll say it is not there
you haven't put hdc=ide-scsi on your normal cdrom drive
by any chance ?
If yes then it is set to /dev/scdX ; do a ls -l
on /dev/scd0 or /dev/scd1
And you can alway bypass your settings in your fstab,
mounting the cdrom by hand.
like mount -t iso9660 /dev/hdc /mnt/cdrom , just check
if /dev/hdc is the right one to use and if /mnt/cdrom exists and
is the right mountpoint. My burner for inst. was /dev/hdd is
now after scsi-emu /dev/scd0 and gets mounted at /mnt/cdrom2 in mandrake
regards
 
Old 10-06-2002, 05:09 AM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
"mount can't find /mnt/hdc in etc/fstab or etc/mtab"
This makes me think that maybe you are typing mount /mnt/hdc instad of mount /mnt/cdrom.
Else, grep dmesg to see what /dev/hdX is you cdrom in, then mount -t iso9660 /dev/hdX /mnt to check if the cdrom works.
Sorry i couldn't help much, but the cdroms usually work (out of the box), the only problem i had was with some old cdrom that would freeze the whole system while they are attempting to mount, i just bought a new cdrom, figured it was because of the lens on the cdrom was damaged.
-NSKL
 
Old 10-06-2002, 08:37 AM   #4
jetblackz
Member
 
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
Don't ever try to mount blank/audio CD's or I'll beat you up with a stick - Linus

Should

/mnt/cdrom /mnt/cdrom supermount

be

/dev/cdrom /mnt/cdrom supermount

?
 
Old 10-06-2002, 08:55 AM   #5
mrGee
Member
 
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344

Rep: Reputation: 30
Hi
my cdrom entries in mdk 8.2 /etc/fstab;
/mnt/cdrom /mnt/cdrom supermount dev=/dev/hdc,fs=iso9660,ro,--,iocharset=iso8859
-15 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8
859-15 0 0
redhat uses /dev/cdrom /mnt/cdrom iso9660 etc etc
it's a matter of how different distro's handle this
regards
 
Old 10-06-2002, 10:21 AM   #6
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
Thanx for all the replies. My cdrom device is hdc. I have aburner that is hdd. the mount -t iss09660 did let me see a cd in my cdrom but then I couls not mount my burner. I have not set ide=scsi thats only done for my burner. after I umount I can't see anythign in my burner (when a cd is in). How do I set this up so that I can still mount my burner and new cdrom

thanx for the help
 
Old 10-06-2002, 11:06 AM   #7
mrGee
Member
 
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344

Rep: Reputation: 30
ah now some things make more sense and i overlooked some
lines in your fstab
your burner was first right ? then the entry in your fstab
is using /mnt/cdrom for that as mount point.
Your newly added cdrom shows up as hdc, so
first make a directory in /mnt/cdrom1 or cdrom2 like
mkdir /mnt/cdrom2
get rid of your last fstab entry.
add in your /etc/fstab ;
/mnt/cdrom /mnt/cdrom2 supermount dev=/dev/hdc,fs=iso9660,ro,--,iocharset=iso8859
-15 0 0
see if that works cause you are now mounting two drives at the
same mount point.
good luck
 
Old 10-06-2002, 12:13 PM   #8
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
I got it. I went and reloaded, then I checked the fstab and u are right mrGee, the 2 showed up in there. Thanx for all the help I learned soemthing.


Gonus
 
  


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
Executable File from CDROM using Wine Questions? rohit-sk Linux - General 18 07-28-2005 12:14 PM
How to mount cdrom? And another questions hemmelig Linux - Software 5 12-15-2004 03:50 AM
Questions with mounting cdrom Kedo Linux - Newbie 9 10-16-2004 08:24 PM
Linux Newbie --several questions- sound, cdrom, Lan speed, etc. ChaosReigns Linux - Newbie 13 09-06-2004 07:45 PM
2 questions about external cdrom drive for compaq armada 1130T w/o mjewell Linux - Laptop and Netbook 0 01-19-2004 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:30 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