Re: Looking for an easy way of making a iso DVD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On or about 2005-11-05 06:25, Paul Smith pulled out a trusty #2 pencil and scribbled:

On 11/5/05, Bob Chiodini <rchiodin@xxxxxxxxxxxxx> wrote:
Can you post it or a link to it?  I'd be interested in seeing how it was
done.

Sure, Bob:

#!/bin/bash
# ---------------------------------------------------
# Script to create bootable ISO in Linux
# usage: make_iso.sh /tmp/slax.iso
# author: Tomas M. <http://www.linux-live.org>
# ---------------------------------------------------

CDLABEL="SLAX"

if [ "$1" = "" -o "$1" = "--help" -o "$1" = "-h" ]; then
 echo "This script will create bootable ISO from files in curent directory."
 echo "Current directory must be writable."
 echo "example: $0 /mnt/hda5/slax.iso"
 exit
fi

# isolinux.bin is changed during the ISO creation,
# so we need to restore it from backup.
cp -f boot/isolinux.bi_ boot/isolinux.bin
if [ $? -ne 0 ]; then
  echo "Can't recreate isolinux.bin, make sure your current directory
is writable!"
  exit 1
fi

mkisofs -o "$1" -v -J -R -D -A "$CDLABEL" -V "$CDLABEL" \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-b boot/isolinux.bin -c boot/isolinux.boot .
And in FC4, isolinux.bin is found in /usr/lib/syslinux, presuming that you have installed the syslinux RPM.

--
Fritz Whittington -- TI Alum -- http://www.tialumni.org
"He not busy being born is busy dying." --Bob Dylan

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux