sources/tech/20210625 Mount cue-bin image files with CDemu.md
4.6 KiB
Mount cue/bin image files with CDemu
Photo by Cameron Bunney on Unsplash
The other day I needed to burn a disc. Yeah, I know, some of you might be wondering, “A disc? What’s that?” Others might ask, “Are you really using that archaic media?”
Well, yes I am. I feel there is still something charming about physical things that digital media cannot replace.
I needed to burn a very old game that was comprised of a cue file, some audio tracks in cda format, and a bin file which stored all the binary content that was indexed by the cue file.
First I tried to use Brasero. Yeah I know, it’s old but it does the job generally and it fits with the rest of the system, so it’s my choice generally. Unfortunately, this time it was not up to the task. It stated that it had some problems reading the cue file. Then I tried Xfburn and K3b. But neither of those worked either. They both detected the bin file but not the cda files.
Next, I searched on the web and I found lots of posts explaining how to burn image files using command line applications. Or how to create iso images and then write those out to discs. These methods seemed excessively complex for what I wanted to do. Why all that difficulty for a task that should be easy as clicking on a button? Fedora Linux should be about freedom, not about difficulties! Although it can be used by experts, an easy way of doing things is always appreciated.
I had almost surrendered. Then, in a forum post buried under all the suggestions mentioned previously, I found the answer I was looking for – CDemu.
Those familiar with Daemon Tools may find CDemu to be similar. I find CDemu to be even easier and far less bloated. With CDemu, you can mount cue images with the classic double-click. Sounds easy? Well that’s because it actually is.
CDemu is not present in Fedora Linux’s default repositories. So if you want to try it out, you will have to use the rok/cdemu Copr repository that is compatible with your version of Fedora Linux.
Note: Copr is not officially supported by Fedora infrastructure. Use packages at your own risk.
Open a terminal and enable the Copr repo by entering the following command.
$ sudo dnf copr enable rok/cdemu
Then install the daemon and the clients by entering the following commands.
$ sudo dnf install cdemu-daemon
$ sudo dnf install cdemu-client
$ sudo dnf install gcdemu
Next, enter the following commands to ensure the right kernel module is available and loaded.
$ sudo akmods
$ sudo systemctl restart systemd-modules-load.service
Now CDemu is installed. To associate it with your CD images, you just need to right-click on a file type that you want to mount with CDemu, select properties, and the select Open with CDemu. Now, double-clicking on those image types should mount them in Nautilus like a physical drive.
If you need to burn the image (like I did), open Brasero and select copy disc.
CDemu can also be run from the command line. But this guide was all about getting easy, right?
via: https://fedoramagazine.org/mount-cue-bin-image-files-with-cdemu/
作者:Luca Rastelli 选题:lujun9972 译者:译者ID 校对:校对者ID