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-08-2006, 02:45 PM   #1
lucid_dream
LQ Newbie
 
Registered: Nov 2006
Distribution: Ubuntu Edgy Eft
Posts: 14

Rep: Reputation: 0
partition set up


I am tring to get ideas of the best way to have my partitions set up for best performance. Any ideas would be appreciated.
 
Old 12-08-2006, 03:11 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
I'm pretty sure this depends on what you want to do with your machine... Even then, it's somewhat subjective.
 
Old 12-09-2006, 03:50 AM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by lucid_dream
I am tring to get ideas of the best way to have my partitions set up for best performance. Any ideas would be appreciated.
Well after a few years of meddling and quite a number of disasters, I finally got pissed off with loosing everything, whenever I screwed up and couldn't work out how to recover stuff.

So I keep what I refer to as a "modified Gentoo default". When I tried gentoo, I initially tried a mandriva/mandrake/SuSE type (ish) default. Which meant that I could install everything onto just a single partition - which is why, if I screwed up and had to fall back on the "windowsesque idiot answer" of re-installing, lost everything.

That downside of that is obvious i.e. without backups, you loose all that precious and time consuming personal stuff like music, videos, address books etc etc.

Gentoo just didn't want to "wear" that. So I followed their instructions verbatim, using /boot, /swap and /, but modified by the addition of a separate /home. It soon became apparent to me, that if I did screw up, all I had to do was either re-install the system to the / partition or if I was going to try a new distro just put that on the / but to make sure that I didn't touch the /home.

It means that apart from when I installed the Kanotix I'm currently using, I've not lost anything - with this kanotix, I was just too impatient and didn't read the onscreen text during the install - well that doesn't matter now as I also have an external backup available - but I still try to maintain the same attitude.

I only have the 1 HDD, plus I haven't had a windows install for nearly 2 years on this "box".

I've got it partitioned up thus:

/boot = 1 gig (more than enough) formatted as ext3

/swap = 1.5 gigs (again, more than adequate, but using the older wisdom of having a swap of roughly twice the installed RAM of 786 megs)

/ = about 30 gigs, which allows for just about all the software I might ever want to install and loads of room for any log files that might build up over general usage (you could probably easily get away with 5 to 8 gigs in the same instance - It's just that I have the space so why not!). formatted as ext3.

/home = about 88 gigs. Formatted as ext3. So I can pile as much crap in there as I want i.e. music, video, address book(s), customisations/personalisations etc etc etc.

These are all "primary" partitions, though previously, when I still had windows installed, I had 1 partiton (primary) for windows (NTFS), then a second primary one formatted as FAT32 for my music and other "gubbins", the third being extended for linux into /, /swap and /home (this was before I tried gentoo which wanted a /boot as well).

Of course, if you know what takes up room in Linux, you can always do some serious tailoring and have it so that each of the main directories has it's own partition - you'd need to have a good working knowledge of what size to make the partitions though so that /boot, /swap, /, /home, /var, /tmp, /bin, /usr etc etc etc (ha! /anything really) has it's "own" disc space, but I suspect if you just want to do "normal" stuff, that might just seriously over complicate a system, not to mention the complexity of some of the main config files.

So hence, it's up to you.

good luck in your decisions

regards

John
 
  


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
how to set cylinders in partition of new hard drive bry21 Linux - Hardware 4 01-27-2006 07:35 PM
How to set password to a partition or directory to access linuxvijayanand Linux - Security 2 06-17-2005 05:53 AM
apt....windows partition fullcdrom set-up c_cinq Debian 13 11-14-2004 06:16 PM
How do I Set up Debian on a ReiserFS Root Partition? atheist Debian 3 07-12-2004 01:19 AM
partition set up frkstein Linux - Software 2 01-24-2002 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:00 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