When installing to free space created with diskmgmt.msc
from Windows 10 for dual boot, can Ubuntu just install everything to that free space as one partition? Or, is it required to create /home
and /root
? From what I read, swap isn't really required unless there's low RAM.

- 4,551
2 Answers
You need at least one partition holding everything. Making separate partitions for /home
, /srv
, /opt
, /var
or swap is optional and depends on your preferences and intended use of the system. Some swap space is just about always highly recommended, but Ubuntu is perfectly able to use a swap file just like Windows; a separate swap partition is not needed and future Ubuntu versions will no longer create it by default.

- 10,197
After having made unallocated space, the Ubuntu installer would normally take all of that free space, unless you tell it otherwise during the install process.
The number of partitions used is moot, because your Windows 10 system probably uses GPT disk partitioning, and you can have up to 128 partitions. If however, your disk is formatted in MBR, then the max is 4 partitions, and Ubuntu installer will probably opt to install all of Ubuntu into a single extended partition.
Don't set up separate / and /home (and /whatever) unless you have a very good reason to do so... and especially if you've only set aside a small amount of disk space for Ubuntu.
Swap space is highly recommended. (Either swap partition or swapfile).

- 70,711
/home
; IMHO, it's generally a good practice to do so, with the caveat that you need to understand how much space to give to the root (/
) and/home
partitions. The reason is that creating a separate/home
partition helps protect your personal files (which go in/home
) should you want to re-install or make other major changes. – Rod Smith Dec 20 '16 at 19:36/home
partition, that is a matter of opinion, and you're entitled to yours just as I'm entitled to mine; but comments in response to an answer aren't the best place to hash this out. This question and its answers address it. – Rod Smith Dec 21 '16 at 17:01