# cp linux-3.10.5.tar.gz /usr/src/linux-3.10.5.tar.gz
# cd /usr/src
# tar xvzf linux-3.10.5.tar.gz linux-3.10.5
# cd linux-3.10.5
# make mrproper
# make clean

预防没有abs命令
# pacman -S abs
从abs获取.config
# abs
# cp /var/abs/core/linux/config.x86_64 .config
# make menuconfig

预防没有bc命令
# pacman -S bc
# make
# make bzImage
# make modules
# make modules_install
# make install
拷贝内核到/boot
# cp -v arch/x86/boot/bzImage  /boot/vmlinuz-linux-3.10.5-ARCH
# mkinitcpio -k 3.10.5-ARCH -g /boot/initramfs-linux-3.10.5-ARCH.img
# grub-mkconfig -o /boot/grub/grub.cfg
# reboot

相关文章:

  • 2022-12-23
  • 2021-06-23
  • 2021-09-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-13
  • 2021-12-23
  • 2021-06-10
相关资源
相似解决方案