LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-14-2018, 12:58 PM   #1
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Any help for automated install?


Hi all, 


I did a quick search but only found quite old threads about that. 


I have about 40 (a bit old laptops)  that were given for a school. 


I would like to have a (as fully as possible)  automated full Slackware64-current with EFI (and with alienbob's plasma but for that I could adapt things myself) install on each using usb thumb drive(s) :

No network config

Same root password 

Same basic user and password 

Same init level (plasma) 


Set timezone  locale, keyboard, X keyboard and kde locale 

Add a few pkg (Libreoffice, vlc, gimp, perhaps a few educational softwares) 


All laptops can boot from USB and have a hdd that I would part with 200M efi partition, 2G swap, 30G / and the remaining space for home. 


I think I can write all the post-install stuff but I am wondering in what direction look for the starting point :

I tested the setup2hd script provided in the plasma version of liveslack (that works well) but would like to avoid launching the live distribution at first. 

I was thinking of using the mini iso installer to point to a custom repo eventually 


As I am at best average user, any help would be appreciated, pointing me in the right direction(s?), giving warnings, suggesting tools or pointing me to parts I'll have to pay attention to. 

Thanks by advance!
 
Old 11-14-2018, 01:39 PM   #2
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
One option I use is creating master partition images. Create one system. Configure and tweak everything. That is the master system.

Copy those disk partition images to other system disks. Removable drive bays are useful.

If you are using Slackware then create a bootable USB stick.

With laptops that might mean a lot of dissassembly to pull the hard drives for reimaging. An alternative to avoid that is a Live ISO and a USB-to-SATA adapter. Connect the master image disk to the adapter and boot with the Live ISO. Use gparted to copy the master partition images to the laptop disk. Reboot the Slackware bootable ISO stick. After botting into the laptop reinstall the boot loader.

Keep the master disk to small partition sizes. The gparted copying will be faster, especially with a USB-to-SATA adapter that is limited to USB speeds. After reimaging the master partitions, gparted can be used to increase the size of the final partitions.

Although not using Slackware at work, I use a similar imaging process. I can create new systems in about 15 minutes. We don't use EFI and I don't know how that additional partition would affect the imaging process. If you are using these systems with only one operating system then using EFI is not critical. Just configure the BIOS for legacy mode. I use GPT rather than MSDOS partitions.
 
Old 11-14-2018, 02:59 PM   #3
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by upnort View Post
One option I use is creating master partition images. Create one system. Configure and tweak everything. That is the master system.

Copy those disk partition images to other system disks. Removable drive bays are useful.
Clonezilla Server does multicast cloning over the network.
 
Old 11-14-2018, 10:36 PM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
You say "No network config", but if the laptops have a wired interface, then when preparing an image for cloning I suggest removing the file /etc/udev/rules.d/70-persistent-net.rules
It will be automatically generated at boot with a rule for the unique MAC address.
 
Old 11-14-2018, 10:45 PM   #5
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 393

Rep: Reputation: 81
I make up my 'master' until satisfied. Then booting from (almost) anything (other than the master - obviously), making a tarfile of the master system. Carrying the tarfile on an external usb drive, carry it to each machine in turn and just untar the darned thing - or ... it can be done over the network. It means zero problem with different partition sizes. Works for me ...
 
Old 11-15-2018, 09:50 PM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Well...

There's stuff out there, but almost nothing for Slackware.

FAI is slightly cross distribution (debian/redhat is mentioned), but it might be possible to extend it with Slackware stuff. Nobody's done that, so it would be up to you. https://fai-project.org/features/

There was a Slack-Kickstart project, but it's been quiet since 2006; not sure it is worth looking into. http://www.slack-kickstart.org/
 
  


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
Is there any Automated Test tool which works with Linux/Linux GUI? epos SUSE / openSUSE 1 04-16-2008 03:08 AM
Any Automated Testinfg Tool for Diagnosis of linux os Basavaraj Linux - Software 1 02-08-2006 01:43 PM
Any automated scripts to run DVD Backups? bweiss Linux - Newbie 3 04-28-2005 09:52 AM
Automated install based off of current machine? MHouse Fedora - Installation 4 06-25-2004 05:28 PM
Install script for Automated RH mac_casey Linux - General 3 11-11-2002 02:41 PM

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

All times are GMT -5. The time now is 01:51 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