PVE 内核模块 pve-kernal 编译安装方法
介绍 pve 虚拟化系统内核的编译安装方法.
以 pve-release-6.x ,基于 debian buster 为例:
- Step1: 配置国内 PVE 镜像源
1 |
|
- Setp2:安装依赖包
Install build dependencies (i got these from the pve-kernel/debian/control file):
1 |
|
- Step3:获取 pve-kernel 源码
Clone proxmox-kernel
1 |
|
- Step4:初始化子项目
initialize the submodules
1 |
|
If that fails Fabian told me that you have cd in each submodule and do “git fetch –tags”
- Step5:编译
1 |
|
It will build with ALL cores
会自动编译,不需要设置多线程,它会自动调用多线程编译。编译完当前目录的 .deb
包就是内核包,直接使用 dpkg -i
安装即可。
Q&A
dwarves_1.20 too old
pahole version v1.12 is too old, need at least v1.16
1 |
|
- 磁盘空间不足,扩容
1 |
|
参考文献
PVE 内核模块 pve-kernal 编译安装方法
https://www.frytea.com/post/20211206142916.html