What partitioning scheme do you recommend for a desktop? I've always created three or four primary partitions -- root, swap, home, and sometimes a separate boot partition. Ubuntu's default install offers LVMs. I've never had to add additional drives or space, so it never seemed like a big deal. Whenever I do a fresh install, though, I always think there might be a better way.
closed as primarily opinion-based by Braiam, guntbert, Warren Hill, Eric Carvalho, chaskes Nov 13 '13 at 3:22Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question. |
|||||
|
|||||
The biggest reason to do this is that you can do anything to your Ubuntu install and it won't affect your music/videos/whatever in your home. I especially enjoy this when a upgrade to a new Ubuntu version and the installation goes weird. |
|||||||||||||||||||||
|
|
Generally speaking, you shouldn't bother with a separate The Ubuntu installers for both the desktop CD and server/alternate CD have the ability to install over an existing system, preserving your home directory (and the local system driectories: To use this option when installing, choose the option for advanced partitioning, then select your existing In Ubuntu 10.10 we had hoped to add an option to the installer that detected when you had an existing copy of Ubuntu installed and offered to replace it with the newer version you were attempting to install (using the aforementioned functionality behind the scenes). While it did not make the final cut, it is likely to arrive in Ubuntu 11.04. As for a separate |
|||||||||||||||||||||
|
You only really need a separate Generally speaking, you might add other partitions if you want to:
As suggested by Asmerito, you should consider putting all your partitions other than If you use the full disk encryption in the alternate installer, it will automatically create a Hope this all helps. |
|||||
|
|
Well, at a minimum you need a root partition and a swap partition. I highly recommend a home partition because then when you run out of space on your home partition, it won't affect your applications and more importantly, core components. I discovered this the hard way when I ran out of space on the root partition - and I couldn't even start the Gnome desktop. I had to log in through the terminal and delete some stuff :( |
|||||||||||||||||
|
|
For server installations, best practice is to use LVM, so you can expand your storage space easily if you run out of free space. My suggestion is:
NOTE: if you use multi-user environment, it is good practice to create |
||||
|
|
|
I use: Primary partition:
Extended partition with LVM:
I've been using this scheme for years and I'm very happy with it. Suggestions always welcomed. |
|||||
|
|
On my home server, I prefer to create |
||||
|
|
|
I always do a fresh install of newer versions of Ubuntu, so for me it makes sense to have a separate |
|||||
|
|
If you plan to install several distributions and want to use the same home folder you can install with a separate |
||||
|
|
|
On my Notebook Desktop:
|
||||
|
|
|
||||
|
|