#!/bin/bash # # mkrescue # # 30-Oct-2001 original version 1.0 # # Revision history: # 09-Apr-2002 John Coffman modify for lilo 22.3 1.1 # 09-Jun-2002 John Coffman get keyboard translation table 1.2 # (suggested by Qing Liu) # 07-May-2003 John Coffman add nowarn for lilo 22.5.2 1.3 # 13-May-2003 John Coffman use default image, add append= 1.4 # 24-May-2003 John Coffman specify ext2 params for xtra space # 26-May-2003 John Coffman el-torito-bootable-CD 2.1 # 30-May-2003 " add lilo version check 2.1 # 07-Jul-2003 " determine loopback dynamically 2.3 # 29-Aug-2004 " allow --root LABEL=lblname 2.4 # 01-Sep-2004 " fix check for LILO version 2.4 # 03-Oct-2004 " get root= from /etc/fstab 2.5 # 15-Nov-2004 " support --iso --size HD 3.0 # 18-Aug-2005 " applied temp-file security patch 3.1 # 25-Sep-2005 " log config file on --debug 3.2 # 04-Oct-2005 " new 'master' determination 3.2 # 07-Oct-2005 " add -v0 -w to usages of -I 3.2 # debug=false #debug=true # set the version number on this command version=3.2 # set the version of LILO required to run major=22 minor=6 revision=1 log=$(pwd)/mkrescue.log clog=$(pwd)/mkrescue.conf.log usage () { cat <] [--fast] [--fs ext2|msdos|minix] [--image