LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-13-2005, 01:31 PM   #1
Chris594
Member
 
Registered: Oct 2005
Posts: 51

Rep: Reputation: 15
Partition advice


Hi,

I'm going to install Suse on my PC and I was wondering if anyone could give me some advice about partitions. I've read some articles (//pw1.netcom.com/~kmself/Linux/FAQs/partition.html , //linuxsa.org.au/tips/disk-partitioning.html, ....)
However I'm not sure how many and how big I should make each partition.
I download and store a lot of data on my computer.
System:
.Asus P5AD2
.2x1024mb RAM
.74Go (Raptor)
400Go (Hitachi)
250Go (Hitachi)
500Go (Hitachi)
.Nvidia 6600GT
.Plextor PX-716a
.Plextor PX-116a2

To give you an idea, this is how this system is currently partitioned under Win XP:
.74 Go : 10Go for the OS
5Go for swap (pagefile)
20Go for softwares
10Go for applications like Visual C++
1.5Go for data usually stored on the desktop
the rest is for linux
.400 Go: frequently used data
.250 Go: 50Go for games, rest is data
.500 Go: all data

Any advice or suggestions are welcomed.

Thanks for your help
 
Old 10-13-2005, 02:22 PM   #2
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
I assume you mean GB? if you are confident with partitoning, then the best way would be to give: 2-5GB for linux install. 10-20GB for all windows stuff. split the rest for a data partition for each.

search a bit- there's some good threads on this.

Welcome to LQ!
titanium_geek
 
Old 10-13-2005, 03:14 PM   #3
Chris594
Member
 
Registered: Oct 2005
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks for your reply titanium_geek

Meant GB there. What about the size of /tmp , /usr/local and /var. Is there any recommanded size if I want to allocate each of them a partition?
Does it make sense to create other partitions or is it enough to make separate partitions for /, /tmp, /var, /usr, /usr/local, /home?
 
Old 10-13-2005, 04:48 PM   #4
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
ok- you sound like someone who is confident with partitioning, so I'll launch into a fuller explaination- here's my set up before the hdd went clunk (not cause of the partitioning, because they were old and sucky) - this is from memory and simplified- I had a couple of distros going. http://www.linuxquestions.org/questi...hreadid=334307

hda is the first hardrive- 10gb.
hdb is the second hardrive- 20gb.

Quote:
Originally posted by ReefShark (in another thread)
..:: HDA ::..
swap (512 MB)
NTFS (5 GB)
/home (?? GB)
/tmp (?? GB)

..:: HDB ::..
swap (512 MB)
/boot (150 MB)
--- extended ---
/ -> rpm based
/ -> debian based
/ -> slackware based
Quote:
Originally posted by titanium_geek (in another thread)
..:: hda (16GB) ::..
swap (512 MB)
/boot (150 MB)
*extended...*
/ (rpm - mandrake) 6GB
/ (slack - vector linux) 5GB
/ (debian - knoppix) 5GB

..:: hdb (19GB) ::..
swap (512 mb)
NTFS (5GB)
/home (8.7 GB)
/tmp (4.8 GB)
------------------
you have three drives- I suggest you keep one for windows. on the linux space, put:
swap (512mb)
/ boot (2GB)
/ (6 GB? if you have space to burn up this)
/ home (10GB? pretty big-)
/ usr (this is where your programs go- again, big- 5GB +
/ var (if you plan on using this as a server, esp a webserver, make it as big as /usr)
/ tmp (no more than 5GB really- kept separate to help computer health)
/ usr/local? no idea- if you want to- i guess...

the simplest way would be to have
/swap
/ everything else all lumped in

i would personally go for (if I wanted to make it good + simple)
/swap
/boot
/
/all else

the "rules" are:
/swap is half your memory up to 1GB- then just do 512mb
should be the first sector
/tmp shouldn't be that big
/boot shouldn't be too big either

the place where you save your files (ie /home) should be big enough for the expected data.

hope this helps

titanium_geek

Last edited by titanium_geek; 10-13-2005 at 04:52 PM.
 
Old 10-13-2005, 05:13 PM   #5
Chris594
Member
 
Registered: Oct 2005
Posts: 51

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks again titanium_geek for these explanations. This is gonna be useful.
 
Old 10-13-2005, 05:24 PM   #6
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
Quote:
Originally posted by titanium_geek
you have three drives- I suggest you keep one for windows. on the linux space, put:
swap (512mb)
/ boot (2GB) --- 2GB for boot seems odd to me
/ (6 GB? if you have space to burn up this)
/ home (10GB? pretty big-)
/ usr (this is where your programs go- again, big- 5GB +
/ var (if you plan on using this as a server, esp a webserver, make it as big as /usr)
/ tmp (no more than 5GB really- kept separate to help computer health)
/ usr/local? no idea- if you want to- i guess...
Here's my scheme...I have 3 linux distro...4th in process + Windows on my desktop

250 GB SATA devoted to windows
/dev/sda1 - windows C 60GB
/dev/sda2 - Videos 100GB
/dev/sda3 - music ~rest

120 GB IDE devoted to various linux distros

/dev/hda1 - /boot 100 MB
/dev/hda2 - / slackware 15 GB
/dev/hda3 - swap 1 GB
/dev/hda4 ---- extended
/dev/hda5 - /home approx. 60GB for slackware
/dev/hda6 - / ubuntu 10 GB
/dev/hda7 - / archlinux 10 GB
free space left for future distros.

Works out great for me.

I have a server (2.4.31 kernel w/ 768 MB RAM) running on slackware...with following partition scheme

80 GB IDE
/dev/hda1 /boot 100 MB
/dev/hda2 / - 3 GB
/dev/hda3 - swap 2 GB
/dev/hda4 ---- extended
/dev/hda5 - /home 1 GB
/dev/hda6 - /var all the rest of space...

Dell Inspiron 600m (w/768 MB RAM) laptop running windows + slackware

40 GB hard drive with simplest partition scheme

/dev/hda1 - windows C about 20 GB
/dev/hda2 - fat32 shared about 8 GB
/dev/hda3 - swap 512 MB
/dev/hda4 - / rest of the space for slackware


Tux,
 
Old 10-13-2005, 05:49 PM   #7
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
it's always great to hear what other people are doing- partitioning is something that is seriously about personal preferences. thanks tux!

oh- and about the 2GB- just a number ya know?

titanium_geek
 
  


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 advice riluve Linux - Newbie 8 01-15-2005 06:36 PM
Partition Advice? drbob001 Linux - General 4 12-19-2004 04:58 PM
Partition Advice clearestchannel Linux - Newbie 5 11-25-2004 06:16 PM
Need advice about NTFS partition Ilushka Linux - General 11 03-10-2004 09:11 PM
advice to place the /home partition stram Linux - General 2 01-11-2003 09:53 AM


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