summaryrefslogtreecommitdiff
path: root/cs
diff options
context:
space:
mode:
authornic <ra@afu.re>2025-07-26 16:04:53 -0400
committernic <ra@afu.re>2025-07-26 16:04:53 -0400
commit7e9dbc663f424543a88d0b566101b50b68afdd63 (patch)
tree8cc6049d3587022cb80f616e74a4cecc0144d72f /cs
parentd2087430326909da03e2fdb725fb68b60663a5f1 (diff)
Auto from nzxt - Sat 26 Jul 2025 04:04:53 PM EDT
Diffstat (limited to 'cs')
-rw-r--r--cs/Gentoo/Kernel.md2
-rw-r--r--cs/Gentoo/kernel_update.md47
2 files changed, 0 insertions, 49 deletions
diff --git a/cs/Gentoo/Kernel.md b/cs/Gentoo/Kernel.md
index f4bdcd0..1f0a1f4 100644
--- a/cs/Gentoo/Kernel.md
+++ b/cs/Gentoo/Kernel.md
@@ -1,11 +1,9 @@
-[[kernel_update]]
[[gentoo-kernel-bin]]
----
# will not use initramfs use flag on linux-firmware because will be loading initramfs in kernel directly
USE="static" emerge sys-apps/busybox
vim /usr/src/initramfs/[initramfs_list](initramfs_list)
diff --git a/cs/Gentoo/kernel_update.md b/cs/Gentoo/kernel_update.md
index 0aa8233..139597f 100644
--- a/cs/Gentoo/kernel_update.md
+++ b/cs/Gentoo/kernel_update.md
@@ -1,49 +1,2 @@
-cp /usr/src/linux/.config ~/($uname).backup
-emerge gentoo-sources
-eselect kernel list
-eslect kernel set x
-cd /usr/src/linux
-doas make mrproper
-cp ~/($uname).backup(oldone but not going to work...) .config
-
-make olddefconfig
-make menuconfig
-
-x = grep -c ^processor /proc/cpuinfo
-
-make -j x && make modules_install install
-
-cp /boot/vmlinuz-x.x.x-gentoo /boot/efi/boot/bootx64.efi
-
-emerge @module-rebuild # if nvida-drivers
-
-
-# protocol
-I have a problem when I run @world update since gentoo-sources is in my world file it update my kernel but does not compile it and it fuck up portage especially to compile nvidia
-
-1st: delete gentoo-source from world and treat it like portage
-aka: emerge -1
-
-2nd: choose a lts kernel every update
-
-# add build & symlink useflag ? post-hook prefered ?
-
-
-
-
-# post install hook
-
-0- must know before updating what change have been made
-
-1- take care of symlink with useflag so every new updated of gentoo-sources point to most recent kernel
-su
-
-make mrproper ??
-make olddefconf ??
-
-make -j$(nproc) && make modules_install install
-
-
-cp /boot/vmlinuz-x.x.x$(HOW TO GET IT)-gentoo /boot/efi/boot/bootx64.efi