root
cd $BAU pwd if [ -d linux-6.18.10 ] then rm --force --recursive linux-6.18.10 fi tar --extract -f linux-6.18.10.tar.xz cd linux-6.18.10 pwd make mrproper make menuconfig
Linux/x86 6.18.10 Kernel Configuration General setup [ ] Compile the kernel with warnings as errors CPU/Task time and stats accounting [*] Pressure stall information tracking Control Group support [*] Memory controller Enable the block layer Partition Types [*] Advanced partition selection Device Drivers Firmware Drivers [*] Mark VGA/VBE/EFI FB as generic system framebuffer NVME Support <*> NVM Express block device Network device support USB Network Adapters <*> Multi-purpose USB Networking Framework Graphics support Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) [*] Display a user-friendly message when a kernel panic occurs (kmsg) Panic screen formatter Supported DRM clients [*] Enable legacy fbdev support for your modesetting driver Drivers for system framebuffers <*> Simple framebuffer driver File systems Pseudo filesystems <M> EFI Variable filesystem make --jobs=8 make modules_install cp arch/x86/boot/bzImage /boot/bzImage
root
install -v -m755 -d /etc/modprobe.d cat > /etc/modprobe.d/usb.conf << "EOF" # Begin /etc/modprobe.d/usb.conf install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true # End /etc/modprobe.d/usb.conf EOF