Package: lilo Version: 1:22.8-3+b1 Severity: wishlist File: /usr/share/doc/lilo/README.Debian
Here's a script that can be put in /usr/share/doc/lilo/examples/lilo.conf.conf or put in /usr/share/doc/lilo/README.Debian or I can put it on my website and you can put the URL in to /usr/share/doc/lilo/README.Debian or "no big deal, never mind". #!/bin/sh # lilo.conf.conf -- example for Debian stock kernel routine lilo run # Copyright : http://www.fsf.org/copyleft/gpl.html # Author : Dan Jacobson -- http://jidanni.org/ # Created On : June 2007 # Last Modified On: Fri Jun 15 22:07:58 2007 # Update Count : 59 #On Debian after each installation of a fresh stock kernel, I run this #script that produces an fresh lilo.conf and runs lilo. Replace the #hostnames with your own. set -eu l=lilo.conf hostname=`hostname` { cat<<EOF # Made by $0, will get overwritten menu-title=$hostname prompt read-only compact lba32 EOF case $hostname in jidanni1)echo boot=/dev/hdb root=/dev/hdb9;; jidanni2)echo boot=/dev/hda root=/dev/hda1;; *)echo 1>&2 must add hostname to $0; exit 44;; esac for i in `ls -r /boot/vmlinuz-*` do echo -e image=$i label=${i#*-}\\n initrd=${i/vmlinuz/initrd.img} done case $hostname in jidanni2)echo other=/dev/hda2 label=IBM_RnR_hda2;; esac } > /tmp/$l cp -a /etc/$l /tmp/$l.`date +%s`; mv /tmp/$l /etc/$l; lilo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

