LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-10-2001, 12:31 AM   #1
paulisdead
LQ Newbie
 
Registered: Apr 2001
Location: Seattle, WA
Posts: 16

Rep: Reputation: 0

This has been driving me insane for the last 24 hours, and I've seen the question asked in other

forums but with no answers that worked for me

I recently setup a dual boot with win2k and mandrake 7.2, I am very new to linux.

When I try to access my CDrom (HP 9100i CD-r IDE) or floppy it tells me i don't have access to /mnt/cdrom

(or floppy), even when logged on as root.

when i try using mount "/dev/cdrom /mnt/cdrom", it just hangs

when using "cd /mnt/cdrom" i get:

"bash: cd: /mnt/cdrom: Input/output error"



When i use the konqueror file browser it shows

both the CDrom and floppy as locked



My Fstab file is as follows



/dev/hda7 / ext2 defaults 1 1

none /dev/pts devpts mode=0620 0 0

/mnt/cdrom /mnt/cdrom supermount exec,dev,suid,rw,fs=iso9660 0 0

/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0

none /proc proc defaults 0 0

/dev/hda8 swap swap defaults 0 0



I've tried modifying the fstab cdrom (i was just guessing when i did this) line

to "/mnt/cdrom /mnt/cdrom supermount user,exec,dev,suid,rw,fs=iso9660 0 0"

I still recieved the same error messages so i restored my original fstab.

Hard Drake tells me that I have 2 CD-Roms, one is /dev/scd0 and the other is /dev/hdc

I know the drives are working because they worked when i installed mandrake

and they work under win2k. Please help me get access to the CDrom/floppy drives.



Just for fun i decided to try mandrake on another computer with a generic 48X ATAPI CD-rom

as the sole OS on it and am having the same problem there too



Please help me.
Jesse Lee
paulisdead@leefamilies.com
 
Old 04-10-2001, 01:20 PM   #2
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
Sounds like a provlem with the supermount, which is what Mandrake defaults to. I use this option with Mandrake 7.2 and have had probs in the past but will look in my /etc/fstab to check your floppy and CD lines. They don't look right because your trying to mount /mnt/cdrom which is not a device file. Is this right?

Do you have two cd drives? You could try replacing the first /mnt/cdrom in the file with whatever the file is for your cdrom (either /dev/hdc or /dev/scd0) and see what happens. You will also want to change the first /mnt/floppy to /dev/fd0 or /dev/floppy but I will check my file and compare (I'm in windoze at the mo).

I definately think that it is to do with the supermount but cannot be sure.
 
Old 04-10-2001, 03:32 PM   #3
paulisdead
LQ Newbie
 
Registered: Apr 2001
Location: Seattle, WA
Posts: 16

Original Poster
Rep: Reputation: 0
Talking Still unable to get access to CDrom/Floppy

I tried changing the first /mnt/cdrom in my Fstab to /dev/hdc and /dev/scd0, rebooting after each change of course. I also changed The first /mnt/floppy to /dev/fd0 and /dev/floppy. It still is telling me i don't have acess rights to my CDrom/floppy. By the way i do only have 1 IDE CDrom on this computer and no SCSI drives, but i did hear something about mandrake setting idle CDroms as SCSI, Is that why It's showing a 2nd Cdrom in hard drake?





Thanx for helping me out, I'm going insane trying to figure out why it would do this on 2 different computers.
 
Old 04-10-2001, 03:56 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
What happens when you try to change the supermount in the fstab to just auto or defaults?
 
Old 04-10-2001, 04:49 PM   #5
paulisdead
LQ Newbie
 
Registered: Apr 2001
Location: Seattle, WA
Posts: 16

Original Poster
Rep: Reputation: 0
OK, I think I might be getting somewhere.



made a booboo the first time i posted this so here's the correct posting.
When i tried changing supermount to auto it tells me that fd0 isn't a block device when it boots up, and when i change the supermount for the CDrom to auto it hangs on reboot after checking file system (which for some reason always took like 2 minutes for that step to complete). When i changed supermount to defaults i don't get any error messages on bootup, and the Cdrom is unlocked, however it shows the directory /mnt/cdrom to be empty. Same for the floppy.

[Edited by paulisdead on 04-10-2001 at 05:18 PM]
 
Old 04-11-2001, 08:53 AM   #6
paulisdead
LQ Newbie
 
Registered: Apr 2001
Location: Seattle, WA
Posts: 16

Original Poster
Rep: Reputation: 0
OK, got a bit more info by intently watching the screen during bootup. When it tries to mount the floppy and cdrom drives with supermount changed to default it says the file system defaults isn't supported by the kernel, so i don't think it should be defaults.

I'm getting damn close to buying mandrake just so i can call them up and figure out what is going on here.

If anyone out there has any suggestions or ideas PLEASE HELP
 
Old 04-11-2001, 02:31 PM   #7
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
Just though I would let you know that to use supermount then you need to keep the first /mnt/cdrom as it is contrary to what I said.

BTW, can you replace the lines for the floppy and put a floppy into the drive and then see if you can access it. It will stay locked if you don't have a floppy on there.

You cant mount the cd drive if automount is on, so you would have recieved an error in your first post.

Also, my /etc/fstab file was different for the cdrom line. I had this at the end:

fs=iso9660,dev=/dev/cdrom 0 0

otherwise my floppy line was exactly the same. Try changing the cdrom line, if it still doesn't work then you may need to change the link from /dev/cdrom to the file for your cd drive (such as /dev/hdc).
 
Old 04-11-2001, 03:37 PM   #8
paulisdead
LQ Newbie
 
Registered: Apr 2001
Location: Seattle, WA
Posts: 16

Original Poster
Rep: Reputation: 0
Wow, my CDrom works...sort of

(Thank you Cragstar)
I made the modifications you
had in your fstab file, Cragstar. And now with a little work i can get into the CD rom
When i try to open either the /mnt directory or access one of the Cdrom links i made on the desktop it hangs and i generally have to use Xkill to stop it or log out. After using Xkill and logging in and out a couple times, it actually lets me into my CDrom. However, even when I try changing my floppy line from
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
to
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/floppy 0 0
I am still locked out of my floppy.

Any Ideas as to why it hangs when trying to go into /mnt/ or the CDrom or how to get into my floppy.

 
Old 04-11-2001, 05:27 PM   #9
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
Keep the floppy line to /dev/fd0 and then put a disk in and try to access it through Konquerer or another window manager. You will still see it locked until you click on it and try to access the contents, although when you load the /mnt page you should hear the floppy drive being accessed and then it should allow you look at the contents (only if you have a disk in there!).

This could be why it hangs?? Not sure.


 
  


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
Access rights? BC Linux - Newbie 6 11-18-2015 11:27 AM
no access to devices with group access rights flipper333 Debian 2 12-28-2004 10:25 AM
How can I give rights for using Floppy Drive to other users? dineshjk Linux - Newbie 2 05-07-2004 04:58 AM
Cannot access cdrom and floppy drives navarre9 Linux - General 2 01-12-2004 12:58 PM
Access rights sore Linux - Newbie 6 01-02-2003 11:31 AM


All times are GMT -5. The time now is 10:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration