LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 08-17-2003, 10:30 PM   #1
M4A1Carbine
LQ Newbie
 
Registered: Aug 2003
Location: Behind You
Distribution: Gentoo 2004.2
Posts: 13

Rep: Reputation: 0
Can't get CD Drive to read discs anymore


Literally 3 seconds ago I was browsing through files on one of my many CD's and got the files I wanted and took out the disc. I then put in another one and when I go to /mnt/cdrom and pwd , then ls nothing shows up.

I know these discs have info on them! I can access them in Windows. If anyone knows how to get my drive to read CD's please tell me!

The drive is a Mitsumi CR-4804TE. (Able to burn and read discs, just not now for some odd reason) I'm using Mandrake 9.0
 
Old 08-17-2003, 10:39 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Did you unmount and remount the drive between swapping disk?

Have you tried mounting them manually?
 
Old 08-17-2003, 10:40 PM   #3
M4A1Carbine
LQ Newbie
 
Registered: Aug 2003
Location: Behind You
Distribution: Gentoo 2004.2
Posts: 13

Original Poster
Rep: Reputation: 0
I Don't recall doing anything to them. If I Need to re-mount it manually, how would I do that? (I'm still a bit noobish at that) If it isn't mounted, why would /mnt/cdrom show up?
 
Old 08-17-2003, 10:46 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
/mnt/cdrom is just a directory on your HD.

When you mount a drive to it what your doing is making the CD apart of your filesystem so /mnt/cdrom points to the drive.

as for unmounting if your using Gnome or KDE it should be under the right click menu for the drive (If its an icon on your desktop).

Usually if you double click the icon on your desktop it gets mounted automatically by the GUI, but they don't usually unmount.

To do this manually get a console up and type:
umount /mnt/cdrom

To mount its:
mount /mnt/cdrom
 
Old 08-17-2003, 10:50 PM   #5
M4A1Carbine
LQ Newbie
 
Registered: Aug 2003
Location: Behind You
Distribution: Gentoo 2004.2
Posts: 13

Original Poster
Rep: Reputation: 0
THanks it worked..I guess my little malacious brother unmounted it.. still trying to figure out how he guess the root password =\
 
Old 08-17-2003, 10:55 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,157

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Mandrake installs supermount which lets you access removable media without using the mount / umount commands. Supermount does have its problems.

Did you exit the file browser or change to some other directory or close any app that was accessing the CD before removing it from the drive.
 
Old 08-17-2003, 10:56 PM   #7
M4A1Carbine
LQ Newbie
 
Registered: Aug 2003
Location: Behind You
Distribution: Gentoo 2004.2
Posts: 13

Original Poster
Rep: Reputation: 0
Actually I did michael..I guess I shouldn't have done that
Instead of spamming the boards with easily answerable questions I figured I'd ask in my already existant thread:

How do you run a .py file through the console?
 
Old 08-17-2003, 11:17 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,157

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
You will find that your /etc/fstab entry for the cdrom has the user option which allows non-root users to mount / umount the cdrom drive.

.py are python scripts. Assuming python is installed on your system and the script is an executable file. If you in the directory where the file is located.

./file.py
 
Old 08-17-2003, 11:18 PM   #9
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
./thefile.py

or python thefile.py

Depending on the file.
 
  


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
read/write to fat32 doesn't work anymore jnev Linux - General 10 09-11-2005 10:23 PM
my dvd player can't read DVD data discs HarryWong Linux - Laptop and Netbook 2 07-03-2005 08:35 PM
Help me read FAT32 drive StarSage Linux - Newbie 3 12-12-2004 09:19 PM
EZ-Drive Hard Drive -- Cannot Read Contents redhatman Linux - Newbie 3 09-02-2004 07:37 PM
ooopsss,- Can't access my cd.drive and burner anymore... the_c Linux - General 4 06-04-2002 03:53 PM


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