I’m having an issue trying to burn a music CD for use in my (very old, I know I know) car. I’m running FedoraKDE (40) and Brasero, a Liteon brand external optical DVDRW drive, CD-R (TDK brand), and a Framework 16.

The issue I’m having seems to be that the blank disks(maybe?) aren’t recognized automatically by Fedora, when I pop a full commercially released CD in it’ll play/rip, but with a blank disk nothing happens, and I don’t know where to “save” the “image” of this album I’m creating in Brasero to get it on the disk.

Someone on a random linux forum told some other guy to run cdrecord -checkdrive which says my drive is at /dev/sr0 with a blank disk, but that’s as far as I’ve gotten. Do I choose sr0 as the place to save it? It says “something something overwrite” when I try which makes me wary, it seems it wants to overwrite “sr0” itself and either bork my drive or install, but maybe?

I’m positive it’s just something simple I’m missing, any help would be greatly appreciated and I can answer questions and run commands if needed (but I don’t actually have WIFI rn, so I’ll have to have the package for said command already.)

Thanks in advance.

You are viewing a single thread.
View all comments View context
2 points

My bad thought it was printed as “user:group” and not “user group”.

When you add yourself to a group you need to either log out and log back in or reboot in order for it to take effect. So maybe next time you log in try it without sudo again.

permalink
report
parent
reply
1 point
*

Oh cool thanks I’ll log out and try again. Ran into another issue in my script I’m trying to work around now though: I disconnected and reconnected the drive, now it’s /dev/sr1!

So, I guess I need to have my script run cdrecord -checkdrive, and then take that answer as a variable $CDROM and pump it back into cdrecord -v dev=/dev/$CDROM -audio yadda yadda.

This is getting a liiitle above my head lmao.

Edit: logged out and in, no dice, still sudo. Now to figure out this checkdrive issue…

permalink
report
parent
reply
2 points

if you want to take a break, I can ask somebody I know who might have a bit more experience with this.

permalink
report
parent
reply
1 point

I think I need one! Lol, I’ll happily take a break, thanks for the help and let me know what your friend says!

permalink
report
parent
reply
1 point

Ahhh, so apparently in the man page for cdrecord it mentions it needs to be ran as root since it uses “real time scheduling” to write. So even if you have proper permissions to use the cd burner, you still need root to run it. I made a bad assumption that you were having to use root since you didn’t have permissions as your use to write to it.

If you don’t need to parse the output of “cdrecord -checkdrive” then setting that var is pretty trivial.

CDROM=$(cdrecord -checkdrive)

If that outputs more than just the string you need, that gets a little headachey. Grep/awk/sed/sort/uniq/regex are all very powerful and esoteric.

That being said, the man page also mentions that most users will not have to specify “dev” at all as it should figure it out automatically. So you might be ok with axing the “dev” part of the command instead of feeding it the device path.

permalink
report
parent
reply
1 point
*

AH! Oh well no harm no foul, I can run my script as root, I trust me!

Cdrecord -checkdrive does output a whole mess of stuff:

Device was not specified. Trying to find an appropriate drive...
Detected CD-R drive: /dev/sr0
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'Slimtype'
Identification : 'eNAU108   8     '
Revision       : 'XL0A'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

And the only part I need is the part that says /dev/sr0/.

I will try deleting the /dev/ part entirely though and see what happens (probably tomorrow evening). If it works that’ll be perfect. Thanks!

Edit: No dice, dev=/dev/sr0 is needed in my case.

permalink
report
parent
reply

linux4noobs

!linux4noobs@programming.dev

Create post

linux4noobs


Noob Friendly, Expert Enabling

Whether you’re a seasoned pro or the noobiest of noobs, you’ve found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux’s ongoing evolution.


Seeking Support?
  • Mention your Linux distro and relevant system details.
  • Describe what you’ve tried so far.
  • Share your solution even if you found it yourself.
  • Do not delete your post. This allows other people to see possible solutions if they have a similar problem.
  • Properly format any scripts, code, logs, or error messages.
  • Be mindful to omit any sensitive information such as usernames, passwords, IP addresses, etc.

Community Rules

  • Keep discussions respectful and amiable. This community is a space where individuals may freely inquire, exchange thoughts, express viewpoints, and extend help without encountering belittlement. We were all a noob at one point. Differing opinions and ideas is a normal part of discourse, but it must remain civil. Offenders will be warned and/or removed.
  • Posts must be Linux oriented
  • Spam or affiliate links will not be tolerated.

Community stats

  • 230

    Monthly active users

  • 107

    Posts

  • 374

    Comments

Community moderators