LinuxQuestions.org
Visit the LQ Articles and Editorials 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 12-06-2004, 02:14 AM   #1
cwlee
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora Core 3
Posts: 10

Rep: Reputation: 0
Yet another partitioning & mount point question


Hi guys,

I did some searching & reading prior to posting. Couldn't really find what I wanted to know. So please bear with me on this partitioning & mount point question again.

I know for the min., I just need 4 partitions, / (root), /home, /swap & /boot.

My question is, what about the rest of the mount points such as /opt, /usr, /var & others? Where will they be mounted onto? Do I need to manually create these mount points & alter my fstab according or it gets done automatically during installation?

Suppose I have a 30 GB partition dedicated for installation (with the rest of the space being used by Win2K), if I use automatic partitioning, will the partitioning be done on that 30 GB partition or elsewhere on the hard-drive?

Thanks!
 
Old 12-06-2004, 02:26 AM   #2
EnigmaOne
LQ Newbie
 
Registered: Aug 2003
Location: Long Beach, CA - USA
Distribution: Too many to count...
Posts: 28

Rep: Reputation: 15
Split that 30GB part into something along the lines of:
about 100MB or so for /boot
I'd give / about 8GB or so, but I'm a program-installing fool, so you might need less.
how many users will determine how big you make /home
SWAP is normally double your physical memory, you'd leave it free or make a swap with something like partition magic

/opt, /usr, /var and those others will show up as directories under your /
You can actually allow /home to live under / as a directory as well.

A minimalist way of going would be:
100MB to /boot
512MB to 1GB for SWAP (I usually give 2GB to SWAP on my systems, but that makes some folks cringe.)
the rest to / and let /home, /opt, /usr, /var, etc. take care of themselves in /

Which distro are you installing? (Sounds like RedHat/Fedora to me.)
 
Old 12-06-2004, 02:40 AM   #3
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
OK cwlee

Really you only need one partition which is the ROOT partition known as the "/" partition (forward slash).

You are a windows user so you can think of / as C:\ in Windows. Under / is all the directories and files.

Now linux does not have drives like windows has, so instead of having drive letters like C, D, E etc, you do what is called a mount under the / filesystem. So when you want to access the CD drive you would mount it under /mnt/cdrom. If you wanted to mount your windows drive you might mount it under /mnt/windows.

You can tell the system to mount other partitions like the /opt partition and the /home partition, this may be useful in a networked environment where each user has a different /home parition such that it is mounted from the server to show only their files.

Basically don't worry about partitioning everything. On my system I have a / partition a /boot partition and a swap partition. I think having the /boot on a seperate drive helps with security but not sure. The swap partition can be thought of as Virtual Memory in Windows. When ytour computer uses up all its RAM it will start using swap space instead. You will only use swap when your RAM is filled up with memory, If you have say 512 RAM it is unlikely that you will even need a swap partition.

Finally you can use automatic partitioning and it should not harm your WIN2K partition. I suggest you make you own partitioning though. With the 30 gig I would suggest

/boot TYPE= EXT3 100MB (I think the kernel is storred here)

SWAP Twice the amount of RAM on the system (so if you had 64 ram you would set this as 128MB)


/ TYPE= EXT3 The rest of the available memory out of the 30GIG (This will be where most of the files are storred)

Last edited by jax8; 12-06-2004 at 02:44 AM.
 
Old 12-06-2004, 02:45 AM   #4
cwlee
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora Core 3
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the replies. My main concerns were actually whether do I need to have partitions for /usr, /opt, /var, etc. And since they'll appear according, I guess its time for me to clear up my partition space & install Fedora Core 3 later when I'm home!

Once again, thanks for the replies
 
  


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 give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
FreeBSD /home mount point question Ahmed *BSD 5 11-07-2005 08:58 PM
Xandros mount point for Windows Network & NFS Network jaagut Linux - Distributions 1 09-14-2005 07:21 AM
Hard Drive Mount Point Question The Oate Mandriva 6 08-03-2004 08:25 PM


All times are GMT -5. The time now is 11:31 PM.

Main Menu
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