#!/bin/sh # # Make BootDisk # # May 2004, Aleksey Barabanov # # ##################################################### setup defaults VER="ver. 1.0.0" DEBUG="" NOCLEAN="" DRYRUN="" # image file INAME=disk.iso # root for temporary dirs and files TROOT=/tmp # initial disk size SIZE=1440 DSECT=18 # devices DEV=/dev/loop NULL=/dev/null ZERO=/dev/zero # kernel list KLIST="/boot/vmlinuz /boot/initrd" # reserved for lilo map DPAD=20480 # iso identifications ANAME="Aleksey_Barabanov" AMAIL="alekseybb@mail.ru" ATITLE="Rescue" VNAME="BOOT" # ROOT="" APPEND="" KERNEL="" INITRD="" MEMTEST="/boot/memtest.bin" # ##################################################### get options usage() { cat < Set output filename --tmp Set root directory for temporary files --root Set root device for boot configuration --append