LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-17-2003, 08:31 AM   #1
Alfastation
LQ Newbie
 
Registered: Oct 2003
Location: Belgium
Posts: 7

Rep: Reputation: 0
How to play files from cdrom (Xbox/Debian)?


First off, i'm a complete Newbee (first day on Linux...!)

Aim : to play DivX off my Xbox using MPlayer.
(Note: i'm NOT using a mod-chip, but using the software-trick / Mechassault)

I succesfully installed Debian 041 on my Xbox (with Samsung-drive) after converting one of the joystick-ports to a USB-port and applying the Mech-trick using a USB-memory stick

Problem: I can't seem to locate/open ANY files from the DVDRom-drive in Linux.
I'm not even sure where to start looking for them.
I suppose i need to go to /DEV/CDROMS, but there's nothing there; no files, no directories!
Yet, when i select "play DVD" or "play VCD" in Mplayer (with respectively a DVD or VCD standard CD in the drive) Mplayer plays them just fine.

It must be something very easy/stupid i'm overlooking but as i said, this is my first day on Linux!!
 
Old 10-17-2003, 10:14 AM   #2
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
Did you mount the cdrom?

as root:

mount /dev/cdrom /mnt/cdrom

slight
 
Old 10-17-2003, 10:28 AM   #3
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
To read files off of a cdrom or dvd, you have to have the drive mounted. GNU/Linux does not automatically mount the cdrom or dvd when it is inserted into the drive.

The debian install may have added the drive to the /etc/fstab file during the install process. At a console type 'cat /etc/fstab' (without the quotes), and look for an entry that says something like "/mnt/cdrom" or "/mnt/dvd." If there is an entry there like that, then, as root, try typing 'mount /mnt/cdrom' or 'mount /mnt/dvd' If this works, then typing the command 'ls /mnt/cdrom' or 'ls /mnt/dvd' should list the contents of the medium. Once the drive is mounted, you should be able to play the files on it. (This won't work with commercial DVDs.)

If you are using one of the desktop environments, there may even be an icon for the drive on your desktop. If there is, just clicking (or double-clicking) on the icon may mount the drive.

If that doesn't work, and there is no entry in the /etc/fstab file for either a cdrom drive or a dvd drive, then you will have to figure out which device controls your drive.

On an E-IDE system, the first drive on the first controller is controlled by /dev/hda; the second drive on that controller is controlled by /dev/hdb. On the second controller, the first drive is controlled by /dev/hdc; the second drive is controlled by /dev/hdd. (Individual partitions are identified by numbers. So, the first partition on the first drive would be controlled by /dev/hda1; the fifth partition on the second drive on the second controller is controlled by /dev/hdd5. You don't need to identify the partition on a cdrom though.)

Perform these steps in order:
1. Determine what device file controls your drive. We will use /dev/hdc as the example.
2. Make a directory to mount the drive to. Type the command 'mkdir /mnt/cdrom'
3. As root, type the command 'mount -t auto /dev/hdc /mnt/cdrom'
4. Type the command 'ls /mnt/cdrom' You should see the contents of the cdrom displayed.

If this doesn't work, post again with whatever error messages you got or with a description of what happened.

HTH.
 
Old 10-18-2003, 08:44 AM   #4
Alfastation
LQ Newbie
 
Registered: Oct 2003
Location: Belgium
Posts: 7

Original Poster
Rep: Reputation: 0
Got it!!
I just turned my XBOX into a DivX standalone player!!

First wasn't able to mount the cdrom.
So i followed hussar's instructions:

"2. Make a directory to mount the drive to. Type the command 'mkdir /mnt/cdrom'
3. As root, type the command 'mount -t auto /dev/hdc /mnt/cdrom'"

Since i didn't know how to determine which device controlls the cdrom but knowing there's only 1hdd and 1dvddrive in the Xbox i used <hdb> for mounting the cdrom instead of <hdc> and that worked.

Now, is there some way of having Linux automaticaly mounting the cdrom each time you insert a new cd?

Also, where do i tell Linux/Debian i'm using an AZERTY keyboard?
It's hard enough reading text off a TV-screen, let alone having to correct it all the time

Thanks for the help so-far.
 
  


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
Kaffeine, won't play a DVD but will play individual VOB files? GameGuru Linux - Newbie 12 07-08-2005 12:33 AM
Want to install a TV card for Xbox play in linux\avoid compatability issues Blackhawkckc Linux - Hardware 3 12-27-2004 02:24 AM
Debian Sarge, Can't See files on cd or play music cd rjcmi Linux - Newbie 2 09-30-2004 11:25 AM
XBox Debian and Logitech wireless USB mouse problems gimphboi Linux - Hardware 4 04-15-2004 09:15 AM
anybody play on xbox live? Brain Drop General 18 12-11-2003 09:04 AM

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

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