This page looks best with JavaScript enabled

Multiboot Disk Partition Layout

 ·  ☕ 2 min read

Background

As stated in other posts (Fix Broken Bootloader), my primary computer (laptop) has a multiboot setup; a triple boot using Xubuntu, LMDE, and Crunchbang. This article discusses the partition layout I use for this setup, actually my partition layout is more or less a generic linux disk layout multiplied by three due to the three OSes.

General Disk Layout

OrderPartitionFS TypeSizePartition Type
1/bootext4120mbprimary
2/ext47.5gbprimary
3swapswap4gbprimary
4/tmpext41.5gbextended
5/homeext4*extended

I generally put boot first as I rarely need to change the size/location of this partition, followed by root for the same reason. I also like to keep boot, root, and swap as primary partitions and leave tmp and home for extended. On most installs, I put all remaining disk space to the home partition and put this partition last as I like to be able to grow/move it if needed (e.g. copy partitions to a larger hard drive and expand space).

Details

When adding multiple OSes, you can reuse some (or even all) partitions. Due to complexity and/or my risk averse nature, I tend to only reuse the /tmp and swap partitions (note: if anyone has successfully shared an encrypted home partition between multiple OSes let me know).

To add a new OS, I simply create a new /boot, /, and /home partition and allocate the existing /tmp and swap partitions during the install of the new OS. Its really that simple. My complete disk layout for the triple boot laptop is as follows:

Partition #OSPartition
1Xubuntu/boot
2Xubuntu/
3allswap
4n/aExtended
5all/tmp
6Xubuntu/home
7Crunchbang/
8Crunchbang/boot
9LMDE/boot
10LMDE/
11Crunchbang/home
12LMDE/home

Notes

  • notice that I deviate slightly from my above guide in that I try to put the home partitions toward the end of the disk as growing the partitions will be quicker/easier.
Share on

drad
WRITTEN BY
drad
Sr. Consultant