How to partition when installing the Ubuntu system.
During the installation of Ubuntu system, you can choose from different partition schemes to allocate hard drive space. Here is a common partition scheme:
- Root partition (/): This is the root directory of the Ubuntu system, which contains all of the operating system’s files. It is recommended to set the size of the root partition to at least 20GB to ensure there is enough space to store system files and applications.
- Swap partition: The swap partition is used to temporarily store data, similar to virtual memory in Windows systems. It is recommended to set the size of the swap partition to 1.5 times the physical memory.
- The /home partition is used to store user personal files and settings. By separating it from the rest of the system, you can preserve user data when reinstalling the operating system. It is recommended to allocate a large portion of the remaining space to the /home partition.
During the installation of Ubuntu, you can choose the manual partition option and create the corresponding partitions according to the above suggestions. Remember to back up important data in case of unexpected events.