Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 22700 ideas, 138270 comments, 2629576 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #24483: New users don't know risk/benefits of separate / and /home partitions

Written by jvin248 the 18 Apr 10 at 15:56. Category: Installation. Related project: Nothing/Others. Status: New
Rationale
Some HDDs are small and that's a great reason to combine everything in one partition. Or dual booting is already using too many primary partitions on the HDD.

However, if people are installing a new system, they might want to know that by setting up a separate /home partition they can keep all their data there and update the root partition separately (wipe/reinstall/upgrade/etc).

New users are the most likely to fiddle with their programs or OS and then be forced to reinstall as less likely to know how to recover from user error ("oops, I guess I shouldn't have deleted that /etc directory!").

45
votes
up equal down
Solution #1: Add a descriptive line in the install process to suggest the option
Written by jvin248 the 18 Apr 10 at 15:56.
It's easy to make this setup if you know about it, but it's currently part of the 'advanced' menu.

Next step is to have a check-box that automatically gives the root partition OS * (1 + 50%) space on HDD (for future user program additions) and makes a separate /home partition.

60
votes
up equal down
Solution #2: A Slider with Recommended Minimum and Maximum Sizes for / and swap and /home
Written by brucewagner the 20 Apr 10 at 04:28.
The installer should offer this by DEFAULT.

The installer should DEFAULT to: Separate partition for Ubuntu + Applications and your Home Folder (your data)

Since there is no right and perfect SIZE for every user... The system, if this option is selected, should:

Provide a graphical representation of the drive... with a SLIDER. It should state something like: "The recommended size for the Operation System and Applications PARTITION is: 10GB - 25GB.... with the remainder of the drive reserved for your data.

....then allow the user to slide the slider or enter the size in MB into a nearby text box.

Then, the installer would automatically create a / partition of the specified size, a swap partition of the default size, and a /home partition of the remainder of the drive.

( ALSO: The next time a version of Ubuntu is installed, the installer program should AUTOMATICALLY DETECT that a /home partition exists.... and OFFER / RECOMMEND that it be retained... and NOT formated. )
-3
votes
up equal down
Solution #3: Recommend Single partition + Swap file instead
Written by Auzy the 22 Apr 10 at 07:17.
Sorry, but there are no real benefits of having a seperate swap partition and /home. All it causes are hard disk management issues. If you contain all files on a single partition, it's self contained, the partition layout is more reliable, and you can receive the same benefits as a /home partition if the installer correctly moved aside the /home and moved it back anyway during install (as MS and Apple already do, and it works perfectly).

Even if you have multiple distro's in fact, sharing the home directory might not work as hoped because some applications (such as Nightingale/Songbird and Firefox).
2
votes
up equal down
Solution #4: Use a filesystem like ZFS
Written by Nedanfor the 3 May 10 at 15:34.
­I think ZFS' pools are better than traditional partitions. They are resizable and there isn't any risk of data loss, also their presence solves any problem about the separation of / and /home.

The only problem about ZFS is a license question, because CDDL is incompatible with GPL. FUSE solves the problem, but it is inefficient.

There are two solutions:
1- To hope that Sun Microsystems (now Oracle) will release ZFS with a GPL-compatible license.
2- To develop a filesystem with the same features.

I think it would be the only definitive solution. Auto-resizing by default is possible and it can be disabled easily by expert user.

Propose your solution

Attachments
No attachments.


Duplicates


Comments
brucewagner wrote on the 20 Apr 10 at 04:34
How do I VOTE for this idea?? Sheesh. This site is NOT clear.

myrk wrote on the 20 Apr 10 at 14:13
good idea!

brucewagner wrote on the 20 Apr 10 at 16:23
This idea needs to be Approved already...

jcastro (Brainstorm admin) wrote on the 22 Apr 10 at 00:45
The installer currently let's you do a reinstall over a broken system without removing user data.

Auzy wrote on the 22 Apr 10 at 07:13
This is a dupe

Tom6 wrote on the 30 Apr 10 at 19:53
A more intelligent automatic install would be fantastic. ie look for unallocated space, test how large ram is, assess total size of the drive. HOw difficult are these things to do from the terminal? Surely a simple bit of programming?

johndoe32102002 wrote on the 16 Jul 10 at 15:33
Solution #4: Use a filesystem like ZFS

This would entail Windows users not being able to access ext2/ext3 partitions.

Auzy wrote on the 17 Jul 10 at 18:19
Someone still needs to explain why #3 got voted down to me..

The Rationale is wrong anyway because it ASSUMES you need to separate /home and / to allow new safe installs, whilst in reality, the installation process can simply move /home to another folder, and move it back after.

Clearly another case of yet another "Linux protip gone wrong".

The only good reason I can think of for setting /home up on another partition is on servers/mission critical environments, where an admin may want to prevent users/students/idiots from consuming the harddisk space on / killing everything including logging potentially. But this is rarely applicable to Ubuntu client, and when running a large corporate environment, the client images are best off not separating the partitions anyway, because they SHOULD be mounting the home directory over NFS (or another protocol), in which case, /home would NEVER be used anywhere except the server (and even then, it is more complicated).

I've marked the idea as "not an idea", because the rationale makes totally false assumptions (furthermore, it assumes that application settings from a newer version of an application will work on an old version).

Sorry, please DON'T use swap partitions (use swap files), and DON'T use /home unless its a server. One of these I need to write a "101 protips for Linux which are WRONG" guide.


Post your comment