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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-05-2002, 11:18 PM
|
#1
|
Member
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445
Rep:
|
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.
|
|
|
10-06-2002, 04:42 AM
|
#2
|
Member
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344
Rep:
|
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
|
|
|
10-06-2002, 05:09 AM
|
#3
|
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
|
"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
|
|
|
10-06-2002, 08:37 AM
|
#4
|
Member
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711
Rep:
|
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
?
|
|
|
10-06-2002, 08:55 AM
|
#5
|
Member
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344
Rep:
|
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
|
|
|
10-06-2002, 10:21 AM
|
#6
|
Member
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445
Original Poster
Rep:
|
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
|
|
|
10-06-2002, 11:06 AM
|
#7
|
Member
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344
Rep:
|
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
|
|
|
10-06-2002, 12:13 PM
|
#8
|
Member
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|