Home partition. What does it do?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
ObelixXXL
Level 1
Level 1
Posts: 10
Joined: Thu Dec 19, 2013 1:02 pm

Home partition. What does it do?

Post by ObelixXXL »

So, my question is basically as the title says. Just yesterday, I decided to reinstall Linux Mint, and had asked a few questions about disk partitioning here http://forums.linuxmint.com/viewtopic.php?f=90&t=154730 . Unfortunately, after wiping out nearly 1GB of what I thought was obsolete data using bleachbit, I could no longer boot into Mint (The Mint logo stood still for nearly half an hour before I made a decision to reinstall LM yet another time). My former partition setup was: 15 GB for root, 17 GB for home and the 8GB left was swap area. At this point, I have been wondering that: What are the functions of a home partition? From what I have read, the home partition is where the user stores all of his important files (documents, mp3s, videos, pictures etc.) and some configuration files like themes, conky, etc. Considering that I have a separate partition of 300 GB to save all my important files in Windows 7, my question is that: Do I still have to assign that much of disk space (15 ~ 17 GB) for home partition in particular and nearly 41 GB for Linux setup? Thank you very much!
passerby
Level 6
Level 6
Posts: 1367
Joined: Sun Dec 16, 2012 7:29 pm

Re: Home partition. What does it do?

Post by passerby »

The /home partition is as you've described. It's where user documents, downloads, videos, etc. are placed by default, where various configuration and cache files are stored, and where individual users keep their data. In some cases, such as with Steam, programs will store most if not all of their data in /home. In the case of Steam, any games downloaded are stored (by default) in /home, making it increase in size rather quickly.
It's primarily used to store non-system data, ie. anything that isn't vital for your operating system to run. As such, by having /home separate to your root partition, when reinstalling you needn't wipe /home. You could wipe/install on the root partition, not formatting /home, and thus keep all of your data, user settings, customizations, etc.

But since you have a separate shared partition, you certainly don't need to allocate too much space to /home. You could indeed reduce the size of your /home partition.
Moreover, if you're familiar with (or once you learn of) symlinks (basically shortcuts) you could have most of your /home data go directly to the shared partition anyway. eg. by creating a Downloads symlink in your home directory that points to a folder on your shared partition, you would seamlessly integrate your shared partition into your home folder and have it store your downloads.
If you do use the shared partition for most of that data, and you aren't installing a lot of games or other stuff that takes a lot of room, you could probably get away with a total of <15GB for your Mint installation.
Home PC: Xubuntu 14.04 x64, Nvidia GTX650, i7 3770K, 16GB RAM, Asus Xonar DX
Work PC: Mint 13 x64 XFCE, Nvidia GT620, i5 3470, 8GB RAM
Laptop: System76 Kudu Pro, Xubuntu 14.04 x64

My HTML5 login themes + screenshots
Tejas_0
Level 3
Level 3
Posts: 180
Joined: Tue May 17, 2011 6:06 pm

Re: Home partition. What does it do?

Post by Tejas_0 »

ObelixXXL wrote:My former partition setup was: 15 GB for root
passerby wrote: you could probably get away with a total of <15GB for your Mint installation.
I'm getting away with 1 plus a bit GiB. But then not too demanding of the system. 2 GiB sounds ample. So including 1 for the pot, 3 Gib should do the trick. After all you can always use gparted to increase size of /root if need be, my tuppence worth. :)
Release: Linux Mint 16 "petra"
Edition: Cinnamon 32-bit
Linux mint 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 i686 athlon i686 GNU/Linux
User avatar
Reorx
Level 12
Level 12
Posts: 4031
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Home partition. What does it do?

Post by Reorx »

I never hibernate my system so...
...assuming you want to go "minimalist"...
I'd probably go with a 20 GB Linux installation >>>
/ = 19 GB
swap = 1GB
:mrgreen:
Full time Linux Mint user since 2011 - Currently running mostly LM19C and a little LM20C.

Image Image Image
User avatar
Flemur
Level 19
Level 19
Posts: 9060
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Home partition. What does it do?

Post by Flemur »

Considering that I have a separate partition of 300 GB to save all my important files...

That's the smart thing to do.

I consider /home to be part of the OS - mostly for user settings - and not inherently related to mp3s, movies and such. One of the worst of the many bad design features in windows was putting the user's data (not settings) on the same partition as the OS as a default that hardly anyone would change.

FWIW, I have 4 linuxes installed, they each take up about 4 to 5.5G, all including /home. My M16 home is 116M: 47% is ~/.mozilla and 33% is ~/.thunderbird, 11% is cache - so there's not much else there, as far as disk usage; ~/.wine is a link to another directory on the data partition, and all the OSs use the same ~/.wine.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Neil Edmond
Level 6
Level 6
Posts: 1182
Joined: Thu Dec 26, 2013 10:19 am
Location: N.E. AR USA

Re: Home partition. What does it do?

Post by Neil Edmond »

Flemur wrote: ~/.wine is a link to another directory on the data partition, and all the OSs use the same ~/.wine.
Interesting... How would one set that up?
User avatar
edwardr
Level 4
Level 4
Posts: 248
Joined: Thu Jun 03, 2010 1:09 pm
Location: USA - Texas

Re: Home partition. What does it do?

Post by edwardr »

The optimist proclaims that we live in the best of all possible worlds; and the pessimist fears this is true
Post Reply

Return to “Newbie Questions”