Last Updated on December 9, 2021 by Admin
If the file containing the Linux kernel is deleted, what happens when the system boots?
- The system starts normally since the bootloader copies the kernel to the master boot record of the hard disk
- Instead of the kernel, the initramfs is loaded and instructed to mount the root filesystem and reinstall the kernel from the original package or from source
- The bootloader mounts the root filesystem read-only and launches /bin/sh directly in order to allow the administrator to reinstall the kernel
- Without a kernel system cannot boot and, depending on the bootloader, an error is displayed