LinuxQuestions.org
Review your favorite Linux distribution.
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 09-01-2010, 02:10 PM   #1
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, Portugal
Distribution: Slackware
Posts: 261

Rep: Reputation: 72
Post Slack minimal install - HowTo


Judging from the number of threads about it, there seems to be quite some people that want/need a minimal install of Slackware.
So, I made this little HowTo to make it easy for them.

Please note that this is only my way of doing so, and probably not even the best way to do it... but there it is.

Since I'm a noob with wordpress (this is hosted on my home internet line and SPAM scares me), I turned off comments to my blog, so if you have any questions about it, feel free to contact me here at LQ.

EDIT:
You can grab the tagfiles for slackware 13 and up, here.

My goal is to have a "as small as possible" Slackware install with the following requirements:
  1. udev must be working, so hardware detection functions properly
  2. pkgtools must be working, so expanding the base install is not a problem
  3. slackpkg must be working, so getting/installing new packages is made easy
  4. sshd must be working, so you can access your machine remotely
  5. network must be working, see points 3 and 4

The package list, which after install will use around 335MB, is as follows:
Code:
aaa_base                                         
aaa_elflibs                                      
aaa_terminfo                                     
acpid                                            
apmd                                             
bash                                             
bin                                              
bzip2                                            
coreutils                                        
cpio                                             
dbus                                             
dcron                                            
devs                                             
dialog                                           
e2fsprogs                                        
etc                                              
findutils                                        
gawk                                             
glibc-solibs                                     
grep                                             
gzip                                             
kernel-huge-smp                                  
kernel-modules-smp                               
lilo                                             
logrotate                                                                              
module-init-tools                                
openssl-solibs                                   
pciutils                                         
pkgtools                                         
procps                                           
sed                                              
shadow                                           
slocate                                          
sysfsutils                                       
sysklogd
sysvinit
sysvinit-functions
sysvinit-scripts
tar
udev
util-linux-ng
which
xz
diffutils
nano
slackpkg
hal-info
ncurses
dhcpcd
gnupg
gnupg2
gpgme
iputils
net-tools
network-scripts
openssh
wget

Last edited by Slax-Dude; 09-02-2010 at 04:05 PM.
 
Old 09-01-2010, 10:41 PM   #2
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 490
Blog Entries: 1

Rep: Reputation: 55
This is a topic that interests me. I used to keep a live-CD around to help me recover from any mistakes I might make in tweaking my system. Years ago I installed Slax-Frodo (a CLI system) to a 1G partition on my HD. I later replaced all the packages in that system with the ones from Slackware. Now Linus72 has a minimal list on his site, which I recently made tagfiles from & installed. He said it is under 700 MB, but it was just over 800 on my system, without a WM. I have not had a chance to compare my tagfiles with yours. How big is the system that yours installs?
Regards,
Bill
 
Old 09-02-2010, 01:35 AM   #3
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
You should cut and paste the howto (without the pictures) to this thread, also add a link to the parent directory of the tagfiles, so that people can download for their version of Slackware , and also list the files that are included. This would allow people to tailor the tagfiles for themselves, for example you ADD xfs but SKP jfs, others might prefer it another way.

Looks good.

samac
 
Old 09-02-2010, 02:36 AM   #4
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 38
I can mirror it with full credits on writtenandread.net, if you are interested - and it is not a disgrace to put it on a Debian server...
You may also consider actually describing how tagfiles work. In my world, they are the way to go. Also, they make it easy to do a Slackware remix of your own.
 
Old 09-02-2010, 10:07 AM   #5
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, Portugal
Distribution: Slackware
Posts: 261

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by TSquaredF View Post
How big is the system that yours installs?
After installed, the system will take up about 335MB.
Updated my post with this information.
 
Old 09-02-2010, 10:07 AM   #6
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, Portugal
Distribution: Slackware
Posts: 261

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by mjjzf View Post
I can mirror it with full credits on writtenandread.net, if you are interested - and it is not a disgrace to put it on a Debian server...
You may also consider actually describing how tagfiles work. In my world, they are the way to go. Also, they make it easy to do a Slackware remix of your own.
You can mirror it if you want, but please keep a link to the original post.
As for tagfiles, users should read chapter 18.4 of the Slackbook here.
 
