First burn:
$ mkisofs -r -o cdimage.raw files $ cdrecord --scanbus $ cdrecord -v -multi speed=4 dev=0,0,0 -data cdimage.raw
You may want to add some other options to mkisofs. Check out:
$ mkisofs -pad -l -r -J -v -V "CD Label" -b base/boot.img -c base/boot.cat -hide -rr -moved -o cdimage.raw files
Second burn:
$ NEXTTRACK=`cdrecord -msinfo dev=0,0,0` $ mkisofs -r -o cdimage.raw -C $NEXTTRACK -M /dev/cdrom files $ cdrecord -v -multi speed=4 dev=0,0,0 -data cdimage.raw