You are not logged in.

#1 2008-03-08 21:17:04

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Playing CDs

Hi

I feel kind of silly asking this, but when you put a CD into your drive, where does it show up in your filesystem? Do you need to mount it? (If so, how?). On a related note, how can I check that my optical drive is configured properly and Arch is detecting it?

Thanks so much!

Offline

#2 2008-03-08 21:35:57

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: Playing CDs

if u not using automatically mounting services u should do some like this

mount /dev/cdrom

but franky speaking u better look up here http://wiki.archlinux.org/index.php/Beginners_Guide#HAL


No cause is lost if there is but one fool left to fight for it.

Offline

#3 2008-03-08 21:43:47

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Playing CDs

You can't mount audio cds -- but you can still play them using appropriate applications.  For vlc you can choose the "open disc" option (or something like that), with mplayer I think the syntax is something like "mplayer cdda://" -- although you might add a cache parameter to stop the audio from skipping, so something like  "mplayer -cache 2000 cdda://" might be better.

Last edited by fwojciec (2008-03-08 21:44:20)

Offline

#4 2008-03-08 21:47:06

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 430

Re: Playing CDs

what fwojceic said.

For normal cds though, depending on your desktop manager, you might want to look at autofs, which is what I use (too lazy to automatically mount things) info in the wiki.

Offline

#5 2008-03-08 21:49:33

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Playing CDs

Oh, why thank you all. smile

Offline

#6 2008-03-08 22:02:56

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: Playing CDs

fwojciec wrote:

You can't mount audio cds -- but you can still play them using appropriate applications.  For vlc you can choose the "open disc" option (or something like that), with mplayer I think the syntax is something like "mplayer cdda://" -- although you might add a cache parameter to stop the audio from skipping, so something like  "mplayer -cache 2000 cdda://" might be better.

smile just forgot bout audio-cd smile sorry. i think u can mount cds with some video or other stuff, some kind of enhanced cds

yes! u can't mount pure audio-cds

Last edited by sevenfourk (2008-03-08 22:04:41)


No cause is lost if there is but one fool left to fight for it.

Offline

#7 2008-03-08 22:17:37

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Playing CDs

Hmm... well I am trying to play/burn cds and dvds in arch because my optical drive doesn't seem to be working in windows xp. I am trying arch to make sure it is the software and not the hardware (if it doesn't work here, I'll have to buy a new one). So on top of the fact that my drive might be broken, I have no idea how to play these things. Using 'open disc' in VLC didn't work. I'll try mplayer, but I've got that feeling that its time for a replacement.

Also, when I try to 'mount /dev/cdrom' I get

[root@myhost /]# mount /dev/cdrom
mount: unknown filesystem type 'iso9660'

What is the problem?

Offline

#8 2008-03-08 22:24:33

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: Playing CDs

try to mount data disk, if ok your drive is okay.

[root@myhost /]# mount /dev/cdrom
mount: unknown filesystem type 'iso9660'

if u mount audio-cd i think its normal when this shown.


No cause is lost if there is but one fool left to fight for it.

Offline

#9 2008-03-08 22:26:48

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Playing CDs

Sorry, what is the syntax for mounting data disk?

Offline

#10 2008-03-08 22:58:40

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: Playing CDs

as i mistaken for the first my post, and wrote

mount /dev/cdrom

so i believe this is syntax for data.


No cause is lost if there is but one fool left to fight for it.

Offline

#11 2008-03-08 23:17:30

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: Playing CDs

What DE are you using Xs1t0ry? And further, do you use HAL for removable devices? If using HAL have you removed the cd and dvd lines from fstab?

I use XFCE and have set BMP to auto-play CDs. In preferences I had to define the two lines for device as this:
/dev/sr0
/mnt/cdrom

Audacious has an option to load CDs without any special settings, but it's slow in my opinion. VLC as mentioned should work, and when selecting whatever CD or DVD media you have it shows in my environment the same device as above: /dev/sr0.

Offline

#12 2008-03-08 23:17:38

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Playing CDs

[root@myhost /]# mount /dev/disk
mount: can't find /dev/disk in /etc/fstab or /etc/mtab

Darn. Does this mean my drive is bunked?

Offline

#13 2008-03-08 23:34:25

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: Playing CDs

i see u doing all work with root. why ?
add your user to group 'optical' and use mounting for your user

u can mount like this

mount /mnt/cdrom

if the necessary things are written in /etc/mtab and /etc/fstab.
why u mounting ?

mount /dev/disk

No cause is lost if there is but one fool left to fight for it.

Offline

#14 2008-03-08 23:40:31

elgatofelix
Member
From: Chile
Registered: 2007-07-03
Posts: 137

Re: Playing CDs

Forget about HAL and automatic friends for now, just check that /etc/fstab has this 2 lines:

/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0

then to mount the cd type: mount /dev/cdrom (or /dev/dvd if it is a dvd),
if succesful it shows in /mnt/cdrom/ (or /mnt/dvd if dvd) path.

If u have problems read the man page of mount, type: man mount


Are u listening?

Offline

#15 2008-03-08 23:52:20

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Playing CDs

Yes /etc/fstab has those two lines, but /etc/fstab.pacnew does not (is that a problem?). When I try to mount it, I get this:

[root@myhost /]# mount /dev/cdrom
mount: unknown filesystem type 'iso9660'

hmm

Offline

#16 2008-03-08 23:57:30

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Playing CDs

The latest "official" version of Arch fstab uses this:

/dev/cdrom /media/cd   auto        ro,user,noauto,unhide   0       0
/dev/dvd /media/dvd    auto        ro,user,noauto,unhide   0       0

Offline

#17 2008-03-09 00:00:51

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Playing CDs

That's what is in/etc/fstab.pacnew. Should I copy that into fstab?

Offline

#18 2008-03-09 00:15:46

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Playing CDs

The short answer is yes; and here is some more general info about the pacnew files: http://wiki.archlinux.org/index.php/Pacnew

Offline

#19 2008-03-09 01:17:46

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Playing CDs

elgatofelix wrote:
/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0

So do I copy over this?

Offline

#20 2008-03-09 21:07:45

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: Playing CDs

you can, although it isn't hugely important.
Also, there is another option you may want to use with mount: -t
the syntax is

-t <filesystem type>

e.g.

mount -t iso9660 /dev/cdrom /mnt/cdrom

Last edited by alex_anthony (2008-03-09 21:08:12)

Offline

#21 2010-11-29 19:52:25

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

Re: Playing CDs

Sorry for necroposting, but I've just faced nearly the same problem. I couldn't mount plain data cd due to «unknown filesystem type 'iso9660'» error.

I couldn't found solution on google, but found a hint, that problem may be connected with kernel.

Recently I updated kernel and didn't reboot my pc. So I decided to reboot, and problem disappeared after this.

P.S. as arch forum was in top 10 in google on that query, I decided to post solution here to save some time, if anyone else faces this problem.

Offline

#22 2011-02-06 10:40:17

nickwe
Member
Registered: 2007-07-12
Posts: 9

Re: Playing CDs

eDio wrote:

Recently I updated kernel and didn't reboot my pc. So I decided to reboot, and problem disappeared after this.

P.S. as arch forum was in top 10 in google on that query, I decided to post solution here to save some time, if anyone else faces this problem.

In fact it helps, thanks!

After kernel upgrade, you need to reboot!

Offline

Board footer

Powered by FluxBB