Old 09-02-2010, 10:08 AM   #7
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, Portugal
Distribution: Slackware
Posts: 261

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by samac View Post
You should cut and paste the howto (without the pictures) to this thread
I don't believe it's necessary to replicate it here, as following a link is trivial.
Also, I might have to change something and that would mean correcting all the "mirrors". I simply don't have the time to maintain several copies of it.

Quote:
Originally Posted by samac View Post
also add a link to the parent directory of the tagfiles, so that people can download for their version of Slackware , and also list the files that are included. This would allow people to tailor the tagfiles for themselves
Done

Quote:
Originally Posted by samac View Post
for example you ADD xfs but SKP jfs, others might prefer it another way.
That was a mistake I made. I already removed xfsprogs from the tagfiles. Thx for catching it!

Quote:
Originally Posted by samac View Post
Looks good.
Thx
 
Old 09-02-2010, 01:16 PM   #8
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
Nice work, Slax-dude.

One quick comment/question: why use the -huge kernel instead of the -generic one? Typical practice with Slackware is to use the huge kernel for the initial boot and installation, but then make an initrd and boot one of the generic kernels for day to day running. You've got mkinitrd in your list, so why not the generic kernel?

Regards,
 
Old 09-02-2010, 02:36 PM   #9
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, Portugal
Distribution: Slackware
Posts: 261

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by Lufbery View Post
why use the -huge kernel instead of the -generic one? Typical practice with Slackware is to use the huge kernel for the initial boot and installation, but then make an initrd and boot one of the generic kernels for day to day running.
I experimented with different packages, but ultimately decided that using a huge kernel would be the fastest and less complicated way to install Slackware.
Note that after booting your new minimal system, you can always use slackpkg to download and install any package you want (that's one of my main goals).

Quote:
Originally Posted by Lufbery View Post
You've got mkinitrd in your list, so why not the generic kernel?
My mistake. I forgot to remove it from the final package list.
I fixed the tagfiles and the list on this post.

Thx for spotting that and for your comment
 
Old 09-02-2010, 02:41 PM   #10
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
Glad to be of some little help.

<kidding>Now you just need to add Emacs and you've got yourself an operating system.</kidding>

Regards,
 
Old 09-02-2010, 03:13 PM   #11
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware
Posts: 386

Rep: Reputation: 41
Quote:
Originally Posted by Lufbery View Post
<kidding>Now you just need to add Emacs and you've got yourself an operating system.</kidding>
<kidding>An operating system lacking a decent editor</kidding>

*Ducks*

-A
 
Old 09-02-2010, 03:23 PM   #12
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Rep: Reputation: 56
Hi,
I tried to do minimal X server installation. But what appeared to be enough and really minimal for Ati Radeon 7500 GPU on a box was not enough for an Intel 82xxxGM card on my notebook. Both computer are running on slack 13.1.
 
Old 09-05-2010, 09:01 PM   #13
enine
Member
 
Registered: Nov 2003
Distribution: Slackware 14.1
Posts: 803
Blog Entries: 3

Rep: Reputation: 90
I need to dig out my old system, it was 10.x IIRC and on a 128M flash card. I just installed the A set in setup then a package or two here and there from the rest.
 
Old 09-06-2010, 01:46 AM   #14
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Rep: Reputation: 56
@enine
Thank for BackTrack 4. Never hear before. But I had look at website - looks nice.
 
Old 09-06-2010, 02:45 AM   #15
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,763

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
Slax-Dude, that's a very nice list there. It's the closest I've seen to a really minimal install since the one I used to have for slackware-9.1. the trouble with most minimal install package lists is in the fine print of what the authors' idea of 'minimal' is. Like you, I tried to pare the concept down as far as possible -bootable, with login being the most minimal of all(always using full packages instead of cut down ones). Of course extendability and minimal network capability are the next step. Beyond that, the term minimal doesn't really apply any more IMHO. It's a great learning exercise to produce such a list.
 
  


Reply

Tags
install, minimal, slackware


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
Installed Minimal Slack incl. dhcp/dhcpd but what to install to connect? linus72 Slackware 4 05-31-2009 05:34 AM
See my minimal install HOWTO gnashley Slackware 14 02-01-2008 06:24 PM
Minimal Install Tagfiles --- Slack 10? Nitrox Slackware 5 10-12-2004 08:58 PM
Minimal Slack 9.1 Install Questions Poetics Slackware 1 05-22-2004 04:31 PM
Minimal Slack install to minimize footprint? busbarn Slackware - Installation 2 03-31-2004 12:31 PM


All times are GMT -5. The time now is 10:42 AM.

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