LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 02-26-2004, 04:53 PM   #1
jlturbos
Member
 
Registered: Jun 2002
Location: Pennsylvania
Distribution: Anything and Everything
Posts: 61

Rep: Reputation: 15
Simple scripts for making isos and burning them on cd!


I am learning to write bash scripts and I made some simple scripts for newbies and gurus alike for making and burning isos onto cds.

You will need cdr-tools installed and please put them in /usr/local/bin on your hard drive for all users to use:

Get them here:
http://freebsd.turbocharging.net/subdir/scripts.html

Comments and suggestions are welcome,
Thanks!
 
Old 02-27-2004, 02:00 AM   #2
vsj
LQ Newbie
 
Registered: Jan 2004
Location: Midwest USA
Distribution: Debian stable
Posts: 22

Rep: Reputation: 15
Hi, jlturbos;

I just d/l'd your scripts. Do I save these as .sh or .txt?

Will let you know about them as soon as I use them. TYVM for the help.
 
Old 02-27-2004, 02:17 AM   #3
jlturbos
Member
 
Registered: Jun 2002
Location: Pennsylvania
Distribution: Anything and Everything
Posts: 61

Original Poster
Rep: Reputation: 15
Files in Linux need no extension. Linux determines what file type a file is simply by looking at the contents of a file. Hence the "#!/bin/bash" at the start of the script.

the ".sh" ext. is good for you in order to recognize the script, so go ahead and add that if you like. I recommend logging in as root and place them in /usr/local/bin like this:
# su
<your_passwd>
# mv ./iso-* /usr/local/bin
# chmod 755 /usr/local/bin/iso-*"
# exit

If you wish to burn cd's as regular user do a:
# which cdrecord
/usr/local/bin/cdrecord
# chmod +s /usr/local/bin/cdrecord

JL
 
Old 02-27-2004, 07:52 AM   #4
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

Rep: Reputation: 30
ISO? Bah, I write my cd's using a dd'ed reiserfs partition.

Although its kind of sad you can't use "mkreiserfs" to convert a directory into raw input file like "mkisofs".


Uh, do you mind having these scripts in ncurses? Then you could include a general newbie mounting guide! That also interprets /etc/fstab as well, or perhaps read comments to differentiate. It would save my non very command line friendly sibling a lot of trouble.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing from ISOs without burning them? jamie_barrow Linux - Software 17 07-06-2007 07:30 AM
Probs d/loading/burning RH 9 isos - newbie arjay Red Hat 14 04-11-2005 12:24 PM
Help with Burning mandrake 10.1 isos (Roxio) Ytsejammer Linux - General 2 12-19-2004 12:52 PM
Burning Slackware ISOs sxa Slackware 3 02-06-2004 08:12 AM
Burning Isos Born^Dead Linux - Software 4 07-30-2003 07:58 PM


All times are GMT -5. The time now is 05:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration