User Tools

Site Tools


gentoo:kernel_upgrades

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gentoo:kernel_upgrades [2019/12/09 18:12]
adyxax
gentoo:kernel_upgrades [2020/04/14 12:28] (current)
adyxax
Line 1: Line 1:
 ====== Gentoo kernel upgrades ====== ====== Gentoo kernel upgrades ======
- +~~REDIRECT>https://newwiki.adyxax.org/​docs/gentoo/kernel_upgrades/~~
-First we build the kernels on collab : +
-<​code>​ +
-PREV_VERSION=4.14.78-gentoo +
-eselect kernel set 1 +
-for ARCHI in `ls /​srv/​gentoo-builder/​kernels/​`;​ do cd /​usr/​src/​linux;​ make mrproper; cp /​srv/​gentoo-builder/​kernels/​${ARCHI}/​config-${PREV_VERSION} .config; echo "~~~~~~~~~~ $ARCHI ~~~~~~~~~~";​ make oldconfig; make -j5; INSTALL_PATH=/​srv/​gentoo-builder/​kernels/​${ARCHI}/​ make install; INSTALL_MOD_PATH=/​srv/​gentoo-builder/​kernels/​${ARCHI}/​ make modules_install;​ done +
-</code> +
- +
-On each node : +
-<​code>​ +
-export VERSION=4.14.83-gentoo +
-wget http://packages.adyxax.org/​kernels/​${HOSTNAME}/​System.map-${VERSION} -O /​boot/​System.map-${VERSION} +
-wget http://​packages.adyxax.org/​kernels/​${HOSTNAME}/​config-${VERSION} -O /​boot/​config-${VERSION} +
-wget http://​packages.adyxax.org/​kernels/​${HOSTNAME}/​vmlinuz-${VERSION} -O /​boot/​vmlinuz-${VERSION} +
-grub-mkconfig -o /​boot/​grub/​grub.cfg +
-rsync -a --delete collab-jde.nexen.net:/​srv/gentoo-builder/kernels/${HOSTNAME}/​lib/​modules/​${VERSION} /​lib/​modules/​ +
-</​code>​ +
- +
-On [[:​adyxax_org::​nas]] : +
-<​code>​ +
-eselect kernel set 1 +
-cd /​usr/​src/​linux +
-cp /​boot/​config-${VERSION} .config +
-cp /​boot/​System.map-${VERSION} System.map +
-(cd usr ; make gen_init_cpio) +
-genkernel --mdadm --install initramfs --microcode +
-make modules_prepare +
-emerge net-misc/​r8168 --quiet +
-grub-mkconfig -o /​boot/​grub/​grub.cfg +
-</​code>​ +
- +
-On [[adyxax_org:​hurricane]],​ [[:​adyxax_org::​hero]] and [[:​adyxax_org::​storm]] +
-<​code>​ +
-eselect kernel set 1 +
-cd /​usr/​src/​linux +
-cp /​boot/​config-${VERSION} .config +
-cp /​boot/​System.map-${VERSION} System.map +
-(cd usr ; make gen_init_cpio) +
-genkernel --luks --lvm --install initramfs --microcode +
-grub-mkconfig -o /​boot/​grub/​grub.cfg +
-</​code>​ +
- +
-On [[:​adyxax_org::​kube-jde]] and [[:​adyxax_org::​collab]] +
-<​code>​ +
-eselect kernel set 1 +
-cd /​usr/​src/​linux +
-cp /​boot/​config-${VERSION} .config +
-cp /​boot/​System.map-${VERSION} System.map +
-(cd usr ; make gen_init_cpio) +
-genkernel --luks --lvm --install initramfs +
-grub-mkconfig -o /​boot/​grub/​grub.cfg +
-</​code>​+
gentoo/kernel_upgrades.txt · Last modified: 2020/04/14 12:28 by adyxax