LinuxQuestions.org
Visit Jeremy's Blog.
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-15-2008, 02:25 PM   #1
Syrabane
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Question Partitioning questions.


Ello everyone. I'm pretty new to Linux and I'm planning on Dual booting Windows/Slackware. I just have a few questions about partitioning my HD.

I have 52GB for Slackware on my HD and here is how I'm currently planning to split it up.

Code:
Primary
     / - 8 Gigs (To much?)

Extended
     SWAP  - 1 Gig
     /usr  - 13
     /home - 30
After doing a bit of research I'm confused as to whether or not I should create a separate partition for /usr or /usr/local or to create two separate partitions for both. What do you guys think? Also, would having a partition for /opt have any significant advantage?

Lastly, the hardest thing for me is deciding how much space I'm going to allocate to each partition. Do you guys have any recommendations? I plan to use Linux mostly as a desktop and a learning tool.

~Thanks.
 
Old 12-15-2008, 02:46 PM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quote:
Originally Posted by Syrabane View Post
Ello everyone. I'm pretty new to Linux and I'm planning on Dual booting Windows/Slackware. I just have a few questions about partitioning my HD.

I have 52GB for Slackware on my HD and here is how I'm currently planning to split it up.

Code:
Primary
     / - 8 Gigs (To much?)

Extended
     SWAP  - 1 Gig
     /usr  - 13
     /home - 30
After doing a bit of research I'm confused as to whether or not I should create a separate partition for /usr or /usr/local or to create two separate partitions for both. What do you guys think? Also, would having a partition for /opt have any significant advantage?
In a desktop machine, there's not so much sense on that. I'd just give whatever amount of space you need to /, and leave about /usr and /opt live inside that.

How much space to put into it depends on the software you want to install. Your data will live in /home, so having it separate is ok and a good thing. A tipical desktop system can take 5-10GB, but, as said, it all depends on what are you going to install and run. If you are a gamer you will probably need more space than that in /.

If you really want to separate /usr, then 8GB in root might be too much. It all depends on how your distro does the things. If your distro install heavy stuff into /opt then you are going to need some space there. If you are going to run a mail server, a print server, a web server, etc.. you'll need extra space in /var.

In any case, I would also advise to separate this partition from /. The reason is simple: avoid fragmentation as much as possible. Note that most stuff under / is rarely written to (only for system updates and such), like /usr or /opt. But /var, on the contrary, is supposed to hold data that changes fairly often. So I's split that out better than /usr or /opt.
 
Old 12-15-2008, 03:10 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
If you plan on compiling packages yourself outside your distro's source packages, then having a separate /usr/local makes sense. It is guaranteed to be left alone during an install or upgrade. However you don't have a lot of space to begin with so backing up /usr/local before re-installing wouldn't be difficult.

A separate /home partition makes the most sense. You can reinstall, and reuse your old /home partition (don't format it during setup), changing the name of your home partition first. Then you can copy the documents you want to save to your new home directory. You can also use a common /home partition for different distro's as well.
 
  


Reply

Tags
partition, slackware


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
Partitioning questions 200mg Linux - Newbie 2 03-27-2008 11:08 AM
Partitioning Questions cdrom600 Linux - General 3 05-13-2007 10:27 PM
Partitioning questions in RHEL4 drewbenzing Linux - Hardware 1 03-31-2006 11:01 PM
Partitioning questions Hampster Mandriva 2 01-12-2005 05:19 AM
partitioning is necessary/okay, but I have a few questions beginnerx Linux - Newbie 2 09-26-2003 07:11 PM


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