LinuxQuestions.org
Review your favorite Linux distribution.
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 11-26-2005, 04:09 AM   #1
ratmz
LQ Newbie
 
Registered: Nov 2005
Location: Bandung, Indonesia
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Arrow better partition


I have 60 Gigabyte want to use on ubuntu.

At this time I always use / and /swap for whole 60 gb.

The problem if / get trouble...I always lost all data in /home.

What a better partition to make more secure my data in /home?

PS: I heard that using 4 partition is much better (/, /home, /var and /swap)...but I have no idea how much space must be allocated for each partition.


Thanks anyway
 
Old 11-26-2005, 04:57 AM   #2
crash_override_me
Member
 
Registered: Aug 2005
Location: India, New Delhi
Distribution: Debian Etch, Ubuntu
Posts: 342

Rep: Reputation: 30
well it depends,

if u have a large no. of documents and softwares, give /home atleast 10 GB
keep the swap partition as large as possible, this greatly enhances the speed of ubuntu....
if u want to add extra softwares give /var atleast 10-20 GB.

U can also make /home partition big, if u have many users like 10-15 GB
U can also give a separate partition /media to all ur music, videos etc..(20 GB)
 
Old 11-26-2005, 06:16 AM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
You can, of course make as many partition as you like. Check the LQ wiki to find out what all those partitions are for.

If your only worry is the data in /home then read up on the required space for the full install of the distro of your choice (if it's a big one you're not likely to need a big % for additional packages you may want to install at a later time. To be on the safe side you could leave about 4-8Gb for /, whatever you need for swap and the rest for /home.

You could of course also leave some blank space at the end of the disk for future partition, especially to make it possible to test install another distro. 5Gb should be enough for such a test install, especially since you can use the /home partition for a user of the test install.
 
Old 11-26-2005, 07:55 AM   #4
comptiger5000
Member
 
Registered: May 2005
Distribution: Fedora Core Since version 3
Posts: 193

Rep: Reputation: 30
here is a good scheme for 60 gb of hd:

/ = 4 gb
/var = 4 gb
/opt = 2 gb
swap = 4 gb
/usr = 8 gb
/boot = 1 gb (room for many kernel upgrades)
/home = 37 gb (rest of space)
 
Old 11-26-2005, 08:53 AM   #5
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Quote:
Originally posted by comptiger5000
here is a good scheme for 60 gb of hd:

/ = 4 gb
/var = 4 gb
/opt = 2 gb
swap = 4 gb
/usr = 8 gb
/boot = 1 gb (room for many kernel upgrades)
/home = 37 gb (rest of space)
For a server maybe you want /var , for an office desktop not so sure. Yum is my biggest var 'consumer' and I don't clean up my yum cache a lot. At present (after at least 6 months of continuous upgrading) my /var uses 1.6Gb. My /opt only contains 85Mb (this is also very distro specific as the only thing that's in my /opt is java and that only because I decided to put it there).

Swap 4Gb?? again, if this is a server you know what usage you have, but I have about 1Gb of swap and don't normaly use more than 200Mb (use 'free' to check your usage)

/boot: this is really [deleted] nonsense: I have a 100mb /boot partition, 5 kernels installed and 90mb free space!!

Last edited by linmix; 11-26-2005 at 08:55 AM.
 
Old 11-26-2005, 08:54 AM   #6
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
sorry, clicked twice
 
Old 11-26-2005, 10:30 AM   #7
comptiger5000
Member
 
Registered: May 2005
Distribution: Fedora Core Since version 3
Posts: 193

Rep: Reputation: 30
ok, i just always leave extra room

my workstation has 2gb ram and 14 gb swap, just because when i had 4 gb swap, i ran out a few times (image/video editing)
 
Old 11-26-2005, 11:40 AM   #8
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
That's perfect for you, but hardly a standard setup, which, correct me if I'm wrong, ratmz was asking for.

Next time maybe you should explain why you use a different than 'standard' setup, and that way your additional info may help someone to make a better informed choice
 
Old 11-26-2005, 03:07 PM   #9
ratmz
LQ Newbie
 
Registered: Nov 2005
Location: Bandung, Indonesia
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
hello...thanks before for your answers guys

I just need to save my data at home because always upgrade ubuntu to new release (including new kernel).

Every time when I upgraded to new release, I always backup to other computer on network. This things make me have much time to do upgrade to new fresh realease.

I think if I use many partition can make me easy to upgrade without worry about lost many data in /home.

Thanks.
 
  


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
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee SUSE / openSUSE 20 10-31-2005 07:30 AM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 01:31 AM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM

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

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