LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-28-2005, 02:10 AM   #1
tauhshi
Member
 
Registered: Dec 2005
Distribution: Ubuntu "edgy", looking for something else
Posts: 77

Rep: Reputation: 15
Which Partition is Which?


Im working with 10GB for my Linux distro. 9GB is going to be for swap. But, what should I set my "/" and "/home" partions to? My Home stores my personal files right?
 
Old 12-28-2005, 02:19 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
You do not need 9GB for swap, its overkill and your system will never use it all. Use something like 512MB for swap, depending on the amount of ram you have. Some say swap has to be twice the anount of your ram, but if you have very little ram, you may need a to make the swap partition more than twice as big as the amount of ram and if you have lots of ram, you don't need to have too big a swap partition. You would then need to split the rest between / and /home depending on your needs.
 
Old 12-28-2005, 02:41 AM   #3
tauhshi
Member
 
Registered: Dec 2005
Distribution: Ubuntu "edgy", looking for something else
Posts: 77

Original Poster
Rep: Reputation: 15
Whoops, ment 1GB, sorry... But I have 320MB of Ram...so would 640MB of Swap be good? and what are the / and /home partions for?
 
Old 12-28-2005, 02:49 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
/home is where your persoanl files are kept and / contains all the other directories on your system. I am sure 640MB would be enough but there is nothing wrong with making it 1GB if you wish.
 
Old 12-28-2005, 03:02 AM   #5
xine_luo
LQ Newbie
 
Registered: Nov 2005
Posts: 10

Rep: Reputation: 0
It is a waste to give swap 9GB..
Quote:
640MB would be enough but there is nothing wrong with making it 1GB if you wish.
 
Old 12-28-2005, 03:47 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Quote:
Originally Posted by xine_luo
It is a waste to give swap 9GB..
Err, he said 1GB not 9GB in his second post.
 
Old 12-28-2005, 07:34 AM   #7
nitinatindore
Member
 
Registered: Dec 2004
Location: India
Distribution: Mandrake, Mandriva, PclinuxOS
Posts: 114

Rep: Reputation: 15
Swap twice as size of RAM is pretty adequate.

Btw. you really dont require /home on separate partition, in case you give separate partition its good, in case you dont, its fine(since there will be a home partition automatically mounted at /).

I personally didnt had a separate /home partition, I only had / & swap and I never faced any problem in past 3 years. So I suggest you could have 9.5G for / & 500M for swap. Last choice is always yours
 
Old 12-28-2005, 07:05 PM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Having a seperate /home partition makes it easy when you want to upgrade or install a new distro without backing up all your data. I would suggest having it on a seperate partition if its an option for you.

Last edited by reddazz; 12-28-2005 at 11:55 PM.
 
Old 12-28-2005, 11:08 PM   #9
yimboli
LQ Newbie
 
Registered: Feb 2004
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
ohhhhhhhhhhhhh!!!! thats why sometimes people make /home separate! its all becoming clearer....
 
Old 12-28-2005, 11:21 PM   #10
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Quote:
Originally Posted by nitinatindore
Swap twice as size of RAM is pretty adequate.
Not if you're running Firefox 1.5 and have many LQ threads open in tabs. Firefox 1.5 will easily eat 400MB+ of RAM. The mozilla team really needs to address the memory leaks soon!
 
Old 12-28-2005, 11:33 PM   #11
aneroid
Member
 
Registered: May 2005
Distribution: slackware, slax, debian
Posts: 88

Rep: Reputation: 26
Quote:
Originally Posted by reddazz
Having a seperate /home partition makes it easy when you want to upgrade or install a new distro without backing up all your data. I would suggest having it on a seperate partition if its and option for you.
i keep /home on a separate partition so that i can share it between multiple distros. yes, sometimes my profiles or aliases, etc. get wiped but it's more useful to me than not.

especially useful if u keep all ur "data" accessible mostly under linux rather than winANY, so that way it's always in ur home dir. though u could just make one massive ext2/3 partition for that instead. also useful for program settings...so the first time u run the gimp or abiword, it's just that one first time and u don't need to redo anything between distros. nice for xmms playlists too.

anirudh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee SUSE / openSUSE 20 10-31-2005 08:30 AM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 02:31 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 01:55 PM
Formating a FAT32 partition, putting the partition correctly into FSTAB, and more. squall14716 Linux - General 14 10-27-2003 11:16 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM


All times are GMT -5. The time now is 06:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration