LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Cannot burn CD/DVD with Fedora 7 (https://www.linuxquestions.org/questions/fedora-35/cannot-burn-cd-dvd-with-fedora-7-a-561634/)

Dummy-in-Linux 06-13-2007 08:57 PM

Cannot burn CD/DVD with Fedora 7
 
I have Fedora 7 installed and it seems that I have problems burning CD/DVD-roms.

Normally I use Gnomebaker, but also have NeroLinux 3.0. NeroLinux has gives the error that it cannot read the device dev/sg0 until /dev/3, GnomeBaker will not see any empty CD-rom in the drive and keeps asking to insert a empty disk.

I use a standard LG GSA-H10L DVD-writer, which is a drive with an pata/ide interface. Needles to say that the drive worked normal in Fedora Core 6 or other Linux distributions.

Glennzo 06-14-2007 12:13 PM

Quote:

Originally Posted by Dummy-in-Linux
I have Fedora 7 installed and it seems that I have problems burning CD/DVD-roms.

Normally I use Gnomebaker, but also have NeroLinux 3.0. NeroLinux has gives the error that it cannot read the device dev/sg0 until /dev/3, GnomeBaker will not see any empty CD-rom in the drive and keeps asking to insert a empty disk.

I use a standard LG GSA-H10L DVD-writer, which is a drive with an pata/ide interface. Needles to say that the drive worked normal in Fedora Core 6 or other Linux distributions.

I had the same problem. Here's a link to my Wiki page on the fix: http://www.johnson.homelinux.net/index.php/GnomeBaker

axelgenus 08-07-2007 02:20 AM

Quote:

Originally Posted by Glennzo
I had the same problem. Here's a link to my Wiki page on the fix: http://www.johnson.homelinux.net/index.php/GnomeBaker

I have the same problem but your link leads to a blank page! :p

penguinpages 08-07-2007 09:06 AM

You state that the drive works in other distros. Is this via dual boot or something like Knoppix (good way to test physical burner works)


Also. I am a bit rusty on my shell commands for direct command burning (don't typically work on small systems with DVD) but here is the shell script I ran to write from shell to the DVD device. Try this to eliminate a "GUI" issue.

Quote:

#!/bin/bash
# Version 0.9.1
# Ugly backup script to get backup of pertanant files done
#
curDate=`date +"%y-%m-%d"`
#
printf Current date is $curDate
mkisofs -o /tmp/$curDate.iso /home
printf "Backup is now transformed into ISO format"
printf Now roasting Backup onto CD
growisofs -dvd-compat -Z /dev/dvd=/tmp/$curDate.iso -speed=4
echo Backup is completed successfull! Please lable ejected CD $curDate and take offsite. Have a happy day. |mail -s "Backup is Complete" office@acme.org
printf "Ejecting CD so it can be labeled and new one inserted"
eject
echo "Weekly Backup $curDate complete" >> /var/log/messages
#

The think to validate if that does not work (or simple burn of some other ISO image you have) is to start validation of the CD burning driver stack. (I am not 100% certain of all the dependencies ... so those who know a bit more pipe in on corrections).

Validate:
1) Sym Link:"ls -alh /dev/dvd" (slave IDE in my case)
Quote:

lrwxrwxrwx 1 root root 3 May 12 02:50 /dev/dvd -> hdc
2) Check drive state: "cdrecord -checkdrive"
Quote:

scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identifikation : 'CD/DVDW SH-S162A'
Revision : 'TS01'
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
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R

Now that you know the drive location, that sym links are set and the supported DVD modes that the drive supports you should be able to do test write.

axelgenus 08-08-2007 01:32 AM

Searching on Fedora and Red Hat Wikies I found an alternative solution. It seems like Fedora applies permissions through SElinux. You just need to add a file in /etc/security/console.perms.d which I named 51-custom.perms. Open it and add these simple lines:

Code:

# custom permission definitions
<console>  0660 /dev/sg*    0660 root.disk

Reboot and everything should work!

In few words it simply says SElinux that everyone in the "disk" group can access /dev/sg0, /dev/sg1 and it automatically reset permissions on those devices on login.

Hope it helps! ;)

nirmal.bisai 08-17-2007 12:03 AM

Quote:

Originally Posted by axelgenus (Post 2851710)
Searching on Fedora and Red Hat Wikies I found an alternative solution. It seems like Fedora applies permissions through SElinux. You just need to add a file in /etc/security/console.perms.d which I named 51-custom.perms. Open it and add these simple lines:

Code:

# custom permission definitions
<console>  0660 /dev/sg*    0660 root.disk

Reboot and everything should work!

In few words it simply says SElinux that everyone in the "disk" group can access /dev/sg0, /dev/sg1 and it automatically reset permissions on those devices on login.

Hope it helps! ;)

I have tried but fail. The 51-custom.perms file is not allowed by the firewall. It gives error. Please suggest.

howmuchisthefish 08-17-2007 03:32 AM

Hello

I've just donloaded Nero Linux 3 - trial- (says there it;s released on August the 8th) and it works! Just burnt my first DVD on Linux Fedora Core 7.

If anyone stumbbles across a serial so I can get it to work pass October, I'd really apreciate it.
Thanks

Dummy-in-Linux 08-17-2007 05:12 AM

It is really easy to stumble across a serial for Nero 3.0 for Linux just pay US$ 24.99.

http://www.nero.com/eng/NeroLINUX.html

odcheck 08-17-2007 05:33 AM

why don't you use k3b it has been reward to be THE BEST open source burning application!
you only have to set the correct permissions on cdrecorder and cdrdao
chmod 755 /usr/bin/cdrdao
chmod 755 /usr/bin/cdrecord

yum install k3b

axelgenus 08-18-2007 01:45 AM

Quote:

Originally Posted by nirmal.bisai (Post 2861604)
I have tried but fail. The 51-custom.perms file is not allowed by the firewall. It gives error. Please suggest.

What does it mean "The 51-custom.perms file is not allowed by the firewall"? What error did it give?

Quote:

Originally Posted by odcheck (Post 2861806)
why don't you use k3b it has been reward to be THE BEST open source burning application!

Yes, you're right. K3b is the best open source burning application out there but the best burning application in general is NeroLinux... no doubt. I'm not making advertisement for Ahead but since I'm using NeroLinux I had no problems burning either CDs or DVDs. Moreover NeroLinux supports BlueRay and LightScribe... ;)


All times are GMT -5. The time now is 02:21 PM.