Traditional
https://wiki.archlinux.org/index.php/Kernels/Traditional_compilation
config改成自己的,剩下照抄就行了
booter是grub
cd linux-4.1.51
make clean
make mrproper
zcat /proc/config.gz > .config
vim .config
time make -j2
cd Build
cd linux-4.1.51
vim .config
sudo make modules_install
sudo cp -v arch/x86_64/boot/bzImage /boot/vmlinuz-linux48
sudo cp /etc/mkinitcpio.d/linux.preset /etc/mkinitcpio.d/linux48.preset
vim /etc/mkinitcpio.d/linux48.preset
cd /etc/mkinitcpio.d
ls
sudo mkinitcpio -p linux48
cd /boot
ls
sudo pacman -U initramfs-linux-custom-fallback.img
sudo grub-mkconfig -o /boot/grub/grub.cfg\
Arch Build System
大概成功了叭
https://wiki.archlinux.org/index.php/Kernels/Arch_Build_System
asp update linux
asp checkout linux
cd linux
cd trunk
zcat /proc/config.gz > config
all_proxy=socks5://127.0.0.1:1080 updpkgsums
makepkg -s
makepkg -i
sudo grub-mkconfig -o /boot/grub/grub.cfg\