Centos kernel Compilation: no space left on device solution, centosspace
1. Problem: Put the source code below the root directory
No space left on device appears during compilation.
Use the df-h command to view the space occupied by the root directory.
2. Compile the source code in other places with sufficient space
In make module_install, no space left on device still appears.
However, the directory contains enough space.
, Continue df-h
The root directory is full.
3. Solution
Delete unnecessary files in the root directory because the files must go through the root directory during installation,
Therefore, make sure that the root directory has sufficient space.
When compiling the kernel: no space left on device
When writing data to/tmp, there is not much space left in the folder, so an error occurs. Check how much disk space is left in the/tmp partition.
In kali linux, no space left on device appears during kernel compilation.
Insufficient space. Your root partition is too small. Some Debian Release versions may need 2 GB of space to compile the kernel.