LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-27-2004, 11:28 AM   #1
himm
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Rep: Reputation: 15
Suggested partition sizes


Hiya.
I've taken the jump. I've finally decided to give Linux a try. I'm going to use SUSE Personal 9.1 for its noob-friendlyness.

I'm going to keep my exsting Windows XP OS. Luckily, it was installed in FAT32 and not NTFS, and I didn't have any problems spliting C:\ into 2 parts in fips.

Right now I have:

/hda1 FAT32 WIN XP (22GB)
/hda2 blank for linux (16 GB)
TOTAL = 38 GB

Now I don't really know how much space I should allocate for /, /home or whatever.
Note - I'm a regular desktop user: not interested in using my computer as a server or anything like that. My computer (Pentium 4 1.6GHz, 256MB RAM), is not connected to a network.

What I was planning on was:

/hda1 FAT32 WIN XP (22GB)
/hda2 Linux root partition (??MB)
/hda3 /home partition (any space left over)
/hda4 swap partition (128MB)
TOTAL = 38GB

Question A - The root partition. I plan to stuff my Linux system files and installed applications here. It'll be like having the Linux equivalent of the C:\WINDOWS and C:\Program Files folder on one partition. That's OK isn't it? What size should I put it to?


Question B - Is /home what I think it is? Is it where you put all your documents, pictures, work etc, making up the bulk of the drive? Is it like Windows' "My Documents"? (yeah, I know. Another Windows analogy.)


Question C - swap: the general rule is swap size = 2x physical RAM. I've got 256MB physical RAM and a 512MB swap seems too large. Will it be OK if I reduce it to 128MB? That'll be enough won't it?


So basically, could you suggest a good partition arrangement for my system? Should I add a /usr partition as well? If the way I'm going to use / and /home is totally wrong, and possibly fatal to the system, please let me know.

Thanks,
himm
 
Old 09-27-2004, 02:05 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
On a 22Gb disk, you may need to create a /boot partition in order for the bootloader to see the kernel image. But you can deal with that when you install.

128Mb of swap + 256Mb of RAM is possibly cutting it a little bit fine for memory-hungry programs like KDE or OpenOffice.org; Linux will run OK but I'd consider using something like Gnome, or even WindowMaker, or AfterStep as your desktop/window manager. You can always add more swap space with a swap file if you want to, but it will act slower than a swap partition.

For SuSE, you will probably want quite a large root partition; I'd say play it safe and choose around 2Gb. Note that you don't have a seperate /var partition, and so all of your log files will go in here as well. Plus documentation, program resources, etc.

/home is, indeed where your home directory lives. You'll get something called, say, /home/himm which is where all your personal settings go. To use your Windows analogy, it's a bit like a combination of your My Documents folder, your desktop and your roaming profile.

If you're really unsure how much space to allocate, then go with whatever the SuSE installation suggests; it's usually quite sensible about these things.
 
Old 09-27-2004, 02:24 PM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,333

Rep: Reputation: 143Reputation: 143
By far, the easiest arrangement is to have two partitions, / and swap. If your in a single user evironment and not running a server there aren't too many good reasons not to do it that way and it's much more convenient IMHO. I can virtually guarantee that if you set up multiple partitions now, you will be posting back in six months asking how you resize partitions because you are running out of room on one partition or another.
I'm sure others will disagree with me but I have yet to see any compelling reason for having multiple partitions on a linux setup in a single user, no server environment. If you keep your permanent data like mp3s, photos, docs on a separate data partition which I would recommend if your running multiple OSes, having just / and swap is the easiest way.
 
Old 09-27-2004, 02:28 PM   #4
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 10.04/12.04, Scientific Linux 6.3, Android-x86, Maemo
Posts: 1,658

Rep: Reputation: 138Reputation: 138
Suggestion for a 16 GB drive:

For:

the / partition (including /, /usr, /opt, /var) = 7 GB

Swap = 768 MB

the /home partition [keep it seperate, incase of upgrades or re-installs] (particularly if you will be playing games installed through WineX, or doing a fair amount of video/audio stuff) = 8 GB

/, /usr, /var, and /opt are for programs that are installed to the system. You actually get very little choice where most stuff goes,... it follows conventional *nix system architecture.

Seperate /usr, /opt and / partitions are really unnecessary on a personal machine. They make backup and such easier on servers and multi-user machines... but there's no real advantage when you are talking machines of this size. Having it be as big as 7 GB is necessary if you will be installing things like Unreal Tournament 2004, etc., as well as many other space-hungry apps. Better safe than sorry.

A large /home partition will keep you from running out of space. WineX/Cedega installations will put the installed programs into your /home/himm partition/subdirectory. So space might be necessary there. As far as downloads and such, with a shared FAT32 partition, you will have access to the Windoze side for reads and writes... and therefore storage.

Also, strongly consider using ReiserFS or EXT3, preferably Reiser as your filesystem.
 
  


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
Partition sizes gardenair Linux - Newbie 1 11-10-2005 09:40 AM
partition sizes fstreed Suse/Novell 10 05-07-2005 09:58 AM
Partition sizes for me Doctor Orange Linux - Newbie 2 08-13-2004 10:50 AM
Partition sizes? murbz Linux - Software 3 07-22-2004 09:43 AM
Slackware suggested partition sizes? Nikon01 Slackware 8 07-17-2003 09:22 AM


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