SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
/home as said previously is where all your user files and settings will go. / is the root of the filesystem where /root is just root's home directory /usr is primarily where all the software will get installed system wide. /var/log is where your logs go /etc is where your configuration files will be /boot is where your kernel images/configs should be including other stuff for booting /tmp is where temporary files go
When you back up your machine I recommend backing up user directories under /home, /var/log, /etc, /boot (if you have custom kernels), and /root if you have anything important in there.
It is a good idea to create a separate partition for /home. How much space you need for / depends on how much you want to install, so that is hard to gauge.
Some people make separate partitions for /var, /boot, /usr, and /tmp, but it really boils down to your preferences/needs. On this system I only have / and /home because it is just a desktop system.
You can ask 100 people how to partition and you may receive 100 different answers. It is almost impossible to answer since nobody knows what you plan on doing with your box.
I personally use /boot, swap, /, and /home partitions on my 40 Gig drive
/boot ~132 Meg / ext2
swap ~1 Gig (1 - 2 times physical RAM, I have 512 Meg)
/ ~12 Gig / ext3
/home Remainder / ext3
I pretty much agree with slackass. If you are planning on /, swap, and /home partitions and have a fair amount of "personal" files ie: pictures, images, docs, etc.), a place to start (again this is for a 40 gig drive) might be:
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
for me arnd 6-7 gb for / was enough. I also saw someone use a partition was /opt where he put all the jdk/jre/eclipse/kde4/etc. etc. softwares which took up a lot of space. (along with 1 for /home
When i was a newbie with Slackware i just followed Shilo's website (seems down atm: http://shilo.is-a-geek.com). I'm gonna copy/paste from the google cache:
Quote:
Install Slackware
Do a full install. Don't bother with kdei, that is the internationalization package for KDE. I never need any of the international settings....(deleted some lines)
I know that a lot of people get hung up on partitioning. My recommendation is that you go with the path of least resistance. That means that you are only gonna need two partitions for your install, a root partition and a swap partition. There are a lot better partitioning schemes out there, but this one will work. Just make a swap partition twice the size of your RAM and another partition that takes up whatever free space you have. This is simple and doesn't require a lot of thought. When you feel more comfortable with Slackware and Linux in general, you will probably want to make separate partitions for /home, /var, and /tmp to make your box more secure (stable) and make upgrading easier. When I started out, though, partitioning was confusing. If you run only a root and a swap partition, you will get a feel for how big to make each of your partitions in the future.
I strongly suggest a /data partition for file storage. In my experience a /home partition for all your files can be tedious if you plan to try out different distros.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
I mount the data partition in my home directory through. Makes saving anything in it very easy , nearly all apps have a home button but none usually have a "/" button.
Not necessarily. If you have more than about 1GB of RAM, you probably need only 512MB of swap. I happen to have 2GB of RAM in this machine & have never used swap. But of course it also depends on how memory intensive your applications are.
Regards,
Bill
agreed. Most people with a decent amount of RAM (>= 1GB) will find that they never use swap (unless using apps that specifically use swap even when plenty of RAM is available). 512MB is plenty then.
Even if your machine has less memory, you probably don't need a ton of swap. Simply run as many memory intensive apps all at once that you think you would ever use and see how much swap you're using.
So, setting swap to 2X the amount of memory is really only a guide.
For a full install of Slackware I recommend a minimum of 9GB for / This will give you room to add more software. Honestly, 15GB should be plenty of space for / unless you plan on adding a lot and want to keep disk usage low (which I recommend you try to keep it 70-75% or less). These recommendations are of course assuming that you are using a partition for / and another for /home.
The size needed for /home is really dependent on what you do with it (same as for all the others). For instance, since I compile a lot of software and have ISOs and bunches of docs my /home is actually bigger than /. I imagine that most Linux users that opt to have a /home partition would have it at least the same size as the / partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.