Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-15-2020, 01:00 PM
|
#1
|
Member
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 816
Rep: 
|
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.
|
|
|
11-15-2020, 01:57 PM
|
#2
|
Member
Registered: Apr 2010
Posts: 352
Rep: 
|
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.
|
|
|
11-15-2020, 02:46 PM
|
#3
|
Member
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 816
Original Poster
Rep: 
|
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
|
|
|
11-15-2020, 02:48 PM
|
#4
|
Member
Registered: Apr 2010
Posts: 352
Rep: 
|
ah got you, actually that would be handy ..
|
|
|
11-15-2020, 03:46 PM
|
#5
|
Member
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 816
Original Poster
Rep: 
|
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?
|
|
|
11-15-2020, 03:48 PM
|
#6
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Quote:
Originally Posted by TheNutCase
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.
|
11-15-2020, 08:31 PM
|
#7
|
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
|
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.
|
|
|
11-16-2020, 04:42 AM
|
#8
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
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..
|
|
|
11-19-2020, 10:08 AM
|
#9
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,418
Rep: 
|
I've done something similar. Adapt it to his use case is left to the OP as an exercise.
|
|
|
11-19-2020, 06:19 PM
|
#10
|
Member
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 816
Original Poster
Rep: 
|
???
|
|
|
11-19-2020, 06:32 PM
|
#11
|
Member
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 816
Original Poster
Rep: 
|
Quote:
Originally Posted by Alien Bob
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?
|
|
|
11-19-2020, 09:13 PM
|
#12
|
Senior Member
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893
|
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.
|
|
|
11-20-2020, 12:09 PM
|
#13
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,418
Rep: 
|
Quote:
Originally Posted by TheNutCase
???
|
!!!
|
|
|
11-20-2020, 03:35 PM
|
#14
|
Member
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 816
Original Poster
Rep: 
|
Quote:
Originally Posted by upnort
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)?
|
|
|
11-20-2020, 03:49 PM
|
#15
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,418
Rep: 
|
Quote:
Originally Posted by TheNutCase
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.
|
|
|
All times are GMT -5. The time now is 04:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|