LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-16-2008, 04:34 AM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Rep: Reputation: 33
Ubuntu Hardy Partition scheme


Hello!

Since I am planning to re-install Ubuntu Hardy and use it as my primary OS, I want to make sure I install the system properly from the beginning.

Since there are many (maybe too many) and different opinions about partitioning, I would like to share two schemes and, with your help, define which one is OK for me or what kind of modifications I should make to them in order to improve system performance.

My hard disk: 160 Gb (SATA II). RAM memory: 4Gb

Scheme 1:
a) /
b) /home
c) /usr/local
d) SWAP

Scheme 2:
a) /
b) /home
c) SWAP

Which one of these (or any other you suggest) would you recommend and what about partitions size, file system and type (primary or extended)?

I was thinking about 6Gb SWAP (my 4Gb + 2) to make sure it will work for suspension and so.

Which one should be bigger, / or /home?

Thanks in advance. Any help will be very welcome.

Glore2002.-
 
Old 05-16-2008, 08:00 AM   #2
nix2ways
LQ Newbie
 
Registered: Sep 2006
Location: Huddersfield, UK
Distribution: Debian
Posts: 22

Rep: Reputation: 15
Your second scheme is the one I always use. Keep it simple and backup regularly.
Your root partition must always be a primary partition. Your swap extended. Your /home can be either.
Your /home should be larger than root. The actual sizes are up to you. Look at the minimum suggested root size for Ubuntu. A root partition of 10-15GB will be more than adequate. Use the swap size you've said and the rest for your /home.

Last edited by nix2ways; 05-16-2008 at 08:04 AM.
 
Old 05-16-2008, 08:36 AM   #3
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
Option #2 is definitely the best for a general desktop system, as far as I'm concerned. Are there any special considerations you've got for your installation?

Unless you're developing special applications that you can't just download through the repos, I don't see any sense in separating your /usr/local directory from the root (/).
 
Old 05-16-2008, 10:04 AM   #4
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by nix2ways View Post
Your second scheme is the one I always use. Keep it simple and backup regularly.
Your root partition must always be a primary partition. Your swap extended. Your /home can be either.
Your /home should be larger than root. The actual sizes are up to you. Look at the minimum suggested root size for Ubuntu. A root partition of 10-15GB will be more than adequate. Use the swap size you've said and the rest for your /home.
Thanks for your help! I will go for this partition scheme. Is there any backup tool you use or you just tar the partition contents and restore them later? What about Slackware? Would you still recommend it? It was one of my first Linux distributions and would like to give it another try. It was very stable as I remember. Why have you chose it?

Thanks again. I really appreciate your answer.

From Argentina,
Glore2002.-
 
Old 05-16-2008, 10:06 AM   #5
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by SlowCoder View Post
Option #2 is definitely the best for a general desktop system, as far as I'm concerned. Are there any special considerations you've got for your installation?

Unless you're developing special applications that you can't just download through the repos, I don't see any sense in separating your /usr/local directory from the root (/).
I will then go for option #2. Thanks Slowcoder for taking the time to answer my questions. I appreciate that.

Glore2002.-
 
Old 05-17-2008, 04:32 AM   #6
nix2ways
LQ Newbie
 
Registered: Sep 2006
Location: Huddersfield, UK
Distribution: Debian
Posts: 22

Rep: Reputation: 15
Quote:
Originally Posted by glore2002 View Post
Thanks for your help! I will go for this partition scheme. Is there any backup tool you use or you just tar the partition contents and restore them later? What about Slackware? Would you still recommend it? It was one of my first Linux distributions and would like to give it another try. It was very stable as I remember. Why have you chose it?

Thanks again. I really appreciate your answer.

From Argentina,
Glore2002.-
Glad to be of help. Backups? Well, I keep it simple. I have a second hard drive that I use for backups/storing large files etc. I have folders labeled 'Home Backups', 'Config Files' 'System Files' with sub-folders inside each as necessary so I can find things as easily as possible. Then I just copy and paste the relevant files over on a regular basis. I also burn copies of the most important files to DVD/CD in case of a hardware failure. That's it. There are plenty of backup apps around but I prefer the manual method. It's down to personal choice and how much backup space you have available. As is what and how much you back up. Though your /home folder (including all the hidden config files in it) is a must. I also make a copy of my /etc directory once and then only after upgrades etc. Using Slackware, I also keep an up to date copy of my /var/log/packages directory.
Recommend Slackware? Absolutely! I'll never go back to any other distro. "Once you Slack, you never go back."
Why I chose it is more complicated. It just suits me and I like the way it works.
Like anything else though it's down to personal choice.
I have a spare machine that I use for trying out other distros.
If you're new to Linux I would suggest you do as you plan and use Ubuntu till you get the feel of things. It has excellent forums (not as good as LQ though) and if you just Google "Ubuntu + whatever your problem is" you'll find an answer.
Then you can try Slackware or any of the other distros out there.
Backup before you do though
Good luck, you've made the right move by choosing Linux.
 
Old 05-17-2008, 11:45 AM   #7
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
Thanks!

Thanks nix2ways for your opinion an help! Slackware deserves giving it a try!!!

glore2002.-
 
Old 05-17-2008, 06:42 PM   #8
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
A root partition does not need to be a primary one - unless Ubuntu diverges in a very significant way from the mainstream. I have used Gentoo installs at the very end of a drive, partition 25 or so (that was before the introduction of libata, which limits the number of available partitions to just 15).
Personally, I like to have a separate /var partition. It reduces the risk of the root partition filling up because of a logfile getting too large or too much mail and it allows me to separate my servers from the rest of the system.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installing Xen On An Ubuntu 8.04 (Hardy Heron) Server From The Ubuntu Repositor LXer Syndicated Linux News 0 05-08-2008 02:10 PM
LXer: Upgrade Ubuntu 7.10 (Gutsy Gibbon) to Ubuntu 8.04 LTS (Hardy Heron) Beta LXer Syndicated Linux News 0 03-26-2008 07:30 PM
Partition Scheme caloj Linux - Newbie 3 02-11-2007 03:06 PM
Partition Scheme Randall Slack Slackware 17 11-08-2005 08:49 AM
partition scheme -- why does it this way ??? Bluesuperman Slackware 2 10-31-2003 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:37 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
Open Source Consulting | Domain Registration