LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-21-2011, 01:32 PM   #1
akj.amandeep
LQ Newbie
 
Registered: Sep 2011
Posts: 19

Rep: Reputation: Disabled
problem installing ubuntu


what are the basic partitions requires while installing ubuntu?
 
Old 09-21-2011, 01:35 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Depends, you can use 1 partition.
However it's a good idea to make a separate partition for /home

Kind regards
 
Old 09-21-2011, 01:46 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You should at least go with 2 partitions, one for swap and one for the system. Making a separate /home partition is a good idea, but not essential. I would give at least 15 GB to the system partition.
 
Old 09-21-2011, 06:08 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moved: This thread is more suitable in <Ubuntu> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 09-21-2011, 06:37 PM   #5
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
It would be helpful to have a little more information.

Is this going to be the only OS on the box?

If not, is it going to be the primary OS that you are going to be using?

What size is the drive that it is going to be on?

How much free space is on that drive?

Separate partitions for / (root) and /home are a very good idea. You should have a /swap that is equal to the size of your ram.

Your / partition should be at around 10Gb (mine is over 30 because I add a lot of programs).

Your /home partition should be big enough for all your data.

If you install on just one partition and just want to play with Ubuntu, then a 15Gb install is big enough for the whole thing. Heck, you could do it on 8Gb.
 
Old 09-21-2011, 10:45 PM   #6
steviebob
Member
 
Registered: Jan 2010
Location: Arkansas
Distribution: Slackware-Current, LFS
Posts: 136

Rep: Reputation: 16
Quote:
Originally Posted by widget View Post
Separate partitions for / (root) and /home are a very good idea. You should have a /swap that is equal to the size of your ram.
Actually, having SWAP double the size of your ram is better, especially if you don't have very much RAM to begin with.
 
Old 09-22-2011, 08:03 AM   #7
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
I have always followed an approach like this for my home PCs.

sda1 - / 10 GB formatted as ext3
sda2 - /home 10 GB formatted as ext3
sda3 - (about = RAM) swap although with 8 GB of RAM I don't really need swap
sda4 - /data (all the rest of the drive) formatted ext4

And the reasons for my madness

I like to be able do do a cold backup of the OS. I use g4l (the program formerly known as Ghost for Linux). So I keep the OS partition reasonably small. I use ext3 because g4l does not support ext4 at the moment.

I also do a monthly cold backup of /home. I don't store data there if I can avoid it so a small home is fine.

/data is where I store my DATA. The important stuff ranging from email to OpenOffice.org documents, databases, etc. etc. etc. This I hot backup nightly with a script to a second hard drive. For really critical data I maintain a 7 day rolling backup. For other thing such as downloaded bank statements and items which can be downloaded or created again I maintain a single backup on the second drive. I backup selected subdirectories from /data to CD or DVD monthly.

Bottom line - I design my system layout to facilitate backup and recovery.

Ken
 
Old 09-22-2011, 09:11 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by steviebob View Post
Actually, having SWAP double the size of your ram is better, especially if you don't have very much RAM to begin with.
I'll expand a bit. If you have a small memory footprint then use the 2xRAM. If not then for larger foot prints set to a size that meets the system setup & usage. Obviously if you have 2GB and do a lot of image processing or image editing then adjust of 2XRAM might be feasible. But if a normal use desktop and you have the space then setting 2xRAM will do no harm. But if you do not have the swap allocated and the system needs to page then you will pay the price.
 
Old 09-22-2011, 09:17 AM   #9
steviebob
Member
 
Registered: Jan 2010
Location: Arkansas
Distribution: Slackware-Current, LFS
Posts: 136

Rep: Reputation: 16
Quote:
Originally Posted by onebuck View Post
Hi,



I'll expand a bit. If you have a small memory footprint then use the 2xRAM. If not then for larger foot prints set to a size that meets the system setup & usage. Obviously if you have 2GB and do a lot of image processing or image editing then adjust of 2XRAM might be feasible. But if a normal use desktop and you have the space then setting 2xRAM will do no harm. But if you do not have the swap allocated and the system needs to page then you will pay the price.
True. Unfortunately, I DO do a lot of image processing. Haha. Also, if you have a LOT of RAM, you can always make part of that into /tmp/. It's only multitudes faster and such.
 
  


Reply



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
problem with installing ubuntu ajeebkp23 Linux - Newbie 3 09-23-2011 12:20 PM
Problem Installing Ubuntu 8.10 edgartech Ubuntu 2 11-05-2008 01:28 AM
problem with installing ubuntu 7.04... opmeena Linux - Newbie 4 01-12-2008 09:48 AM
problem while installing ubuntu 7.10 akt7488 Linux - Newbie 4 10-22-2007 07:39 AM
problem installing Ubuntu 7.04 mad-baby Ubuntu 3 05-21-2007 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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