Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
30.2.3. Ядро
When the kernel is loaded, it immediately initializes and configures the computer's memory and configures the various hardware attached to the system, including all processors, I/O subsystems, and storage devices. It then looks for the compressed
initramfs
image(s) in a predetermined location in memory, decompresses it directly to /sysroot/
, and loads all necessary drivers. Next, it initializes virtual devices related to the file system, such as LVM or software RAID, before completing the initramfs
processes and freeing up all the memory the disk image once occupied.
Ядро затем создаст корневое устройство, подключит его в режиме чтения и освободит неиспользуемую память.
Начиная с этого момента, ядро загружено в память и полностью функционально. Но поскольку в системе нет пользовательских приложений, допускающих ввод информации, пока работать с системой будет сложно.
Для настройки окружения пользователя ядро использует программу
/sbin/init
.