Slackware - InstallationThis 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.
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.
depends on how crazy you want to get... / 100% is the easiest.. if you want to make sure logging doesn't squash the system partition, you can slice one off for /var/log. If you want to make /home non-executable, you can slice one off for that two...
IMHO, / 100% is the best way to go unless you have special requirements.
It depends, if you plan on updating your system and keeping your /home directory safe, then make a / and /home. If you don't care about this, then just make one large partition / (this is what I do, just to force myself to backup my data, because I'm lazy and don't like to back it up, and it also gets rid of lots of junk software that I installed, forgot, and never used again).
Last edited by H_TeXMeX_H; 02-07-2009 at 09:47 AM.
I would suggest a minimum of two partitions, a primary and a 2GB swap partition. You can run Slackware without a swap partition with 1GB of RAM, but having a swap partition is useful if you want to handle large files (e.g. video editing).
You could also consider splitting your primary partition into two equal partitions, one to hold the official 12.2 release and a second to hold slackware-current so that you can use KDE 4.2 from /testing. Having a stable setup to boot to when running slackware-current has saved me a lot of grief in the past.
I too would recommend a swap partition, I didn't mention that but assumed that you were asking about the partitioning of the root partition only, and that you already made a swap partition. Technically you could also use the swap files method if you already installed everything.
If you've not spent much time customising/setting up your system, then it might be worth reinstalling with a proper swap partition (it doesn't take long with slackware and its all good experience). If you've got to the stage where you've already spent too much time/effort on setting up your system to lose, then follow TexMex' advice and use swap files. With 1G ram, they probably won't get used much anyway and you can always repartition the next time you come to re-install.
The way it tends to go is that people start off with one big root partition and as they become more experienced they'll probably move to a separate /home, and later still they may also start to partition off other stuff depending on their own preferences.
adding an entry for the swap to fstab will ensure it gets activated automatically on bootup.
Something along the lines of
Code:
/swapfilename none swap auto 0 0
The second field is commonly coded as 'swap', but the manual page for fstab actually tells you to use 'none'. My guess is that the field just gets ignored. I'm not sure which is more correct.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.