LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-05-2002, 11:10 AM   #1
WoGk7
LQ Newbie
 
Registered: May 2002
Location: Madrid
Distribution: Mandrake 8.2
Posts: 8

Rep: Reputation: 0
Whats up wit them particions


Could You good people explain how the particions work in linux. U know what I mean? On instalation it asks me whitch should be "/", whitch "/boot" and so on... So what doeas it all mean. Do I need a separate partition for all of these options (think not but hey)???
 
Old 06-05-2002, 11:23 AM   #2
Nelleh
Member
 
Registered: Apr 2002
Distribution: SuSe/Redhat
Posts: 94

Rep: Reputation: 15
Far as I can tell, you must have / /boot and /swap as partitions.

cant really tell you alot about /boot but on my system its about 23mb and I would guess contains things that do stuff at boot up (technical to the extreme).

/swap is your swapfile/page file/virtual memory. Windoze thinking would suggest that 1.5-2x the amount of disk space as you have physical RAM is a good idea, ie if you have 128mb RAM, you want about 256mb set aside for /swap.

/ is the root filesystem and contains your system files, applications and other gubbins that you download, write, create or otherwise stick on your system somewhere. (C:\ I guess is the nearest windows equivelent).

If like me you tend to spend more time installing linux than actually using it, you might want to consider creating a separate partition for your /home directories. Then when you end up blitzing everything again you do at least still have all your personal data and any handy widgets that you have downloaded in the meantime (assuming you save to /home/somethingorother by default).

If you want to tinker around but arent too sure, you can always let the installation routine create the partitions and then go and edit them to your liking, at least it will have created a setup that will work before you actually start playing with it.

Last edited by Nelleh; 06-05-2002 at 11:30 AM.
 
Old 06-05-2002, 11:36 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
you only NEED a single /

/boot is useful for when you have your main system inside an extended partition, which most are.

/swap is incorrect, it is just swap. it is not part of the file system, and you DO NOT NEED 2X RAM. that's OLD. 150mb is more than fine nearly always.

it is genreally good to have partitions such as /usr and /home but they are not essential.
 
Old 06-05-2002, 11:36 AM   #4
WoGk7
LQ Newbie
 
Registered: May 2002
Location: Madrid
Distribution: Mandrake 8.2
Posts: 8

Original Poster
Rep: Reputation: 0
See Nelleh my problem is dat I only left 2 gb for linux to install. It did set everything up for me but the 1,3 GB or so that is left for me to play around with is not too much. I want to make it a little bit bigger but since it coexists with my XP system partition (im not the only user of this system otherwise Id think about just killin Gateses shit dead) and I dont really feel like reinstalling both systems but i think i wont excape it. Oh well...

btw how do i check the free space of a disk in linux. (well aint that a lame Q). There was something else i wanted to ask but i forgot.
 
Old 06-05-2002, 11:53 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally posted by WoGk7
btw how do i check the free space of a disk in linux. (well aint that a lame Q).
df and a df -h will show you in a more readable format for us humans.
 
Old 06-06-2002, 06:31 AM   #6
Nelleh
Member
 
Registered: Apr 2002
Distribution: SuSe/Redhat
Posts: 94

Rep: Reputation: 15
WoGK7, there are numerous tools around (such as partition magic) that will allow you to resize a partition without destroying the data contained within it. some distributions include this facility, but I cant confirm if Mandrake is one of them.

I would suggest that backing up any critical data you have on the partition to be resized is probably not a bad idea though.

my bad on the swap file information, my office is in a time warp where 32-128mb RAM is the norm!
 
Old 06-06-2002, 09:39 AM   #7
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
Yon must have a root partition ("/"), you should have a swap partition unless you have a LOT of RAM and don't run a LOT of memory hogging apps at the same time, some distros require a /boot partition. All that changes if you are running a mission critical server. Check http://linux.oreillynet.com/pub/a/li...ilesystem.html for more info, or at least an informed opinion.

Last edited by jglen490; 06-06-2002 at 09:41 AM.
 
  


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
Whats wrong wit my screen??? spartanM19SSM Linux - General 5 11-03-2004 07:05 PM
problem wit x or maybe xwindow? starguymike04 Debian 5 08-19-2004 01:31 PM
my cdrom drive wit Slackware 9.0 Scarface Linux - Hardware 2 10-09-2003 08:25 PM
internet sharing wit rh8 dejan_j Linux - Networking 6 06-17-2003 03:17 AM
need help wit a ConexantSoftK56 winmodem!! OxyBoy Linux - Newbie 2 02-20-2002 01:08 AM

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

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