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 06-05-2007, 05:07 PM   #1
BlackSheep024
Member
 
Registered: Jun 2006
Posts: 50

Rep: Reputation: 15
103GB to Partition - Any ideas?


I'm trying to find an effective scheme given 103GB to work with. I figure I need 3gb for swap, so that takes care of the odd 3. My ideal setup is to have a root partition that can easily be formatted/upgraded whenever, a partition for installs, and a partition for files. What would you all recommend?
 
Old 06-05-2007, 05:50 PM   #2
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
I've read a lot of posts that advocate separate partitions for /home, and some others. You might be able to find some here with a search. I personally just don't bother. I figure if I've borked a system badly enough I need to reinstall, no sense trying to save my home folder. Second, I never upgrade, I keep very up to date backups, and simply do clean installs. My upgrade experience has never went very well, so I just avoid it.

Second... Depending on the amount of Ram you have, while a swap partition is good, its probably not 100% necessary. Swap is really for an old PC with limited ram, etc. I'm guessing with a HD that size, you probably have enough Ram to not worry much about swap.

IGF
 
Old 06-05-2007, 05:51 PM   #3
BlackSheep024
Member
 
Registered: Jun 2006
Posts: 50

Original Poster
Rep: Reputation: 15
1.5 GB Ram

Yep, probably right then. Awesome, free 3gb then. Thanks
 
Old 06-05-2007, 06:14 PM   #4
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

Rep: Reputation: 30
If you are going to hibernate your PC, have a swap partition, its where its held for the next bootup. I often see my swap partition getting used up when mucking about with video files and the like.

On my desktop (debian) I have the following partitions that have worked for me for the last 3-4 years (from my memory as I can't be bothered walking over to switch it on).

/boot - 250MB
/ - 5GB
/usr - 10GB
/usr/local - 10GB
/var - 10GB
/swap - 2GB
/data - 40GB (General shared data stuff)
/mp3 - 40GB (I like to listen to music)
/home - 40GB

Last edited by stealth_banana; 06-05-2007 at 06:16 PM.
 
Old 06-05-2007, 06:17 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you will install more than one distro, sharing the /home partition would not be a problem as long as you use unique usernames. You can even use the same username, but add something to the name of your home directory when you create the user.

For example, if you install Fedora, and use the username "blacksheep", you could use "/home/blacksheep-fc" as your home directory. When installing SuSE, use the same user name but use "/home/blacksheep-suse". These two installations use different GID number ranges for regular users (see /etc/login.defs) by default. If you want to access the same files and directories regardless of which distro you booted to, then you may want to preplan the regular UID range before installing. It is common to be able to enter a custom UID and GID when adding a new user.
If you share the /home partition, make sure that you don't reformat it during the installation. Just edit it to create a mount point and /etc/fstab entry.

Sharing the same user home directory may not be a good idea. The ~/.kde/ or ~/.gnome2/ directories will contain items such as menu's customized for the respective distro's.

You can share the swap partition of course. The installation of the 2nd Distro will probably notice the swap partition and ask if you want to use it.

Use the /boot/grub/menu.lst configuration of the first distro to boot the others. Don't update the MBR when installing or updating one of the other distro's. You don't want to get into a dueling distros situation where the next distro you install updates the MBR and you can't boot into the first distro. Make sure you make a backup of the MBR before installing another distro. ( See the entry for the "dd" command on this site's wiki if you don't know how ).

Also, after the first distro is installed, run "sudo /sbin/fdisk -l >partinfo.txt" to print out information you can use recreate the old partitioning scheme if you have an accident later on that wipes out the partition table from the MBR. (note: the name of the partinfo.txt file is arbitrary. I just made up the name.) Save it somewhere such as a usb pendrive or a floppy. Printing it out would also be a good idea, as well as backing up the /boot/grub/menu.lst file.

If you have a separate /tmp partition, you could try sharing that as well. Configure the systems to clear it out during a reboot. ( I don't know if they delete everything there when shutting down, or when booting back up ). You could then make it a little bit larger than you normally would have it. This would allow using it when burning a CD or DVD. Also, if /tmp is on its own partition, you can use the noexec boot option which is recommended for globally writable partitions.
 
Old 06-05-2007, 06:32 PM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,445
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Don't bother with separate partitions for /boot, /usr, /var, etc, because it can become a real PITA when you wanna switch/upgrade distros.

What I would do:

1 x 3 gig swap partition

3 x 15 gig partitions (for up to 3 distros)

1 x Whatever's left for /home

This way, you can multi-boot distros and have them all sharing the /home partition.

Instead of 3 x 15 gig partitions, you might make them 20 or 25 gig, but I've yet to see a distro which needs more than 12 gigs. Most of them don't even use 5 gigs.

Using this scheme, you can "upgrade" without touching (and possibly ruining) an existing installation.
 
Old 06-05-2007, 09:58 PM   #7
BlackSheep024
Member
 
Registered: Jun 2006
Posts: 50

Original Poster
Rep: Reputation: 15
Games and Programs

Given that I plan to install 20-30 programs, and games such as UT2K4, would it be advisable to set aside 40gb for the / partition and the remainder for the /home partition?
 
Old 06-06-2007, 12:13 PM   #8
BlackSheep024
Member
 
Registered: Jun 2006
Posts: 50

Original Poster
Rep: Reputation: 15
Continuation

Figured I'd post again since it was assumed that this question was resolved. Should I set aside 40gb for / partition?
 
Old 06-06-2007, 01:48 PM   #9
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

Rep: Reputation: 30
Try experimentation, it took me a few years to work out what I am happy with. You can always back the data up and repartition if your not happy.
 
Old 06-07-2007, 07:57 PM   #10
ctkroeker
Senior Member
 
Registered: May 2005
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
I have something like:
10GB /root
20GB /home
40GB /media/temp
60GB /media/movies

Basically, 10GB is way more than enough for /root and if you keep most of the big stuff, i.e. movies and music on a different partition, /home doesn't need to be that big either.
 
Old 06-07-2007, 09:06 PM   #11
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
If you plan to multi-boot different distros, then don't have a common /home partition. As jschiwal pointed out, you will have problems with the common .gnome2, etc.

What I recommend is to have a single swap partition, a / partition for each distro and then a /data partition for your documents. This way, each distro has its own /home as part of /, and then you create a symbolic link to /data in your home directory. Obviously, you need to make sure the UID's are the same to share documents.

See my thoughts on multi-booting Here. I also go into a good setup of GRUB so that each distro is independent of all the others.

I hope this helps
--Ian
 
  


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
LXer: Ten ideas about Ideas LXer Syndicated Linux News 0 11-05-2006 08:21 AM
Partition scheme ideas for 1TB workstation spacemanspiff Linux - Hardware 2 06-04-2006 03:12 AM
ideas anyone? ohfaney Programming 1 05-17-2006 11:11 PM
NTFS partition won't let me change files, and ideas? groovetrain Mandriva 7 10-10-2005 05:44 PM
I need some ideas.... trey85stang Linux - Enterprise 3 12-20-2004 07:50 AM

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

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