LinuxQuestions.org
Help answer threads with 0 replies.
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 08-27-2003, 07:30 PM   #1
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Rep: Reputation: 15
Cool CD drive ??


Ok, I know how to unmount and mount a floppy drive and that you can view the contents of the floppy in /mnt/floppy and it is located at /dev/fd0, however, where is the CD drive ? how do you mount and unmount it ? Also, I have some XVID and DIVX and AVI format movies but I do not konw how to view these in linux , I have no idea what program to use of if this kind of playback comes incorporated into linux ? If anyone could recommend a program for these things and where to get it and how to install it that would be great as I am very new to linux : )
 
Old 08-27-2003, 07:46 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
For the CD-ROM, you can look in the /etc/fstab file for the correct device name.

Most distribution have it set to /dev/cdrom (a soft link to the actual device).
Use the mount and umount commands like you would with the floppy.
Code:
mount /dev/cdrom /mnt/cdrom
As for the movie player, you can use MPlayer.
It may be part of your distribution, check your CDs.

MPlayer
http://www.mplayerhq.hu/
 
Old 08-27-2003, 07:58 PM   #3
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
Wink

Ok, I found http://www.mplayerhq.hu/homepage/design6/dload.html, however I do not know which one to download from there, I have slackware 9.0, do I download the source ? what is source ? does it need to be compiled ? how do i compile and install this program ? ty. Also when I put in my cd rom drive module for my laptop and changed to /mnt/cdrom and I did a ls and a ls-a and saw nothing. Does this have to do with slackware not having built in avi /divx support or ?? Does slackware ? I am confused, I did the full 2.0gb installation of slackware 9.0. Also when I tried to umount and mount /dev/cdrom it said it was a invalid block device, could that possibly be the reason behind not seeing anything in /mnt/cdrom ? I am very confused : ) How can I check if I have built in support ? If I do indeed have built in support how do I play these avi and divx : ) Thankyou !
 
Old 08-27-2003, 08:18 PM   #4
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
here's a good website for compiling things from source.

http://www.linuxgazette.com/issue49/lamb.html

note that with slackware 9 you can also install using RPM (red hat's install tool) which is simpler, but in the long run you'll be far better off doing it from source.
 
Old 08-27-2003, 08:22 PM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
What type of CD-ROM do you have ? (IDE or SCSI)

If it is an IDE, use the following table:
/dev/hda => primary master
/dev/hdb => primary slave
/dev/hdc => secondary master
/dev/hdd => secondary slave

If it is a SCSI, use the following:
/dev/scd0
/dev/scd1
etc...
 
Old 08-27-2003, 08:39 PM   #6
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
I don't know, how do I find out which one I have ?
 
Old 08-27-2003, 08:45 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I'd have to say that "if you don't know" it's a thousand to 1 odds it's IDE. However, you could look at your computer specs, you can look at your motherboard, and you can even check out something like dmesg to find out.



Cool
 
Old 08-27-2003, 09:41 PM   #8
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Yes, take a look at dmesg.
At the command line, type: dmesg

Or do a more precise search with:
Code:
dmesg | grep -i rom
 
Old 08-27-2003, 09:58 PM   #9
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
What exactly does grep do ?
 
Old 08-27-2003, 10:07 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,734

Rep: Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596Reputation: 5596
man grep?
 
  


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
Laptop DVD drive has died, will linux boot from an external drive? Stevetgn Linux - Newbie 2 05-14-2005 05:18 PM
Installing SuSE on an external FireWire drive: YaST can't edit partitions on drive kivimaki Linux - Distributions 2 09-13-2004 08:52 PM
boot from floppy drive then insall linux redhat9 from HARD DRIVE Shiraz Ahmed Linux - Software 0 08-23-2004 05:11 AM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 06:23 PM
Cannot Copy Files From Network FAT32/NTFS Drive to My Local Linux Drive michaelh Linux - Networking 3 10-29-2002 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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