lilo - Boot loader ChangeLog

HOWTO


# lilo
# ====
# Prerequisites:
# bin86 at least, dev86 if you want the diagnostics too
# nasm (no longer required as of 22.6)

# lilo 22.7.3 is the latest, 22.6.1 (bottom) is the latest version from
# the 22.6 series.  If you need an older version for some reason or are
# worried that 22.7.3 may have undiscovered bugs, go with that one.

# If this is a first time installation of lilo, I'd suggest running
# ./QuickInst below instead of make.


# lilo 22.7.3
# ===========
cd
test -f installed/lilo-22.7.3.src.tar.gz &&
mv installed/lilo-22.7.3.src.tar.gz .
test ! -f lilo-22.7.3.src.tar.gz &&
wget http://home.san.rr.com/johninsd/pub/linux/lilo/\
lilo-22.7.3.src.tar.gz

# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "a3aacf90482e0c07492623042b901503  lilo-22.7.3.src.tar.gz" | md5sum -c

# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "d6de449607dfca518ca4e0d5d3be5d7d98eab0e5  lilo-22.7.3.src.tar.gz" | \
sha1sum -c

# Verify the tarball w/ gpg:
( gpg --list-keys 178A1C6B > /dev/null 2>&1 || gpg --recv-keys 6781C9C8 ) &&
wget -nc http://home.san.rr.com/johninsd/pub/linux/lilo/\
lilo-22.7.3.src.tar.gz.sig &&
  gpg --verify lilo-22.7.3.src.tar.gz.sig && rm lilo-22.7.3.src.tar.gz.sig

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "lilo-*" -exec rm -r {} \;
tar xzvf ~/lilo-22.7.3.src.tar.gz
cd lilo-22.7.3
test $UID = 0 && chown -R root:root .

# This will verify that everything is installed that needs to be
make test

# This will build lilo
make all

# You need Dev86 to be installed to be able to run 'make floppy' (two
# bootable diagnostic floppies) or 'make diagnostic' (standalone).  You will
# also need to be root to make the floppies because it will mkfs.msdos and
# mount it has a loop device.
#
# If you do run 'make floppy', make sure the mkfs.msdos symlink exists:
# test ! -L /sbin/mkfs.msdos && ln -s /sbin/mkdosfs /sbin/mkfs.msdos

# If you want the docs (requires latex - Slackware has a tetex package)
make docs

# Become root to back up files and to install it (and to build it if you
# haven't already)
su

# Back up /boot and your existing lilo.conf (if there is one)
mkdir -p -m 0700 ~/backup/boot-old
test -f ~/backup/lilo.conf &&
mv -f ~/backup/lilo.conf ~/backup/lilo.conf.old
test -f /etc/lilo.conf && cp -f /etc/lilo.conf ~/backup/
test -d /boot && cp -af /boot/* ~/backup/boot-old/

# Remove the Slackware package (if there is one), install lilo
test -x /sbin/removepkg && /sbin/removepkg lilo
make install
chown -R $USER .
chmod -R u+w .

# If you don't already have an /etc/lilo.conf, here's an example.  You will
# most certainly need to edit it before installing it.
cp sample/ins64a.bmp /boot/
test ! -f /etc/lilo.conf &&
wget http://englanders.cc/pub/linux/misc/lilo.conf -O /etc/lilo.conf

# Add a lilo diagnostic to the boot menu
test -f diagnose/test4.com &&
cat pseudo.b diagnose/test4.com > /boot/test4.img
# Add these lines to /etc/lilo.conf:
# image = /boot/test4.img
#   root = current
#   label = diagnostic

# Install/update the boot loader
chmod 600 /etc/lilo.conf
/sbin/lilo

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/lilo-*.tar.* installed/lilo-*.diff
mv lilo-22.7.3.src.tar.gz installed/


# lilo 22.6.1
# ===========
cd
test -f installed/lilo-22.6.1.src.tar.gz &&
mv installed/lilo-22.6.1.src.tar.gz .
test ! -f lilo-22.6.1.src.tar.gz &&
wget http://home.san.rr.com/johninsd/pub/linux/lilo/obsolete/\
lilo-22.6.1.src.tar.gz

# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "18473e10859767b8af5d08aa7d9fe1e7  lilo-22.6.1.src.tar.gz" | md5sum -c

# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "34c6706bd9ecdd09e0cf7e8c47e1d25f156799c5  lilo-22.6.1.src.tar.gz" | \
sha1sum -c

# Verify the tarball w/ gpg:
( gpg --list-keys 178A1C6B > /dev/null 2>&1 || gpg --recv-keys 178A1C6B ) &&
wget -nc http://home.san.rr.com/johninsd/pub/linux/lilo/obsolete/\
lilo-22.6.1.src.tar.gz.sig &&
gpg --verify lilo-22.6.1.src.tar.gz.sig && rm lilo-22.6.1.src.tar.gz.sig

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "lilo-*" -exec rm -r {} \;
tar xzvf ~/lilo-22.6.1.src.tar.gz
cd lilo-22.6.1
test $UID = 0 && chown -R root:root .

# Become root to install it
# Normally make could be run as a non-root user, but it runs mkfs.msdos
# for the diagnostic disk, which has to be done as root
su
test ! -L /sbin/mkfs.msdos && ln -s /sbin/mkdosfs /sbin/mkfs.msdos
make

# Back up /boot and your existing lilo.conf (if there is one)
mkdir -p -m 0700 ~/backup/boot-old
test -f ~/backup/lilo.conf &&
mv -f ~/backup/lilo.conf ~/backup/lilo.conf.old
test -f /etc/lilo.conf && cp -f /etc/lilo.conf ~/backup/
test -d /boot && cp -af /boot/* ~/backup/boot-old/

removepkg lilo
make install
chmod -R u+w .

# If you want to create diagnostics floppies, run 'make floppy' (requires
# the bcc compiler from dev86)

# If you don't already have an /etc/lilo.conf, here's an example.  You will
# most certainly need to edit it before installing it.
cp sample/ins64a.bmp /boot/
test ! -f /etc/lilo.conf &&
wget http://englanders.cc/pub/linux/misc/lilo.conf -O /etc/lilo.conf

# Install/update the boot loader
chmod 600 /etc/lilo.conf
/sbin/lilo

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/lilo-*.tar.* installed/lilo-*.diff
mv lilo-22.6.1.src.tar.gz installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-08-16 11:36pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]