fc31-install kernel5.5.9

1. download kernel(5.5.9)

  mirror:https://mirrors.tuna.tsinghua.edu.cn/kernel/v5.x/

 

2. install other soft soft-devel...

  a. open-ssl, ncurses, ncurses-devel, bison, bison-devel, flex...

  b. new-kernel-pkg(for install kernel(${INSTALLKERNEL}), like as make img/map/vmlinuz)

3. intall kernel

  a.make config or cmd(cp /boot/config-$(uname -r) .config)

  b.make menuconfig/make gconfig/make xconfig, make defconfig/make allyesconfig/make allnoconfig

  c. make -j6 / make -j4

  d. make modules

  e. make modules_install

  f. make install(Don't care LILO)

 

  g. grub2-install /boot/efi (if /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist, you need to install grub2-efi*)

  h. grub2-mkconfig -o /boot/grub2/grub.cfg (update config)

 

 

 

 

  

posted @ 2020-03-13 23:21  sciapex  阅读(168)  评论(0编辑  收藏  举报