Table of Contents

Kernelupdate/config und initrd erstellen

Hier wird primär beschrieben, wie ich die Kernel auf meiner “Haupt”-Installation update. Das dient nicht nur zur Information anderer, sondern hilft auch ganz gut gegen Vergessen ;)

Aktuelle Situation

Updaten des Kernels

Alles als normaler User ausführen ;)

Erstellen des Kernels und der initrd

make oldconfig
make menuconfig
make -j8 && sudo make modules_install && sudo cp arch/x86/boot/bzImage /boot/kernel-3.11.0-rc3 && sudo dracut /boot/initramfs-3.11.0-rc3.img --force --xz -H "3.11.0-rc3" --omit "i18n" --add-drivers i915 "--compress=xz --check=crc32 -9e" && sudo grub2-mkconfig -o /boot/grub2/grub.cfg
brot@brotscheibe linux % KVER=`grep -o -E "[[:digit:]]+\.[[:digit:]]+\.[[:digit:]](\-\r\c[[:digit:]]*)?" .config` make -j14 && sudo make modules_install && sudo cp arch/x86/boot/bzImage /boot/$KVER && sudo dracut /boot/initramfs-$KVER --force --xz -H $KVER --omit "i18n" --add-drivers i915 --add-drivers ahci "--compress=xz --check=crc32 -9e" && sudo grub2-mkconfig -o /boot/grub2/grub.cfg 

Aktuelle Kernelconfigs

brot - Dell Latitude E6420

.config für 3.11.0-rc3 auf owncloud.minad.de .config für 3.4-rc1 auf share