0

I generally create 5 partition for ubuntu 16.04 like (/boot,/opt,/home,swap,/), What if I install Ubuntu with only / partition,

Will /opt support nicely in future,

What will be the possible issue if I use only / Partition?

1 Answers1

1

With the default settings Ubuntu will use all disk space on installing. A separate /home or /opt partition will not be created. They are mere directories on the root partition. This is similar with other operating systems. Because of that it is recommended to backup all personal files before an install of a new OS.

Of course we can override these settings and use a manual partition scheme. We can then manually create as many partitions for as many mount points we want. This may also be of advantage when we have some mount points on a faster SSD and others on a huge conventional HDD. Or we may want to have some files on a different file system. But we do not need to do that for Ubuntu to operate as expected. It is more a matter of personal taste, comfort or believe.

We can also say to not format any existing partition on installing Ubuntu. By saying so we will not delete any directories /boot, /opt, or /home but keep them with all their content. So no data are lost. It is as if this directory was on an unformatted separate partition.

From a technical point of view there is no disadvantage to install all of Ubuntu in a single / root partiton. I do that often in a virtual machine.

If for any reason we decide to have a separate partition even on a separate drive rather than a directory we can always create it later (see e.g. here for HOME).

Takkat
  • 142,284