3.3.3 Running the Transfer Script

The ttylinux shell script, /sbin/ttylinux-flash automates the process of copying the ttylinux system from the source directory into the target directory and making the target drive bootable. This transfer typically is from CD-ROM disc to flash drive; the CD-ROM disc should be mounted with option -t iso9660 to specify the correct file system type, and USB drives are usually FAT32 and those should be mounted with option -t vfat to specify the correct file system type.

The script is invoked with a command line option telling it which boot loader to use, lilo or syslinux. The following is the help output from the ttylinux-flash script, it describes how to invoke the script.

ttylinux-flash
(C) 2008-2010 Douglas Jerome <douglas@ttylinux.org>

Usage: ttylinux-flash --lilo     <source path> <flash path> <flash dev>
       ttylinux-flash --syslinux <source path> <flash path> <flash dev>

Parameters:

     -l | --lilo ....... Use lilo method to make bootable flash disk.
     -s | --syslinux ... Use syslinux method to make bootable flash disk.

     <source path> is the mounted ttylinux CD-ROM directory, or any equivalent
                   USB or hard drive directory of the ttylinux CD-ROM layout
                   and contents.

     <flash path>  is a rooted path to the flash disk root file system to be
                   loaded from the source path.  For the syslinux method this
                   must be a Windows FAT file system, but for the lilo method
                   this can be either an EXT2 or FAT file system.

     <flash dev>   is the /dev/* that is the whole disk block device node,
                   such as /dev/sdc, NOT a partition block device node
                   like /dev/sdc1.

The transfer script checks if the source CR-ROM device contains a ttylinux CD-ROM; if the CD-ROM is found then a summary of what is to be transfered onto which device is printed and you are given a choice of continuing or aborting. Enter "yes" to continue the transfer.

The transfer script copies the ttylinux files onto drive and then installs the bootloader.

After the installer is finished you can remove the CD-ROM disc from your computer and reboot.