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.
|
 |
12-20-2016, 09:23 AM
|
#1
|
Member
Registered: Mar 2015
Location: USA
Distribution: Slackware
Posts: 34
Rep: 
|
Recommended partition scheme Slackware 14.2
(Solved)I setup a 20GB /
a 4GB swap
a 320GB /home and a
120GB /usr
anyone forsee any problems?
I used cfisk to partition;
set the type for /home "home" swap "swap"/ "root" and the other two "linux"
Last edited by jek404; 12-20-2016 at 11:32 AM.
|
|
|
12-20-2016, 10:41 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,593
|
No, I don't see a problem. You might not have made best use of the space on your hd, but you could have had your reasons. You don't say what your disk(s), your ram or your applications are. I am presuming private low intensity home use. 4G might be tight for swap if you're loading heavily on small ram.
|
|
|
12-20-2016, 11:35 AM
|
#3
|
Member
Registered: Mar 2015
Location: USA
Distribution: Slackware
Posts: 34
Original Poster
Rep: 
|
Would you tell me what you would do with 500GB?
Any others with their thoughts; I'd like to hear and the reasoning
Thanks
|
|
|
12-21-2016, 05:06 AM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,593
|
For home use, I did this:
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 1008M 33M 925M 4% /boot (Not normally mounted)
/dev/sda2 6G 0 6G 0% swap (Not normally used)
/dev/sda3 25G 13G 12G 53% /
/dev/sda5 30G 20G 8.6G 70% /home
/dev/sda7 135G 99G 30G 77% /mnt/virtual (houses my VMs)
/dev/mmcblk0p1 32G 32K 32G 1% /mnt/zip (SDCard reader)
Some comments: My swap = my ram = 6G. sda6 had some NTSS (Never The Same System) version of linux (Fedora, I think) that I tired of and removed to upsize SDA7. Anytime I booted it, the NTSS thing wanted to download another gig of bug fixes. It's currently unused. Sda7 houses 2 or three vms, one is vista, one is a linux, and any distro I want to try can go there.
That's small beside your setup, but it's all I need. The junk is in my homedir. I don't have a massive media collection or database, am not a magpie and if I haven't accessed something in a few years, I can purge it. My ssd is 250G.
|
|
|
12-21-2016, 05:57 AM
|
#5
|
LQ Veteran
Registered: May 2008
Posts: 7,155
|
120GB for /usr seems excessive but I don't know what you plan for it, so maybe it's not. Personally, I wouldn't -- and in fact don't -- bother to have a separate /usr.
Unless you have something specific in mind, a separate /, /home and swap is a good starting point. Just make sure that you make '/' big enough to hold all the other directories that you don't separate out.
You'll most likely evolve your layout as you gain experience and come to understand how you use your linux system. Mine has changed several times over the years.
|
|
2 members found this post helpful.
|
12-21-2016, 04:09 PM
|
#6
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,593
|
It's worth noting that some partitions continually fill, others stay relatively stable once the system is installed.
/usr stays fairly stable except if you're continually compiling stuff.
/var expands, particularly /var/log and massively so on a server.
/home inevitably expands unless you have disk quotas
The various other things in / stay fairly stable on many machines; on others, some (e.g. /opt) fill with piles of stuff. It depends on what you do.
|
|
|
12-22-2016, 12:23 PM
|
#7
|
LQ Guru
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792
|
As you can see from the varied posts here, there is no ideal partition scheme. It comes down to what you intend to use the system for. On my htpc with a 256GB SSD, I keep things pretty small. I have a 20GB partition for / and another 20GB for my /home/. Both are under 50% utilization. The remainder of my space is mounted to /share/ and that is where I keep my VM and any temporary video files (they're all stored on a server upstairs, but if I'm going to be doing maintenance on the server, I can copy media locally so things can still be watched -- keeps the family happy when I tinker). Personally, I wouldn't separate out my /usr/ and I don't have a swap (I have 16GB of RAM in it and kodi+KDE never uses more than 1GB, and my main VM has 8GB allocated, so I still have a 7GB buffer).
But my desktop is a different story. I have a Crucial 480GB SSD for my primary drive and I feel cramped with it. I have 8GB for swap (plus another 8GB reserve swap file I can enable if needed), 200GB for /, 50GB for /var/www/ (since I allow uploads, I don't want some jerk to fill my root partition with junk), and the remainder for /home/. I also have 5 additional drives all mounted under /share/ for my media collection (around 19TB with 82% usage). I compile a LOT of software on that machine and I tend to keep the source around, so it can fill up my /tmp/ (if compiling using SlackBuilds), or my ~/program-downloads/ if I'm compiling it manually (usually only for testing). I currently have over 30GB of files in my /usr/ directory and 60GB in my /tmp/. My root partition is around 60% utilized, so if it were to get up much higher, I'd probably have to start clearing things out. My home directory contains a lot of stuff, including steam games (which can take up a large chunk of space, but I want the speed benefits of my SSD). I'm sitting about 80% utilization in there. All media is stored on my regular HDDs under /share/.
On my slackrepo VM, I just have one partition with no swap.
As you can see, depending on your situation, various partition schemes can be utilized. If I was running a more serious server, I'd probably consider putting /var/ and /tmp/ on their own partitions to ensure that some runaway process can't fill them with files and ultimately fill my root partition. However, if it happens, I could handle the downtime it may cause. Some users also keep their /usr/ on a separate partition, however, it seems like this is getting more and more difficult to manage due to upstream not taking those setups into account.
|
|
|
12-22-2016, 08:05 PM
|
#8
|
Member
Registered: Mar 2015
Location: USA
Distribution: Slackware
Posts: 34
Original Poster
Rep: 
|
I decided on my Acer Aspire E 15
/20GB
swap 4GB
937GB ext4
|
|
|
All times are GMT -5. The time now is 12:45 PM.
|
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
|
|