Enable modules in kcon, and switch to nconfig from menuconfig
This commit is contained in:
parent
ead06549a0
commit
af3fd6e713
@ -4,7 +4,10 @@
|
|||||||
|
|
||||||
cd /usr/src/linux
|
cd /usr/src/linux
|
||||||
|
|
||||||
make menuconfig
|
make nconfig
|
||||||
|
|
||||||
|
# Alternatively
|
||||||
|
#make menuconfig
|
||||||
|
|
||||||
# Stop the script here if you only need to configure
|
# Stop the script here if you only need to configure
|
||||||
sleep 2
|
sleep 2
|
||||||
@ -13,14 +16,14 @@ sleep 2
|
|||||||
make -j8
|
make -j8
|
||||||
notify-send "Kernel compilation finished."
|
notify-send "Kernel compilation finished."
|
||||||
|
|
||||||
# Loadable modules are disabled in my configuration.
|
# Comment out this line if you disable modules
|
||||||
#make modules_install
|
make modules_install
|
||||||
|
|
||||||
# Install kernel to /boot
|
# Install kernel to /boot
|
||||||
make install
|
make install
|
||||||
|
|
||||||
# Generate initramfs
|
# Generate initramfs
|
||||||
genkernel --install --kernel-config=.config --luks initramfs --no-ramdisk-modules
|
genkernel --install --kernel-config=.config --luks initramfs #--no-ramdisk-modules # Uncomment for modules
|
||||||
|
|
||||||
# Regenerate grub config
|
# Regenerate grub config
|
||||||
update-grub
|
update-grub
|
||||||
|
Loading…
Reference in New Issue
Block a user