\documentclass{article}
\begin{document}
\begin{center}
\Large\bf
Step-by-step guide for System upgrade from Slackware 4.0 to 7.1
\end{center}

\begin{itemize}

\item switch to runlevel 1
\item if not already done so, mount new disk in old filesystem, {\em e.g.}:
{\bf mount -t ext2 /dev/hdb2 /new-disk}
\item on the new disk, create directory old-system: 
{\bf mkdir /new-disk/old-systen}
\item copy all files (except /proc and /new-disk) to this folder: 
{\bf cp -ax / /new-disk/old-system}
\item reboot and setup system CMOS to boot from CD-ROM
\item reboot and start installation of new system on old drive 
(install everything)
\item reboot and change CMOS back to previous boot sequence
\item logon as root and mount new-disk in filesystem as before
\item remove `new' home-dir, replace with old one: 
{\bf cd /; rm -rf /home; cp -a /new-disk/old-system/home .}
\item replace the following files with those from the old system:
{\bf /etc/passwd, /etc/shadow, /etc/group}
\item copy old mailboxes: {\bf cd /var/spool/mail; 
cp -a /new-disk/old-system/var/spool/mail/* .}
\item copy configuration files to /etc directory: 
{\bf resolf.conf, inetd.conf, services, hosts.deny, XF86Config, profile}
\item insert Slackware Contrib disk and mount cdrom
\item use pkgtool to install icewm
\item startx does not work - run updatedb and try to fix the problem
\item configure Xfree (run {\bf xf86config} in new system (using
XF86Config as reference for monitor and video card values)
\item Ok, now it works.
\item download ssh-2.2.0 (??) and install it (./configure; make; make install)
\item Apache is in a new location...so: for now just copy the old apache
over to /usr/local/httpd and change the start-up script.
\item sending test mail $\rightarrow$ works.
\item copy over the files in root's home dir:
{\bf cd /; rm -rf root; cp -a /new-disk/old-system/root .}
\item reboot.
\item copy vnc binaries and classes folder
\item icewm is fucked up -> download new version and install again. also
download themes package.
\item copy the httpd authentication password file form /usr/local/etc/httpd
\item ok, ice works now, system is rather large (> 3GB???) I wonder what's
up with that.
\item copy printcap, smb.conf, and all the smbprint "binaries"
\item copy /var/spool/cron/crontabs/* from old system to new system
\item change initab to take out ctrl-alt-del.

\end{itemize}

\end{document}

