LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-18-2002, 02:48 AM   #1
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Question How to automate slackware install completely


Hello,

I am trying to figure out how to automate the slackware install. I have been using slackware since 7.0. I have customized the tagfiles but I want to be able to automate the install process. Maybe with a config file or something ?

Any help is appreciated.
 
Old 11-18-2002, 06:54 AM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
I would suggest that you write your own install script. Or, the way I do multiple identical installs, install as desired on a system and config, upgrade,etc. and then do a tar file backup of the system to another hard disk and burn the backup to a bootable CD or save to tape, etc. Then it is just a simple restore operation.

Hope it helps.
 
Old 11-18-2002, 10:17 PM   #3
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Original Poster
Rep: Reputation: 30
Yes, but how do I create a setup script. Can I just explode each package into the / of the HDD.
 
Old 11-19-2002, 03:56 AM   #4
LNXman
Member
 
Registered: Jul 2002
Location: California (USA)
Distribution: Slackware
Posts: 97

Rep: Reputation: 15
Quote:
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 and grep to accomplish that.

GL
 
Old 11-19-2002, 06:57 AM   #5
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
There are also many others steps required to have a successful Slack install besides just the packages. Like lnxman was discussing. When executing lilo on a different mount point than the current system, lilo needs to be instructed where the root of the file system will be. Using the example from lnxman, lilo -r /mnt. Lnxman mentioned the fstab config, there must also be the networking, timezone, etc. configuration as well. The setup program that Slack uses is just a script itself and would have all the steps required. Install your packages as desired, then copy from your own directory the actual config files required onto the system from your script. Then complete by running config programs required like lilo.

This process will require bash programming to create the script. If you are not experienced in this area then I would suggest taking the time to learn some bash programming. The man page for bash is most excellent coverage but it is just a reference, not a tutorial. You might try to google "bash" and see if any of the links are of any interest.

Good luck
 
Old 11-21-2002, 04:06 AM   #6
KenHan
LQ Newbie
 
Registered: Nov 2002
Location: Sweden
Distribution: SlackWare 12.2
Posts: 19

Rep: Reputation: 0
I think I saw something on sourceforge about that ..
I think they have a project there ..



//KenHan
 
Old 04-16-2003, 10:04 PM   #7
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Original Poster
Rep: Reputation: 30
Hey, the auto install was finished for slackware 8.1 and worked great. I am just adding some new things for slackware 9.0 (new kernel).

Michael Gale.
 
Old 08-20-2003, 08:01 AM   #8
vonatar
LQ Newbie
 
Registered: Aug 2003
Location: Italy
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by KenHan
I think I saw something on sourceforge about that ..
I think they have a project there ..



//KenHan
Hi,

if you're interested, i've a project on sourceforge:

slack-kickstart.sourceforge.net

The 'stable' version is deprecated: download the current version on CVS, it works quite well.

Feel free to contact me for any bugs, ideas or info!

Cheers

Vonatar
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
copied hard drive install not completely recognized theFez Linux - Hardware 2 05-14-2005 10:41 AM
completely new to linux/slackware texasnoob Slackware 8 06-04-2004 01:25 AM
up2date problem - failure to completely install new kernel rpm haribon Red Hat 3 02-03-2004 04:04 PM
Completely New (No Sound on Slackware) Shr00mBoXx Linux - Hardware 12 01-01-2004 01:27 PM
Slackware 8.1 is completely missing crt1.o fern Slackware 11 08-31-2003 06:33 AM


All times are GMT -5. The time now is 11:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration