Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have tried K3b, gnome-toaster, Xcdroast, and gcombust of late, and none work for multi session. Single-session works fine, but when you enable multi you can't write any more data to the cd. It is most likely some underlying options or device specs are messed up (that's my guess). To aid others in possibly finding a solution, here is some more detailed info:
I am encountering a problem when trying to write a CD with multisession capability. I am using gcombust 0.1.54 on my Mandrake 10.0 (i386-compatible) machine. Gcombust uses cdrecord, and cdrecord is generating the error. The cd-rw I am using is a TDK CDRW101232. It is located at /dev/hdd.
Essentially, I can record one session onto a cd, but beyond that it says that the cd is not writeable. This is after attempting to find the next writable section of the cd with cdrecord –msinfo.I have searched all over the web and this forum for a solution, but have not encountered one at all. I am curious as to whether it is an option that I am not passing to cdrecord (or gcombust), or if it is something with my device configuration.
Any help is appreciated. If my problem is beyond your scope, any point in the right direction is also greatly appreciated! I have included the command line options that were generated by gcombust below.
Thank you in advance,
Ant Zucaro
-ISO image created using mkisofs 2.01a27 (i686-pc-linux-gnu). The command is as follows, and was successful:
mkisofs
-graft-points
-f
-R
-r
-l
-J
-o/home/ant/tmp/pics.iso
--
BackBay01042005/=/home/ant/Desktop/Pictures/BackBay01042005/
FirstLanding01102005/=/home/ant/Desktop/Pictures/FirstLanding01102005/
Graduation12172004/=/home/ant/Desktop/Pictures/Graduation12172004/
Jackson12082004/=/home/ant/Desktop/Pictures/Jackson12082004/
Norfolk12282004/=/home/ant/Desktop/Pictures/Norfolk12282004/
Orstead12282004/=/home/ant/Desktop/Pictures/Orstead12282004/
SandR010305/=/home/ant/Desktop/Pictures/SandR010305/
-The first burn was completed using cdrecord-clone 2.01a27-dvd (i686-pc-linux-gnu). It was successfully completed using the following command:
/usr/bin/cdrecord
-v
-eject
-pad
speed=12
dev=/dev/hdd
-dao
-multi
-data
/home/ant/tmp/pics.iso
-To test multisession capability, I attempt to burn one more file onto the disk. First I create another ISO file with the following command:
/usr/bin/mkisofs
-graft-points
-f
-R
-r
-l
-J
-o/home/ant/tmp/test.iso
--
TestFolder/=/home/ant/Desktop/TestFolder/
-I then attempt to burn the folder to the disk with:
/usr/bin/cdrecord
-v
-eject
-pad
speed=12
dev=/dev/hdd
-dao
-multi
/home/ant/tmp/test.iso
This gives me an error saying that it cannot find the next writeable address, and that the media "cannot be written in streaming mode anymore." I have tried scanning my bus to see if listing the device ID as numbers (bus, target, lun) would work, but this yielded no results (cdrecord tells me that my writer is on 1,1,0). Is there something that I am not doing with cdrecord or my device?
This is how I use multi sessions and cdrecord. In this example, I am piping the output of mkisofs directly to cdrecord.
I am using the period ( . ) to indicate that I want to use my Present Working Directory.
Code:
All images must have "-multi" used on all cdrecord sessions.
The first mkisofs session is generated as normal.
Additional sessions must have the track number ( -C # ) included when generated.
next=`cdrecord -msinfo dev=0,0,0`
echo "Next Track is $next"
mkisofs -R -J -o /home/myfiles.iso -C $next \
-M /dev/cdrom -V "Vol1" . |\
cdrecord -v speed=4 dev=0,0,0 -eject -multi -data /home/myfiles.iso
To burn additional sessions directly to the cdrom....
next=`cdrecord -msinfo dev=0,0,0`
echo "Next Track is $next"
mkisofs -R -J -C $next -M /dev/cdrom -V "Vol1" . |\
cdrecord -v speed=4 dev=0,0,0 -eject -multi -data -
Thanks for your assistance and code. For the -msinfo option within it, it should return a pair of numbers indicating when a track started and ended. When I run -msinfo, it does not return the pair of numbers, but instead spits and error back at me about not being able to find the next writable section.
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
In mandrake 10.1 I wasted a few CD in K3b trying to do multissessions,
until I found out that using cdrecord vanilla 2.x still in k3b (available with the distro)
always worked (rather than cdrecord-dvd or whatever the default was)
It drove me crazy. Also, I always burn as root, it may or not matter
Hi azucaro,
Sorry, I didn't notice your response. I made a mistake having spaces in the line....
next = `cdrecord -msinfo dev=0,0,0`
It should be next=`cdrecord -msinfo dev=0,0,0`
I have redone the instructions to hopefully make them more clear.
Code:
# All images must have "-multi" used on all cdrecord sessions.
For example: I have two folders which I want to record.
I am going to use -graft-points so the folders are created
and all data is put inside them.
/mnt/tech/achome
/mnt/tech/aclinux
# The first mkisofs / cdrecord session is generated as normal.
cd /mnt/tech
mkisofs -R -J -graft-points "achome=./achome" |\
cdrecord -v dev=ATA:1,0,0 -multi -data -
# Additional sessions must have the track number ( -C # ) included when generated.
# This example makes an iso file before burning to the cdrom.
cd /mnt/tech
next=`cdrecord -msinfo dev=ATA:1,0,0`
echo "Next Track is $next"
mkisofs -R -J -o /home/mystuff.iso -C $next \
-M /dev/cdrom -graft-points "aclinux=./aclinux" |\
cdrecord -v dev=ATA:1,0,0 -eject -multi -data /home/mystuff.iso
# This example burns additional sessions directly to the cdrom
# without creating an iso image first.
cd /mnt/tech
next=`cdrecord -msinfo dev=ATA:1,0,0`
echo "Next Track is $next"
mkisofs -R -J -C $next -M /dev/cdrom -graft-points "aclinux=./aclinux" |\
cdrecord -v dev=ATA:1,0,0 -eject -multi -data -
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.