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.
I have a 7.5G partition for installing Slackware. What is the best solution to partition this 7.5G space? I mean how much should the "/" has, and swap partition, home and so on?
Depends on how much you install and how much RAM you have and what your usage is going to be. Maybe 3 gigs would do for root, depending. /home is up to you - very little room needed for config files and however much space you personally want. Rule of thumb for swap is twice your physical RAM but it's a dumb rule these days. With only 7.5 gigs, might just make 256MB but it would vary.
-- Whoops. Good link. I strongly recommend the separate /home, though - that link just makes it sound like a 'sorta' good idea. And I did the symlink thing to home for awhile but it felt funny so I made them separate again for 9.1.
there's a simple rule for swap space:
RAM*2 = size of swap partition
for the rest of
well...since I know what I want to install I'd use 2gig for / and the rest for /home,
but I guess you'd rather use everything for / ... that's the safest ^^
A seperate /home partition is great . Your mail and settings and much more is stored in your hpme dir and will be restored if you decide to get another version of Slack.
My Slack 9.1 install with some sources is about 3.5 gigabytes. I would suggest a 4 gigabytes filesystem for / (root) if you are planning to install KDE or Gnome and X. If you're planning a machine without X you could save 1 gigabyte. The rest is for /home and swap ( 2 times amount of internal memory maximum 512 MB swap) .
I have another question which is very important to me.
I have 6 partitions on my hard disk now. Let's label them: C, D, E, F, G, H.
C, D, E, F reserved for Windows XP for some reason, I have to keep it. G has RedHat 9 installed. I don't want to use it any more. However, I won't remove it untill I set up my Slackware.
Now I want to install Slackware on H partition. When I install Slackware, how can I know I install it exactly on this H partition. That is I may partition this H partition to several partition for swap, root, boot, home etc. I don't want ot make this mistake such as install Slackware to D or E partition, that will lead to lose important data.
Slack will ask you where you want stuff*. If C is hda1, etc., then H would hda7 (assuming D2/E3/logical 4/F5/G6/H7) and any slicing you did would just extend it from there - hda8, etc. Is RH on hda6? Then Slack would be hda7+. Anyway - the output of fdisk -l (particularly in conjunction with /etc/fstab) should give you a good idea of what's going on.
*by that, I mean the installer will present you with a menu listing of partitions - it IDs Windows partitions and swap spaces and pretty much ignores Windows and asks if you'd like to initialize the swap - and asks where you'd like to put root and then asks you define any further partitions and mountpoints for them. So, basically, if you know the layout of your disk, you can't go wrong - Slack won't do anything without your say so.
-- Yet another edit. I've never had anything go wrong like that but, still, it's a very good idea to back up your data before something like this. That way it's impossible to 'lose' data no matter what you do - at worst you temporarily misplace it.
I'm not an expert, but from what I understand you should set the swap depending on the load you expect. For example, I have 768 MB ram on my system and a 500 MB swap. Now if you were running a server with a heavy load you may want to follow the double your RAM rule. For most desktop users though, 500 MB is enough. Generally the only time you use the swap at all is if you have enough stuff running where you use all of your physical ram. Personally, I've never had linux dip into my swap with my current system configuration.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.