Originally posted by Bluesuperman
Yes, but how do I create a setup script. Can I just explode each package into the / of the HDD.
If you are booting
from floppy, or C.D. (as I assume you will), then /
will be set in memory, and not the H.D. This means that if you try to explode packages onto /
, you will either, run out of memory during installation && lose your install, or lose your install even if you succeed with the installation, after you reboot.
If you study the installation process for most distros, you will see they create a mount point (usually in /mnt) where they mount all the partitions that are going to be part of the O.S.'s F.S. as defined by you (or the automation process). Once the mounting of parititions is finished under the mount point, the distros explode, or unpack the kernel, F.S. apps, and any other apps desired to be part of the installation. In your case, since you want Slackware, you will explode the packages under the mount partition (assuming /mnt). Then you will make sure your fstab is correct for the installation process (if different per machine), setup the module(s) that are going to be needed at boot time in the appropriate rc.* file(s), pay attention to LILO's lilo.conf file (if different per machine), and finally run lilo to make sure the installation boots after you are done (pay attention to what lilo.conf requires from to you succeed with the LILO setup).
A side note: If this installation will be done in multiple machines, and each machine's HW configuration is different, you are going to have to create your own local HW detection script for module setup. You could use lspci
in combination with awk
to accomplish that.