Recently i managed to install Arch Linux 6.15.7 (running perfectly) and then I want to try to build kernel by myself and boot it. What I have done is below:
- git clone [email protected]:archlinux/linux.git ; git checkout -b 6.15.7-arch1 v6.15.7-arch1 (since the current running kernel is 6.15.7-arch1-1)
- cd linux ; zcat /proc/config.gz | tee .config; make oldconfig; make all; sudo make modules_install; sudo make install (i copy arch/x86/boot/install.sh to /root/bin/installkernel and change it so that
-6.15.7-arch1can be suffixed to vmlinuz) - cd /boot ; sudo mkinitcpio -k 6.15.7-arch1 -g initramfs-6.15.7-arch1.img (95M , while original initramfs-linux.img only 50M)
- sudo grub-mkconfig -o /boot/grub/grub.cfg
- reboot
Booting stuck in console, failed to enter graphical login session.[attachment 1]
I enter tty2, ps aux | grep sddm, nothing but /usr/bin/sddm.
the normal boot see [attachment 2]