LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-22-2003, 08:16 PM   #1
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Rep: Reputation: 30
solution for partition for installing Slackware


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?

Thanks for help.
 
Old 12-22-2003, 08:20 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
http://wombat.san-francisco.ca.us/fa.../cache/57.html
 
Old 12-22-2003, 08:23 PM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.

Last edited by slakmagik; 12-22-2003 at 08:26 PM.
 
Old 12-22-2003, 08:23 PM   #4
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
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 ^^
 
Old 12-22-2003, 08:44 PM   #5
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
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) .
 
Old 12-22-2003, 08:53 PM   #6
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
Thanks guys.

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.

Thank you for your help.
 
Old 12-22-2003, 09:01 PM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.

Last edited by slakmagik; 12-22-2003 at 09:07 PM.
 
Old 12-23-2003, 04:49 AM   #8
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
I have 512 RAM with my computer, should I make the swap partition to be 1G?

Thanks for help.

Last edited by ICO; 12-23-2003 at 05:16 AM.
 
Old 12-23-2003, 09:19 AM   #9
Protex
Member
 
Registered: Sep 2003
Location: Buffalo, NY
Distribution: Slackware 9.1 (prev: mandrake 9.1)
Posts: 63

Rep: Reputation: 15
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.

Someone correct me if I'm wrong...

~Protex
 
Old 12-23-2003, 04:53 PM   #10
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
Thanks, I think 512 will do then.
 
  


Reply



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
Installing Slackware 10.2 on an LVM Partition darkarcon2015 Slackware - Installation 10 02-07-2006 04:19 PM
Create swap partition AFTER installing slackware? dx0r515t Slackware 4 05-21-2005 11:29 PM
Easy solution for finder like windows in Slackware? Synesthesia Linux - Software 5 03-21-2005 11:42 AM
installing slackware on an ataraid with more than one partition supermatt Slackware 0 11-14-2003 09:58 PM
installing slackware onto a vm [no target partition] blackphire05 Slackware 10 10-02-2003 08:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration