Home>Article>Operation and Maintenance> What is the boot partition in linux?
In Linux, boot is a partition that stores the kernel and files used during the boot process. It is some core files used when starting Linux; boot includes the configuration file of the system Kernel and the startup management program GRUB. Directory, the main source of module supply at startup is the Initrd file and the vmlinuz file.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
/boot partition is the kernel of the operating system and the files used in the boot process. It is generally an area that was required to be divided by the version a few years ago. The size is About 100MB, but the current new version does not need to divide this partition separately, which means that you can not divide it into /boot.
Installing Linux only requires two basic partitions, namely the root partition and the swap partition. If your disk space is large enough, you can allocate more space to the root partition. You can also create commonly used directories on the desktop, such as Putting the downloaded software package on the desktop will not affect the speed of your entering the Linux system. Of course, this requires you to have a large enough root partition.
A /boot partition: Most of the partitions mentioned here are for large systems, but this partition is very useful for small systems with little space. All files required for LILO startup are in the /boot directory, because these files in /boot (including the Linux kernel) occupy 1MB of space. If it is difficult to arrange 100MB of space for the root partition used by LILO, you can be lucky and only use 5- 10MB partition to store /boot, but you still need to create a root partition. At this time, it can use the partition containing /boot anywhere in the system (subject to BIOS restrictions).
Stored here are some core files used when starting Linux. Boot includes the configuration file of the system Kernel, the directory of the startup management program GRUB, the Initrd file, the main source of module supply at startup, the variable correspondence table System.map and the vmlinuz file in the system Kernel.
Extended knowledge:
When the Linux system is started locally, the directory /boot/ is very important. The files and directories in it are:
(1 ) System Kernel configuration file;
(2) The directory of the startup management program GRUB, which contains the screens, configurations and stages (stage1, stage1.5, stage 2) that GRUB needs when starting up. )document. See below.
(3) Initrd file is the main source of module supply when the system starts;
(4) System.map file is in the system Kernel Variable correspondence table;
(5) vmlinuz is the most important file during the startup process, because this file is the kernel used by the actual system.
Related recommendations: "Linux Video Tutorial"
The above is the detailed content of What is the boot partition in linux?. For more information, please follow other related articles on the PHP Chinese website!