LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-10-2009, 02:37 PM   #1
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Rep: Reputation: 165Reputation: 165
remote unattended slackware install


Hi ppl,

I'm looking for a way to install slackware unattended with pxe boot.
I know you can boot up an install from pxe boot, but can you also install it with predefined setup.

So all I have to do is.
login to a server, on this server I'm now able to click a button for a server I select to install an OS (CentOS, debian, ubuntu, windows)
But now I want slackware aswell.

because slackware is using a different installer than the other distro's I want to know if this is possible, and how

rgd,

Tyrael
 
Old 08-11-2009, 11:52 PM   #2
shotwellj
Member
 
Registered: Jul 2005
Location: Tempe, AZ
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
Maybe this link from Alien Bob's wiki is helpful: http://alien.slackbook.org/dokuwiki/...=slackware:pxe .
 
Old 08-12-2009, 09:58 AM   #3
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Original Poster
Rep: Reputation: 165Reputation: 165
I came a little further, but not with your advise.
The page from Alien Bob describes to get started with a remote server where you can easily install multiple slackware servers from.
However you still need to be physically at the server.

the following documents helped me alot more

http://slackbasics.org/html/custom-i...install-script
http://www.mutagenix.org/pxe_kickstart/index.php (written for slackware)

thanks to those 2.

I might write an up to date way on how to do this. and post it here for others to use.
 
Old 08-12-2009, 10:23 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by bartgymnast View Post
The page from Alien Bob describes to get started with a remote server where you can easily install multiple slackware servers from.
However you still need to be physically at the server.
There is a way to make the installer launch a SSH server so that you can login to the machine that is ready to be installed. This is still not an unattended install but at least you do not need to be physically present at the console to start the setup.

For this to happen, the installer must know the answer to a few questions it would usually ask you during boot: (1) the keyboard layout and (2) your network card configuration. If both are known, then the card can be configured with an IP address and a SSH server will be launched in the installer to which you can do a remote login as root (no password).

Then you can remotely start setup (after having run the command ". /etc/profile" - watch the dot - to correctly initialize the environment or else the setup will not be found).

Suppose your keyboard layout is "us", your network interface is called "eth0" and you have a DHCP server in your network. Then, all you need is a "pxelinux.cfg/default" file where the following string is added to the "append" line for your bootkernel:
Code:
kbd=us nic=auto:eth0:dhcp
If instead, you want to use a static IP address of 192.168.0.11/255.255.255.0 (i.e. a netmask of 24 bits) the added string becomes
Code:
kbd=us nic=auto:eth0:static:192.168.0.11:24
If you don't want to use udev but want to determine yourself what module to load then this would be the appended string (I also added a default gateway of 192.168.0.254 to the mix):
Code:
noudev kbd=us nic=e1000:eth0:static:192.168.0.11:24:192.168.0.254
The generic notation for the kbd= and nic= parameters is:
Code:
kbd=<keyboard_layout>
nic=<driver>:<interface>:<dhcp|static>[:ipaddr:netmask[:gateway]]
If your installer uses UDEV (the installer of Slackware 13.0 uses udev by default, earlier versions of Slackware did not have udev in the installer) then the "<driver>" string can be "auto". Without the use of udev, the "<driver>" must be an actual kernel module for your card, like "e1000" in my example above.

Eric
 
  


Reply



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
Unattended remote installation [GOD]Anck Slackware 0 08-18-2008 06:49 AM
Remote encrypted unattended file server nedlud Linux - Newbie 2 06-20-2008 03:22 PM
Unattended install Ryo-Ohki Slackware - Installation 3 08-17-2007 01:35 PM
LXer: Linux dev kit targets remote, unattended apps LXer Syndicated Linux News 0 06-14-2006 03:54 PM
is linux capable of remote install and unattended installation? spyghost Linux - Networking 2 08-09-2004 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:01 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration