LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 11-15-2020, 01:00 PM   #1
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 816

Rep: Reputation: Disabled
Pre-install Slackware Linux question.


Is there a way to "pre-install" Slackware Linux onto a computer (laptop or otherwise), and if so, how would I go about doing that? And the reason I am asking is because I am considering the possibility of maybe selling computers with Slackware Linus on them so that all said buyer would need to do is choose a user name and password.
 
Old 11-15-2020, 01:57 PM   #2
captain_sensible
Member
 
Registered: Apr 2010
Posts: 352

Rep: Reputation: 145Reputation: 145
well i had a similar idea to do that in Ghana to 1) promote Linux 2) i was going to donate a % to Mr V for each sale. Are you going to do that ?

my flight has been cancelled about 6 times due to Corvid 19.

if you look at live slackware they have generic pass like "live" and "live" . So you just install with some root password, then coach your buyer they will use " passwd" to change it, maybe something easy to remember like Trump ? and then adduser or useradd to create a new normal user.
 
Old 11-15-2020, 02:46 PM   #3
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 816

Original Poster
Rep: Reputation: Disabled
I just wanted to see if it could be done in the first place before deciding what my next step would be. I do know that Windows offers OEM-type installation disks which do that, but wasn't sure if Slackware Linux has the same type of software or not.

Last edited by TheNutCase; 11-15-2020 at 03:46 PM. Reason: Correcting a typing error
 
Old 11-15-2020, 02:48 PM   #4
captain_sensible
Member
 
Registered: Apr 2010
Posts: 352

Rep: Reputation: 145Reputation: 145
ah got you, actually that would be handy ..
 
Old 11-15-2020, 03:46 PM   #5
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 816

Original Poster
Rep: Reputation: Disabled
So is there a way to "pre install" Slackware Linux so that all the user would need to do is configure the username and password, and if so, how do i go about doing that?
 
Old 11-15-2020, 03:48 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121
Quote:
Originally Posted by TheNutCase View Post
So is there a way to "pre install" Slackware Linux so that all the user would need to do is configure the username and password, and if so, how do i go about doing that?
You want to sell these computers with Slackware pre-installed, so why should we do all the work for you?
My best advice is that you study the Slackware boot process very carefully, understand how the Slackware setup works and then create a customization that allows you to fulfill your desires.
 
2 members found this post helpful.
Old 11-15-2020, 08:31 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 20,016
Blog Entries: 28

Rep: Reputation: 6384Reputation: 6384Reputation: 6384Reputation: 6384Reputation: 6384Reputation: 6384Reputation: 6384Reputation: 6384Reputation: 6384Reputation: 6384Reputation: 6384
I have to differ a bit from the other posters. I don't see this as being primarily about understanding the Slackware install process.

I suggest that you look for information on how to create and install an operating system image, "image" being the key word.

I understand that that is what manufacturers do. They do not install the OS step-by-step on each machine; rather, they create an image for a particular hardware configuration and then "flash" the image onto each machine when it's time has come.

You might take a look at Clonezilla, though I've never used it in this way.
 
Old 11-16-2020, 04:42 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121Reputation: 8121
Even with Clonezilla, you'd have to create a tool that will only start on first boot, prompts for the creation of a non-root user account, assigns a hostname, configures the network, picks a slackpkg mirror, lets you choose a DE, and so on.

These are all tasks that are also performed by the Slackware setup. Well, with the exception of the user account creation but liveslak's 'setup2hd' does that step as well, so it is easy to copy into your own first-boot program..
 
Old 11-19-2020, 10:08 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,418

Rep: Reputation: Disabled
I've done something similar. Adapt it to his use case is left to the OP as an exercise.
 
Old 11-19-2020, 06:19 PM   #10
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 816

Original Poster
Rep: Reputation: Disabled
???
 
Old 11-19-2020, 06:32 PM   #11
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 816

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
You want to sell these computers with Slackware pre-installed, so why should we do all the work for you?
My best advice is that you study the Slackware boot process very carefully, understand how the Slackware setup works and then create a customization that allows you to fulfill your desires.
I was'nt asking anybody "to do all the work for me", I was just asking if there is any information on how it could be done,and if so, where could I find said information?
 
Old 11-19-2020, 09:13 PM   #12
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
There is no "OEM" installation support in Slackware.

The basic approach is to create an image. Then write a shell script to prep the system for the new user. The script will create user accounts, change the hostname, configure the network. etc.

At work I have such an imaging system for workstations and laptops. Takes about 15 minutes to prep a new disk. After prepping all I do is install the disk in the target computer.

There was some trial and error to create the final image and support script. Nothing overwhelming and the prototyping and testing took several lazy afternoons until I was satisfied with the final image.
 
Old 11-20-2020, 12:09 PM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,418

Rep: Reputation: Disabled
Quote:
Originally Posted by TheNutCase View Post
???
!!!
 
Old 11-20-2020, 03:35 PM   #14
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 816

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by upnort View Post
There is no "OEM" installation support in Slackware.

The basic approach is to create an image. Then write a shell script to prep the system for the new user. The script will create user accounts, change the hostname, configure the network. etc.

At work I have such an imaging system for workstations and laptops. Takes about 15 minutes to prep a new disk. After prepping all I do is install the disk in the target computer.

There was some trial and error to create the final image and support script. Nothing overwhelming and the prototyping and testing took several lazy afternoons until I was satisfied with the final image.
How would you suggest that I do that with Slackware Linux (which already has DVD images available)?
 
Old 11-20-2020, 03:49 PM   #15
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,418

Rep: Reputation: Disabled
Quote:
Originally Posted by TheNutCase View Post
How would you suggest that I do that with Slackware Linux (which already has DVD images available)?
This question as your previous posts in this thread lead me to think that your best chance of success would be to hire someone to do the job.
 
  


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
[SOLVED] Attempting to install Slackware from pre-existing Debian install on a remote server slacker1337 Slackware - Installation 15 02-28-2022 02:02 AM
[SOLVED] another...Slackware 14.1 Install w/pre-installed windows8.1 J1tterBug Slackware - Installation 4 03-24-2014 10:54 AM
[SOLVED] install Slackware from pre-mounted dir hua Slackware 2 01-17-2012 02:55 PM
Pre-emptive vs. Non-pre-emptive kernel jhwilliams Linux - General 7 09-05-2007 09:06 PM
Hello all, got a pre newbie question for you hatchetman Linux - Newbie 15 12-03-2002 03:59 PM

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

All times are GMT -5. The time now is 04:03 AM.

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