Burn CD images in Linux command line
|
|
This tip will be brief, it concerns about writing bootable linux iso images to CDROM. What you need is cdrecord, cd-writer drive, blank cd-r and iso image (and maybe mkisofs).
Howto burn ISO images to CD
Insert the blank CD-R, and run
cdrecord -v speed=4 dev=/dev/cdrom ubuntu-6.10-desktop-i386.iso
and you're done.
Howto burn (backup) files to Data CD
You'll need mkisofs and cdrecord to burn your data files to a CD,
Run,
mkisofs -r -J -o yourbackup.iso /home/path_to/your_files cdrecord -v dev=/dev/cdrom -data yourbackup.iso
and that's the easiest way to burn cds on command-line linux.
Tags: linux, cdrom, iso9660, joliet, ubuntu, cdrecord, mkisofs, debian
Keep updated with this website! : Subscribe to your email
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.














January 10th, 2007 at 2:41 pm
i am using fedora core 5, and oracle 10g as my database.how should i do to backup my data direct to dds and cdrom.
March 18th, 2007 at 8:36 am
[...] [...]
April 26th, 2007 at 8:11 pm
[...] Bookmark hinzufügen Du möchtest folgenden Link zu Mister Wong hinzufügen: Burn CD images in Linux command line : mypapit gnu/linux blog (http://blog.mypapit.net/2006/12/burn-cd-images-in-linux-command-line.html)Um diesen Link zu speichern musst du dich entweder einloggen sofern du schon einen Account hast oder dich unten kostenlos registrieren. Registrieren [...]
May 26th, 2007 at 12:31 am
Thanks, was looking for a simple way to script this so I don’t have to run a GUI every time I just want to burn an ISO. I’ve wrapped your command in a short script, here it is:
#!/bin/bash
#
if [ $# -ne 1 ]
then
echo “No ISO specified, run again with ISO called out.”
echo ” usage: $0 ” >&2
exit 1
fi
#
cdrecord -v speed=8 dev=/dev/cdrom $1
#
exit 0
May 26th, 2007 at 12:41 am
hi there fak3r, thanks for your script suggestion
October 24th, 2008 at 4:44 pm
[...] Burn CD images in Linux command line [...]
December 23rd, 2008 at 6:38 pm
I’d suggest wodim for burning:
wodim yourbackup.iso