Tuesday, 20 September 2022

What size boot partition is recommended on Debian 11

 

While this article focuses on the /boot partition, let’s use this opportunity to analyze the most common Linux partitions. The following table depicts Linux would be partitioned, their recommended minimum size, and usage.

PARTITION MINIMUM RECOMMENDED SIZE USAGE
/ 10 GB System files / all files
/boot 256 MB / 512 MB Boot files
/home 100 MB User files
/tmp 50 MB Temporal files
/usr 8 GB Program files



/var 400 MB Dynamic data

Where:

  • / (Root): The root partition stores all the systems when the system isn’t partitioned. When the system is partitioned, the root partition stores system files and all files belonging to directories that were not assigned a dedicated partition.
  • /boot: As said previously, the boot partition contains the necessary files to boot the system.
  • /home: The home directory or partition stores user files, such as profile configuration files and all content created by the user. Dedicating a partition to the /home directory will ease backup tasks.
  • /tmp: The tmp partition stores temporary files; dedicating the /tmp directory its own partition is useful to limit the disk space for temporary files.
  • /usr: The /usr partition stores read-only program files, such as executables, libraries, etc. This is similar to the Windows “Program Files” directory.
  • /var: This partition is used for dynamic data, such as log files, cached data, etc. Files located under the /var partition are related to the /usr partition but stored in this different partition since /usr is read-only.
Share:

0 comments:

Post a Comment