Can not write to CD/DVD

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Rustys

Can not write to CD/DVD

Post by Rustys »

Linux Mint 19 Cinnamon 64 Bit
I am using a blank DVD-R (4.3 GB) and it does mount the Blank Disk. When I look under Disk it show properly only showing 2 KB available.

Tried CD-R and get the same results.
Tried using the Live Version of Linux on USB and shows the same.
Tried the same for Ubuntu that is installed (v. 14.04) and Live USB Ubuntu shows the same.
Tried a 32 bit version on another system that has a working DVD+- and shows the same.

This DVD drive works flawlessly (reading the disk and writing) in Windows.

rustys@GatewayMint19:~$ sudo cd-drive
[sudo] password for rustys:
cd-drive version 1.0.0 x86_64-pc-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
The driver selected is GNU/Linux
The default device for this driver is /dev/cdrom

Drivers available...
GNU/Linux ioctl and MMC driver
cdrdao (TOC) disk image driver
bin/cuesheet disk image driver
Nero NRG disk image driver


CD-ROM drive supports some nonstandard or degenerate set of MMC

Drive: /dev/cdrom
Vendor : MATSHITA
Model : DVD-RAM UJ8C0
Revision : 1.00
Profile List Feature
Re-writable DVD
DVD+R Double Layer - DVD Recordable Double Layer
DVD+R - DVD Recordable
DVD+RW - DVD Rewritable
Re-recordable DVD using Restricted Overwrite
Re-recordable DVD using Sequential Recording
DVD-R - Double-layer Jump Recording
DVD-R - Double-Layer Sequential Recording
Re-recordable DVD using Sequential recording - on
Read only DVD
CD-RW Re-writable Compact Disc capable
Write once Compact Disc capable
Read only Compact Disc capable

Core Feature

Morphing Feature
Operational Change Request/Notification supported
Synchronous GET EVENT/STATUS NOTIFICATION supported

Removable Medium Feature
Tray type loading mechanism
can eject the medium or magazine via the normal START/STOP command
can be locked into the Logical Unit

Write Protect Feature

Random Readable Feature

Multi-Read Feature


CD Read Feature
C2 Error pointers are supported
CD-Text is supported

DVD Read Feature

Random Writable Feature

Incremental Streaming Writable Feature

Formattable Feature

Management Ability of the Logical Unit/media system to provide an apparently defect-free space. Feature

Restricted Overwrite Feature

DVD+RW Feature

DVD+R Feature

Rigid Restricted Overwrite Feature

CD Track at Once Feature

CD Mastering (Session at Once) Feature

DVD-R/RW Write Feature

Unknown code 33 Feature

CD-RW Media Write Support Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Profile List Feature

Hardware : CD-ROM or DVD
Can eject : Yes
Can close tray : Yes
Can disable manual eject : Yes
Can select juke-box disc : No

Can set drive speed : No
Can read multiple sessions (e.g. PhotoCD) : Yes
Can hard reset device : Yes

Reading....
Can read Mode 2 Form 1 : Yes
Can read Mode 2 Form 2 : Yes
Can read (S)VCD (i.e. Mode 2 Form 1/2) : Yes
Can read C2 Errors : Yes
Can read IRSC : Yes
Can read Media Channel Number (or UPC) : Yes
Can play audio : Yes
Can read CD-DA : Yes
Can read CD-R : Yes
Can read CD-RW : Yes
Can read DVD-ROM : Yes

Writing....
Can write CD-RW : Yes
Can write DVD-R : Yes
Can write DVD-RAM : Yes
Can write DVD-RW : No
Can write DVD+RW : No

rustys@GatewayMint19:~$
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Schultz
Level 9
Level 9
Posts: 2966
Joined: Thu Feb 25, 2016 8:57 pm

Re: Can not write to CD/DVD

Post by Schultz »

What app are you using to try to write to disc? Sorry if it's posted in your wall of text, didn't have time to read it.
Rustys

Re: Can not write to CD/DVD

Post by Rustys »

Schultz wrote: Mon Sep 17, 2018 3:34 pm What app are you using to try to write to disc? Sorry if it's posted in your wall of text, didn't have time to read it.
Mint
Disk Image Writer

