mkisofs &| cdrecord

Dave Gavin dgavin at davegavin.com
Sat Nov 8 09:17:12 EST 2003


 Bill,

  If you have the iso aready, there's no need to mkisofs. The command you used
just made a new iso9660 filesystem in the file that your iso is in: the -o
means output. If the iso is all set, just burn it to the cd with cdrecord.
 This is the script that I use to burn an iso to cd:

	#!/bin/bash
	echo "Burning $1 to CDROM"
	cdrecord -force -v -speed=2 -dev=0,6,0 ${1}

 You may have to change the dev info, run "cdrecord --scanbus" to see what your
cd writer shows up as. Also, I'm using an old writer, you probably can change
the speed to something better than 2x...

 If you want to check out the iso, you can mount it like this:

	#!/bin/bash
	echo "mounting $1 as /mnt/iso"
	mkdir /mnt/iso 2>/dev/null
	mount -t iso9660 -o loop ${1} /mnt/iso

 When done, just "umount /mnt/iso".

 This all has to be done as root unless oyu've monkeyed with the perms.

 HTH,
 Dave


On Sat, 08 Nov 2003 13:48:57 +0000
"Bill Holt" <william_holt at speakeasy.net> wrote:

> Hello, 
> I was trying to burn a cd from the command line, all my links are set up
> correctly and I followed the HowTo (cd writing). But when I attempt to burn it
> writes over my ISO file instead! DOH! mkisofs -r -o distro.iso /dev/scd0
> is this the correct command? The documentation is a little confusing.
> Thanks for any help.
> 
> 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss


--
Being shot out of a cannon will always be better than being squeezed
out of a tube.  That is why God made fast motorcycles, Bubba....
                    "Song of the Sausage Creature" Hunter S. Tompson




More information about the Discuss mailing list