type
status
slug
summary
tags
category
icon
password
new update day
Property
Oct 22, 2023 01:31 PM
created days
Last edited time
Oct 22, 2023 01:31 PM
有时候在使用 qemu 进行内核启动调试的时候会需要
initramfs
文件,默认编译的时候是没有对应的文件的,这个时候需要我们手动进行生成。在执行完
make
、make install
、make module_install
之后。其中 6.4.2 是想要生成 initramfs 的内核版本,
-o
后面跟保存路径。- Author:tangcuyu
- URL:https://expoli.tech/articles/2023/07/08/How-to-manually-generate-initramfs-when-self-compiling-the-kernel-on-ubuntu
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts