Home News Documentation Download Screenshots Credits Help

Intro [^]

In this page I will present the scripts I have ever written for Clonezilla-SysRescCD

what-cd [^]

Included in: SystemRescueCD

This script determines the device names for your CDs/DVDs, and whether they can read/write CD/DVD-ROMs

Its help screen is the following:

# what-cd -h
what-cd - v 1.0.0 - S. Georgaras <sng@hellug.gr>

what-cd will try to identify your CD/DVDs
You can use it to identify the device name of your CD-Reader (default),
CD-Writer, DVD-Reader, and DVD-Writer.

Usage: what-cd [options]
Availabe options are:
    d           Print info about DVDs
    w           Print info about writers
    b           Batch mode. Only print one device name.
                If more than one device is found, print
                nothing. For use with scripts
    e deviceID  Eject device deviceID
                Accecpable values: -1...num of devices
                Use -1 when in batch mode
    v           Print version info and exit
    h           Print this screen and exit

Its typical usage would be to identify the DVD writer:

# what-cd -dw
Device /dev/hdd (id=0) can not write DVDs
Device /dev/hdc (id=1) can write DVDs

When used in batch mode, it will only print a device name. This is especially useful in scripts, but also in the command line, as shown in section "Burning the DVD".

# what-cd -dwb

continue-multi-cd [^]

Included in: SystemRescueCD

continue-multi-cd helps you append data to a multi session CD; that is it helps you prepare and burn any consecutive sessions to it. It may lack some of the functionality you would have had if you used the command line tools themselves (mksiofs and cdrecord), but because of it, it keeps you away from writing a lot of parameters.

You could use it for example, to burn some extra documentation to Clonezilla-SysRescCD CD, but you cannot use it to change the configuration files of isolinux, as it just reads the first session when booting.

Its help screen is the following:

# continue-multi-cd -h
continue-multi-cd - v 2.0.0 - S. Georgaras <sng@hellug.gr>

Usage: continue-multi-cd [options] <path to be added to CD>

Available options are:
    d                Specify write device (in case auto detection does not work)
    c                Close the CD. No more burning will be possible
                     Default is to leave it open
    l                Don't burn the CD after image creation
    o <image name>   Save the image file as <image name>
    r                Remove the image file after burning
    f                On the fly burning of the CD. No image file will be created
    v                Print version info and exit
    h                Print this screen and exit

You have to note one thing though: the folder <path to be added to CD> will not be present on the CD; only its contents will.

Let's suppose that you want to add to the CD the folder extra-doc, which contains q-a.html and faq.html, and that its full path is /home/user/extra-doc. If you issue the command

continue-multi-cd -mwr /home/user/extra-doc

you will not have a extra-doc folder on the root of your CD, but the files q-a.html and faq.html will be present there.

In order to have extra-doc on the CD, you have to copy it to a temporary location and pass that path to continue-multi-cd. Let's see how it's done:

mkdir -p /tmp/for-the-cd
cp -r /home/user/extra-doc /tmp/for-the-cd
continue-multi-cd -r /tmp/for-the-cd
rm -rf /tmp/for-the-cd

startx-ttf-ati [^]

Included in: SystemRescueCD

This script will help you start the X server (graphical environment), if you have a ATI video card and a TTF monitor. The normal startx command will not work in this case; you will end up with a blank screen.

 Update:  startx-ttf-ati has been removed in version 3.1.0, since the "ATI video card vs. TTF monitor" problem has been resolved.