Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-18-2005, 03:20 AM   #1
Registered: Mar 2005
Location: USA
Distribution: Kubuntu Breezy
Posts: 79

Rep: Reputation: 15
Partition sizes??


I'm about to repartition my XP-only laptop and install Slackware. This laptop is for purely everyday, desktop use. I was planning on using the following partitions:

37 GB HD:

1: Windows 5GB
2: Linux system files ?
3: /home/ user files ?
4: swap 1GB

Every how-to tells me I should have about 2x my memory in swap, but nobody tells me anything about how large the home or system partitions should be! I've never installed Linux before, so I don't know where most of my data should go. I will be the only user on this computer if that makes a difference. Which partition will require the most data, and why? What exactly will go on each partition? Thanks for all of your help, guys.

Old 03-18-2005, 03:32 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The size of root (/) and /home is something that you have to determine yourself. Assess what you will be installing on your computer and how much disk space you will need for everyday use and come up with a suitable partitioning scheme.
Old 03-18-2005, 09:53 AM   #3
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
And if you want *numbers* to start from, figure 2GB - 5GB for "/", depending on how "full" an install you plan to have, and put everything else into "/home". (Of course, keep a swap partition - 512MB is probably sufficient.)
Old 03-18-2005, 11:53 AM   #4
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
One thing you can do to feel more at ease with having allocated the correct amount of space would to simply make a swap and allocate the rest to /. The /home directory can safely reside on the / directory and will be created during installation.

Doing it this way means no problems with having made / too small or /home too big. No wasted space or insufficient disk space problems.

The only partitions I have on my machine are
/boot 32M
/swap 512M
/ the rest of the drive
Old 03-18-2005, 12:35 PM   #5
LQ Newbie
Registered: Jan 2005
Location: Midwest
Distribution: Slackware/FC/CentOS/Ubuntu
Posts: 5

Rep: Reputation: 0

The first couple of times, I just had a swap (2XRAM in size) partition, and the rest was /. It is, I guess, not technically ideal for security, but I did not care because I was new at Linux anyway... I reinstalled quite a few times.

After a while, I got a good feel for how big certain directories can get. You can use the command 'du' to check the size of a directory. For example:

$ du -sh /usr/local

whould tell you how much space is used by your /usr/local. After that, I just kinda 'scaled' the sizes of different directories based on the total disk usage. so, for example, if /usr/local comprised 20% of my disk usage, I partitioned 20% of the disk to /usr/local.

I don't pretend to know if this is the best way, but it seemed safe. There are some exceptions like /boot or /var. They probably don't need a whole lot of space.
Old 03-18-2005, 02:21 PM   #6
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
The only time having a single / partition on a desktop machine instead of a seperate /home partition will cause a problem is when performing an upgrade or installing a new distro (amounts to same thing with some distros) where there /home directory will be over-written.

This is solved if one does the smart thing and makes back-ups of the personal files to be kept. Good practice to back up the personal stuff any time doing an upgrade. Gotta love those CD-RWs.

If you don't want to back up your personal files because you don't have a cd writer or are just lazy, then make a /home partition and leave intact when upgrading or changing distros.

Personally, I think a single / partition makes better use of disc space but your mileage may vary.
Old 03-18-2005, 03:43 PM   #7
LQ Newbie
Registered: Jan 2005
Location: Midwest
Distribution: Slackware/FC/CentOS/Ubuntu
Posts: 5

Rep: Reputation: 0
Something I have wondered, and tried... Is is a good idea to use a single partition for /home if you have multiple distros? Then you still have all your personal stuff in your /home easily accessible no matter which distro you have booted up. Are there any ill effects?


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 fstreed SUSE / openSUSE 10 05-07-2005 08:58 AM
Partition sizes for me Doctor Orange Linux - Newbie 2 08-13-2004 09:50 AM
Partition sizes? murbz Linux - Software 3 07-22-2004 08:43 AM
Partition Sizes JonyKyte Linux - Newbie 12 12-23-2003 07:48 AM
partition sizes scrambled2k3 Linux - Newbie 7 02-21-2003 02:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration