From: becker@super.org (Donald J. Becker) Subject: Re: [Q] Installing SLS from Ethernet Date: Wed, 8 Sep 1993 02:30:48 GMT
In article <1993Sep7.221914.25852@mnemosyne.cs.du.edu> gcortevi@nyx.cs.du.edu (Greg Corteville) writes:
>
>I noticed onb the installation disk that there is an option to install
>Linux from ethernet. How would one go about doing this? Can it be
>installed directly from the FTP site? I don't want to use up the disks if
>I don't have to. Help would be appreciated. Email preferred.
The SLS NFS installation is very easy to use, you just answer the questions
and go get a cup of your favorite beverage. If you answered the
questions correctly, you'll have a Linux machine when you come back.
I have a shell script that patches up locale-specific things like the
timezone file and machine name. This script keeps getting smaller, so
Peter must be doing something right.
You must find a site that permits anonymous NFS mounts -- anonymous
FTP isn't enough. There are a number of them around, but they don't
advertise it.
On a related note, there has been some discussion lately about having
the boot system on multiple disks. This is a bad idea -- it was a big
win when Peter managed to get the SLS boot system on a single disk.
It's far easier to hand someone a single floppy and a few IP
addresses, and say "here is everything you need" than to loan them a
few boxes and ask them to waste an hour swapping disks.
________________
# Linux system patchup script, this is SRC-specific so don't copy it blindly.
ROOTDIR=/root
INSTALL=/mnt/install
HOSTNAME=linux
DOMAIN=super.org
echo "Adding the swap partition to your /etc/fstab file."
#echo "/dev/hda3 swap swap defaults" >> $ROOTDIR/etc/fstab
cp /mnt/install/fstab $ROOTDIR/etc/fstab
mkdir $ROOTDIR/u01 $ROOTDIR/u02 $ROOTDIR/u03 $ROOTDIR/u04
mkdir $ROOTDIR/usr/projects $ROOTDIR/usr/public
if [ -r /mnt/install/addhosts ]; then
cat /mnt/install/addhosts >> $ROOTDIR/etc/hosts
fi
if [ -r /mnt/install/passwds ]; then
cat /mnt/install/passwds >> $ROOTDIR/etc/passwds
fi
if [ -r /mnt/install/xmodmap ]; then
cp /mnt/install/xmodmap $ROOTDIR/usr/lib/X11/xinit/.Xmodmap
fi
echo "SLS Linux 0.99.12, installed at SRC." > $ROOTDIR/etc/issue
echo
echo "Setting the timezone to US Eastern."
echo "ln -sf US/Eastern $ROOTDIR/usr/lib/zoneinfo/localtime"
ln -sf US/Eastern $ROOTDIR/usr/lib/zoneinfo/localtime
ln $ROOTDIR/usr/bin/ls $ROOTDIR/bin/ls
--Donald Becker becker@super.org IDA Supercomputing Research Center 17100 Science Drive, Bowie MD 20715 301-805-7482