kernel

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
kernel [2012/04/09 14:23] – [kernel and initrd build command] brotkernel [2013/08/04 09:02] – [brot - Dell Latitude E6420] brot
Line 14: Line 14:
 Alles als normaler User ausführen ;) Alles als normaler User ausführen ;)
  
-  * (Erster clone: cd /usr/src; git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git; git rename origin linus )+  * erster clone: %%cd /usr/src; git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git; git rename origin linus%%
   * git pull linus   * git pull linus
   * git checkout -f v3.4-rc1 ( version ) oder git checkout linus/master ( aktueller entwicklungszweig )   * git checkout -f v3.4-rc1 ( version ) oder git checkout linus/master ( aktueller entwicklungszweig )
  
 ==== Erstellen des Kernels und der initrd ==== ==== Erstellen des Kernels und der initrd ====
- +<code> 
-  make oldconfig make menuconfig +make oldconfig 
-  make -j8 && sudo make modules_install && sudo cp arch/x86/boot/bzImage /boot/kernel-3.4-rc1+ && sudo dracut /boot/initramfs-3.4-rc1+.img --omit plymouth --force --xz -H "3.4.0-rc1+" && sudo grub2-mkconfig -o /boot/efi/EFI/grub2/grub.cfg +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 
-Achtung: /boot/efi ist in meinem Fall die EFI-Bootpartition. Bei "normalem" GRUB2 sollte die Config unter /boot/grub2/grub.cfg liegen+</code>
  
 ===== Aktuelle Kernelconfigs ===== ===== Aktuelle Kernelconfigs =====
  
 ==== brot - Dell Latitude E6420 ==== ==== brot - Dell Latitude E6420 ====
- +[[https://owncloud.minad.de/public.php?service=files&t=2bab8797eee07f0c56abf2cfc381e09b|.config für 3.11.0-rc3 auf owncloud.minad.de]] 
- +[[http://is.gd/6RfnLD|.config für 3.4-rc1 auf share]]
- +
-==== kernel bauen und initrd erstellen ==== +
- +
-dracut ist ein sehr nettes tool, das kaum konfiguration benötigt und in portage enthalten ist. das verwenden wir hier :+
- +
-  make -j6 && sudo make modules_install && sudo cp arch/x86/boot/bzImage /boot/kernel-3.0.0-rc1+ && sudo dracut /boot/initramfs-3.0.0-rc1+.img --force --lzma -H "3.0.0-rc1+" +
-   +
- ==== brotscheibe dell latitude e6420 .config ====+
  
  • kernel.txt
  • Last modified: 2014/12/06 16:34
  • by brot