You are not logged in.
Pages: 1
Ok, so I have some data that I would like to write to a blank CD. In short: how can I use a shell to accomplish this?
I've had no problems accessing dvd's or other media with file systems using the 'mount' command. But, my (un)elite googling skills has led me to the fact that blank CDs have no file system, thus mount will not work on them. Please forgive my newbishness, but how do I work with this kind of media if I can't mount it?
(Yes, I know I probably could just use hal/fancy desktop applications, but I'd like to know if there's a way to do it from a good old terminal).
Thanks!
Edit: Problem solved
Last edited by jbusch (2009-02-21 15:24:01)
Offline
install cdrkit
pacman -S cdrkit
mkdir /tmp/burn
cp image.iso /tmp/burn
mkisofs -RJ -o /tmp/image.iso /tmp/burn
cdrecord -v -pad speed=1 dev=0,0,0 /tmp/image.iso
replace dev= with whatever cdrecord -scanbus says
Last edited by TBomB (2009-02-21 04:07:37)
Offline
/tmp is _not_ a safe place to put 600+ megs.
some installation uses memory for /tmp (early arch did if I remember correctly), others have /tmp on a seperate partition.
Instead, just use:
cdrecord {options} /path/to/where/I /find/image.iso
In addition - something that allready is an .iso doesn't need any more tampering!
To make an iso out of what's in some directory:
mkisofs -o /not/tmp/image.iso -v -J -r -T /where/my/data/is/*
Last edited by perbh (2009-02-21 04:53:09)
Offline
Beautiful, it worked perfectly. Thank you very much!
Offline
Putting stuff in /tmp is fine - mkisofs itself uses /tmp to store its temporary files! cdrkit I think uses /tmp too, but I'm not positive.
Online
Pages: 1