#! /bin/sh - # Install v0.97 - getting better! install=`basename $0` partitioned=/usr/spool/install/partitioned default_root=/dev/hda1 set_default_root= function prtc { echo echo -n [ press return to continue ] read } clear echo "Welcome to the Linux v0.97 installation script." # skip this junk if the hard drive has been partitioned if [ ! -e $partitioned ]; then cat </mnt/etc/rc.local <> /mnt/etc/fstab if [ $var ]; then echo $var /var ext defaults >> /mnt/etc/fstab fi if [ $swap ]; then echo $swap none swap sw >> /mnt/etc/fstab fi echo Configuring kernel... cp /usr/src/linux/Image /mnt/vmlinux setroot $root /mnt/vmlinux lilo -c -i /mnt/etc/lilo/boot.b -b $root /mnt/vmlinux echo '#!/bin/sh' > /mnt/etc/lilo/install echo lilo -c -i /etc/lilo/boot.b -b $root \$\* /vmlinux >> /mnt/etc/lilo/install chmod u+rwx,go+rx,go-w /mnt/etc/lilo/install cat > /dev/null <> /mnt/etc/lilo/install fi rm -f $partitioned sync umount $root if [ $var ] ; then umount $var fi echo echo "You should now have a useable filesystem on your disk." echo prtc clear cat <