Ubuntu
Disk Image Writer
Brasero
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Can not write to CD/DVD

Post by Flemur »

Try running

Code: Select all

xfburn
from a terminal, try writing to a write-able CD/DVD, and post the terminal output here.
You might have to install it:

Code: Select all

sudo apt-get install xfburn
It's light and won't include a lot of junk or mess up your system.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
kukamuumuka

Re: Can not write to CD/DVD

Post by kukamuumuka »

Code: Select all

inxi -dx
Are you in cdrom group?

Code: Select all

groups
Rustys

Re: Can not write to CD/DVD

Post by Rustys »

Let me know if I am missing anything.

@Flemur

rustys@GatewayMint19:~$ xfburn
** Message: 13:17:36.466: Using UDEV
** Message: 13:17:39.655: Using gstreamer transcoder.

(xfburn:4876): GLib-GObject-WARNING **: 13:22:51.470: invalid cast from 'GstDiscoverer' to 'GstObject'
rustys@GatewayMint19:~$

@administrollaattori

rustys@GatewayMint19:~$ inxi -dx
Drives: HDD Total Size: 250.1GB (7.3% used)
ID-1: /dev/sda model: ST9250827AS size: 250.1GB
Optical-1: /dev/sr0 model: MATSHITA DVD-RAM UJ8C0 rev: 1.00 dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 24x multisession: yes
audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
rustys@GatewayMint19:~$ groups
rustys adm cdrom sudo dip plugdev lpadmin sambashare
rustys@GatewayMint19:~$
kukamuumuka

Re: Can not write to CD/DVD

Post by kukamuumuka »

Try to copy DVD or CD for seeing if the cdrom is working.

Code: Select all

ls /*/cdrom
... if /dev/cdrom, run

Code: Select all

dd if=/dev/cdrom of=mydvd.iso status=progress
Open the iso using Engrampa for example.
Rustys

Re: Can not write to CD/DVD

Post by Rustys »

administrollaattori wrote: Wed Sep 19, 2018 8:18 am Try to copy DVD or CD for seeing if the cdrom is working.

Code: Select all

ls /*/cdrom
... if /dev/cdrom, run

Code: Select all

dd if=/dev/cdrom of=mydvd.iso status=progress
Open the iso using Engrampa for example.
Hoping I did it right. Was there supose to be a iso file used or one created?

