Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the boot partition in linux?

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the relevant knowledge of what boot partition refers to in linux, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value, I believe you will gain something after reading this linux boot partition refers to what article, let's take a look at it.

In linux, boot is the partition that stores the kernel and files used during boot, and is some core files used when starting linux; boot includes the configuration files of the system Kernel, the directory of the startup manager GRUB, the main source Initrd files and vmlinuz files supplied by the startup module.

The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

What is the partition of boot in linux

/ boot partition is the kernel of the operating system and the files used in the boot process. It is generally a partition required by the version a few years ago, with a size of about 100MB, but now the new version does not need to divide this partition separately, that is to say, you can completely divide it into / boot.

Installation of Linux only requires two basic partitions, namely the root partition and swap partition, if your disk space is large enough, you can divide more space to the root partition, you can also build new directories to the desktop, such as downloaded software packages, put on the desktop does not affect your speed to enter 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, and this partition is useful for small systems with little space. All the files needed for LILO startup are in the / boot directory, because these documents in / boot (including the Linux kernel) take up 1MB space. If it is difficult to arrange 100MB space for the root partition to be used by LILO, you can luckily use only the 5-10MB partition to store / boot, but you still need to create a root partition, which can use partitions with / boot anywhere in the system (limited by BIOS).

Here are some of the core files used to start Linux. The boot includes the configuration file of the system Kernel, the directory of the startup management program GRUB, the main source Initrd file supplied by the module at startup, and the corresponding table System.map and vmlinuz file of the variables in the system Kernel.

Expand knowledge:

When the Linux system starts locally, the directory / boot/ is very important, and the files and directories are:

(1) configuration file of system Kernel

(2) the directory of the startup management program GRUB, which stores the screen, configuration and files of each stage (stage1, stage1.5, stage 2) needed by GRUB when it starts. See the picture below.

(3) Initrd file is the main source of module supply when the system is started.

(4) the corresponding table of variables in the system Kernel when System.map files

(5) vmlinuz is the most important file in the startup process, because this file is the kernel used by the actual system.

This is the end of the article on "what does the boot partition in linux refer to?" Thank you for reading! I believe that everyone has a certain understanding of the knowledge of "what does boot partition in linux refer to". If you want to learn more knowledge, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report