LinuxQuestions.org
Help answer threads with 0 replies.
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 01-25-2008, 09:20 AM   #1
manz00r
Member
 
Registered: Jan 2008
Posts: 33

Rep: Reputation: 15
partitioning


I want to a drive where I'll save all my files, and stuff and do the software installation things

so which one will be it

/home /usr ?

and how much space should /root have ?
 
Old 01-25-2008, 09:45 AM   #2
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
if you are going to make a new installation then make a partiting with the name of "/home"

where you can keep your user data.

in Linux there are two roots

one is /

and second is

/root


well the first one is main root directory. where all the things reside. and the second one

/root is the home directory for the root user.


I think you can keep 1.5 GB for your / directory depends if you don't have many logs
 
Old 01-25-2008, 09:53 AM   #3
manz00r
Member
 
Registered: Jan 2008
Posts: 33

Original Poster
Rep: Reputation: 15
is the second /root necessary ?
 
Old 01-25-2008, 10:04 AM   #4
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
/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.
 
Old 01-25-2008, 10:21 AM   #5
manz00r
Member
 
Registered: Jan 2008
Posts: 33

Original Poster
Rep: Reputation: 15
I will go with this method.
/ ,/home and swap

and I will do a full install

now how much do I need

?

for swap i'll be making a partition of 1gb (512 *2)

answer plz

Last edited by manz00r; 01-25-2008 at 03:03 PM.
 
Old 01-26-2008, 03:10 AM   #6
manz00r
Member
 
Registered: Jan 2008
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
How much space you need for / depends on how much you want to install, so that is hard to gauge.
I want to do a full install now how much ?
 
Old 01-26-2008, 09:45 AM   #7
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
manz00r:

For a basic set-up:

/swap <--- 1 or 2 GBs

/ <--- 10 - 20 GBs

/home <--- the remainder of the space that you would like to allocate to your linux installation.

/boot <--- optional - don't bother with this if your dual booting windows
 
Old 01-26-2008, 09:57 AM   #8
Lycanthrope
LQ Newbie
 
Registered: Jan 2008
Location: The Frozen Tundra
Distribution: FreeBSD, Slackware
Posts: 9

Rep: Reputation: 0
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:

swap 1 Gig
/ 12 Gig
/home 27 Gig
 
Old 01-26-2008, 09:59 AM   #9
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
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

Last edited by duryodhan; 01-26-2008 at 10:01 AM.
 
Old 01-26-2008, 10:06 AM   #10
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
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.
 
Old 01-26-2008, 10:24 AM   #11
moljac024
Member
 
Registered: May 2007
Location: Serbia, Europe
Distribution: Arch Linux
Posts: 54

Rep: Reputation: 15
I just go with sth like this:

swap - 2 GB
/ - 14 GB
/var - 1.5 GB
/tmp - 4.5 GB
/home - 3 GB

/data - the rest

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.
 
Old 01-27-2008, 12:07 AM   #12
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
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.
 
Old 01-27-2008, 04:25 AM   #13
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
the /swap sapce is double size of your RAM
 
Old 01-27-2008, 09:03 AM   #14
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Rep: Reputation: Disabled
Quote:
Originally Posted by shahz View Post
the /swap sapce is double size of your RAM
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
 
Old 01-29-2008, 12:01 AM   #15
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

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


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
Partitioning first? anonEmouse Linux - Software 3 07-12-2006 03:57 PM
partitioning? silvershady22 Linux - Newbie 2 06-17-2006 11:34 AM
Partitioning agentchange Linux - Newbie 6 05-29-2006 07:19 PM
Partitioning mike30188 *BSD 1 07-04-2005 11:13 PM
Help Partitioning JMH11788 Slackware 9 07-19-2004 03:19 PM

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

All times are GMT -5. The time now is 12:11 AM.

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