rustys@GatewayMint19:~$ ls /*/cdrom
/dev/cdrom
rustys@GatewayMint19:~$ dd if=/dev/cdrom of=mydvd.iso status=progress
0+0 records in
0+0 records out
0 bytes copied, 0.000210291 s, 0.0 kB/s
rustys@GatewayMint19:~$
kukamuumuka

Re: Can not write to CD/DVD

Post by kukamuumuka »

https://askubuntu.com/questions/725280/ ... nit-broken
found How to fix it.

Code: Select all

sudo -H gedit /etc/hdparm.conf
add at the bottom

Code: Select all

/dev/sr0 {
    dma = on
}
reboot
PS. Use Xed instead of Gedit.

Code: Select all

xed admin:///etc/hdparm.conf
Rustys

Re: Can not write to CD/DVD

Post by Rustys »

Will I need to add the # symbol or will it automatically (at the beginning of each line)?

Thanks all for the help.
kukamuumuka

Re: Can not write to CD/DVD

Post by kukamuumuka »

Rustys wrote: Thu Sep 20, 2018 1:05 pm Will I need to add the # symbol or will it automatically (at the beginning of each line)?

Thanks all for the help.
Only the next lines like:

Code: Select all

#/dev/cdroms/cdrom0 {
	dma = on		   
#	interrupt_unmask = on
#	io32_support = 0
#}
Rustys

Re: Can not write to CD/DVD

Post by Rustys »

administrollaattori wrote: Thu Sep 20, 2018 1:47 pm
Rustys wrote: Thu Sep 20, 2018 1:05 pm Will I need to add the # symbol or will it automatically (at the beginning of each line)?

Thanks all for the help.
Only the next lines like:

Code: Select all

#/dev/cdroms/cdrom0 {
	dma = on		   
#	interrupt_unmask = on
#	io32_support = 0
#}
Done
kukamuumuka

Re: Can not write to CD/DVD

Post by kukamuumuka »

Rustys wrote: Thu Sep 20, 2018 2:56 pm
administrollaattori wrote: Thu Sep 20, 2018 1:47 pm
Rustys wrote: Thu Sep 20, 2018 1:05 pm Will I need to add the # symbol or will it automatically (at the beginning of each line)?

Thanks all for the help.
Only the next lines like:

Code: Select all

#/dev/cdroms/cdrom0 {
	dma = on		   
#	interrupt_unmask = on
#	io32_support = 0
#}
Done
Does cdrom work now?
Rustys

Re: Can not write to CD/DVD

Post by Rustys »

No it still can not write to disk using Disk Image Writer like I use to be able to.

Can through xfburn.

Disk still shows all writable disk as
Screenshot from 2018-09-20 18-41-55.png
kukamuumuka

Re: Can not write to CD/DVD

Post by kukamuumuka »

How about if you change the settings?
settings.png
Rustys

Re: Can not write to CD/DVD

Post by Rustys »

Should look like this correct?
Screenshot from 2018-09-21 09-46-32.png
Rustys

Re: Can not write to CD/DVD

Post by Rustys »

Guess then there is no way to fix the Disk section to read the CD DVD disk correctly where I can also write to them?

Yes I can write to them using software now.
kukamuumuka

Re: Can not write to CD/DVD

Post by kukamuumuka »

Rustys wrote: Wed Sep 26, 2018 12:03 pm Guess then there is no way to fix the Disk section to read the CD DVD disk correctly where I can also write to them?

Yes I can write to them using software now.
I just tested the next thing on old HP laptop, which did not mount cdrom. I made a custom mount point, and now cdrom works fine. The operating system in this old HP is MX 17.

An example about making this mount point:

Code: Select all

sudo mkdir -p /media/cdrom
…. add the mount point to the /etc/fstab file

Code: Select all

sudo nano /etc/fstab
….. add a line

Code: Select all

/dev/cdrom /media/cdrom auto rw,noauto,user,exec 0 0
…. save, quit and reboot.

Ctrl o
Ctrl x

For knowing info from your CD/DVDROM, run command

Code: Select all

inxi -dx
Rustys

Re: Can not write to CD/DVD

Post by Rustys »

I apologize for the delay in responding.

The drive I was using gave out and I have not replaced it.

When I do get a chance to get a new drive and install Mint again will try what you have suggested. For not you can close this one out will be a while before I can get the drive.

Thanks to everyone that assisted with this.

Rustys...:)
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Can not write to CD/DVD

Post by phd21 »

HI Rustys,

I just read your post and the good replies to it. Here are my thoughts on this as well.

Sorry to hear about your CD/DVD burner, but mechanical drives do wear out.

Fortunately, DVD/CD burner writers are low-cost $20-$25us or less in some cases even USB external drives are around $25us and work very well. You can even get Blu-Ray burner writers for around $50-$100. I recommend getting a CD/DVD/Blu-Ray burner that supports "m-disc". Read descriptions and user comments, if they specifically state only work with MS Windows or Mac, then maybe they will not work with Linux, but most will.

I have an older LG USB external DVD/CD burner that still works well with all regular DVD/CD discs but unfortunately does support "m-disc" discs which I want.

I do not know why you went through a manual mounting of the CD/DVD drive because that is unusual and normally unecessary.

cd burner for mint 19 - Linux Mint Forums
viewtopic.php?f=90&t=279918&hilit=regionset

Amazon.com: LG Electronics 8X USB 2.0 Super Multi Ultra Slim Portable DVD Writer Drive +/-RW External Drive with M-DISC Support (Black) GP65NB60 $25us
https://www.amazon.com/LG-Electronics-P ... ref=sr_1_4

Amazon.com: usb external dvd drive burner
https://www.amazon.com/s?k=usb+external ... _sb_noss_2

Amazon.com: usb external blu-ray drive burner
https://www.amazon.com/s/ref=nb_sb_noss ... ive+burner



Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
Locked

Return to “Hardware Support”