LinuxQuestions.org
Register a domain and help support LQ
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 09-16-2009, 11:11 PM   #1
huntercc
LQ Newbie
 
Registered: Sep 2009
Posts: 8

Rep: Reputation: 0
How to read audio CD image?


I'm running Ubuntu 9.04 and have a few custom audio cd images saved in *.nrg format. These images were created on WinXP, and I am able to mount them via Alcohol 120% in Windows, and play the music as if it were a real music cd. I try to do the same in linux, but can not seem to get the system to recognize these files. Even a quick google search has yielded no useful results.

I find it hard to believe this is not possible in linux... can anybody help me out??
 
Old 09-16-2009, 11:13 PM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
nrg2iso or sometimes I do this for nrg files and they work as iso:

Code:
mount -t iso9660 -o loop /path/to/image /mnt
 
Old 09-17-2009, 07:24 AM   #3
huntercc
LQ Newbie
 
Registered: Sep 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks, that works great for data cd images.

However, when I try that with an audio cd image it gives me an error about the filesystem.
 
Old 09-17-2009, 08:43 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Use this tool:

http://linux.softpedia.com/get/Deskt...age-2216.shtml
 
Old 09-17-2009, 10:08 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Audio cds do not have an iso9660 file system.

You could use cdemu to load the cd into a virtual drive, kind of like daemon tools. Then play the virtual cdaudio in mplayer or whatever player you use, or open it in konqueror and see it in a virtual-fs fashion, just like a regular audio cd.
 
Old 09-17-2009, 10:22 PM   #6
huntercc
LQ Newbie
 
Registered: Sep 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for all the replies. I've been trying to install cdemu and gcdemu by following the directions on this webpage: https://launchpad.net/~cdemu/+archive/ppa

However, it tells me the package "scrollkeeper" needs to be removed. How do I know if I need this package or not? Is this even the best way to go about installing cdemu?
 
Old 09-19-2009, 02:28 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Use apt or synaptic to remove the packages you want to.
 
Old 09-19-2009, 02:32 PM   #8
huntercc
LQ Newbie
 
Registered: Sep 2009
Posts: 8

Original Poster
Rep: Reputation: 0
I'm definitely struggling to get this installed.

First problem is getting vhba-dkms to install using aptitude. I get the following error:

Code:
Selecting previously deselected package vhba-dkms.
(Reading database ... 111920 files and directories currently installed.)
Unpacking vhba-dkms (from .../vhba-dkms_1.2.1-0ubuntu4_all.deb) ...
Setting up vhba-dkms (1.2.1-0ubuntu4) ...

Creating symlink /var/lib/dkms/vhba/1.2.1/source ->
                 /usr/src/vhba-1.2.1

DKMS: add Completed.

Error! Your kernel source for kernel 2.6.27-14-server cannot be found at
/lib/modules/2.6.27-14-server/build or /lib/modules/2.6.27-14-server/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
ERROR: Failed to dkms build module
dpkg: error processing vhba-dkms (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 vhba-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any suggestions? As far as I can tell I have the latest headers.
 
Old 09-20-2009, 09:04 AM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
You will need to install the kernel sources, they need to match your *exact* kernel version, it's in that error message but you can also see it with uname -r
 
  


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
How to read jpg image in C waqasdaar Programming 8 03-01-2009 12:36 PM
How to read the audio CD IMAGE created by ``cdrdao" ? lawrence_lee_lee Linux - Software 6 08-11-2008 03:36 AM
A Image File Cannot Read! timothy711 Linux - Software 4 11-21-2007 02:15 AM
NOt able to read the ISO image on the CD linuxqa Linux - Software 2 03-28-2006 03:34 PM
image file for audio cd trutnev Linux - Software 2 12-09-2003 02:31 AM


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