Letzte Änderung am 2006-10-12 14:29:28 von senfi übersetzt
        
          Erweiterungen:
      Man kann jetzt den üblichen Debian-Prozeduren folgen, aber es gbit einen einfacheren Weg um die *.debs zu erstellen
ändere hier (Name des neuen Kernels soll z.B. werden.: 2.6.12.3-was-auch-immer-du-willst): 
EXTRAVERSION = -was-auch-immer-du-willst 
Änderungen mit F2 speichern.
Den Kernel nach deinen Bedürfnissen Anpassen: 
(make oldconfig benutzt eine alte Kernelconfig, falls es hier eine gibt: /usr/src/linux/.config) 
Tip:
Falls das hier passiert:
(make menuconfig würde aber auch funktionieren (anstatt make xconfig)) 
DANN
ODER
Das kompiliert die Quellen und erstellt ein paar .debs. Wenn alles ohne Fehler durchgelaufen ist, liegen die *.debs für den neuen Kernel, die Dokumentation und die header in /usr/src for. Einfach dpkg -i name um die Pakete zu installieren. 
Neustarten.
*TIPs* 
Schau auch in  /usr/src/Makefile nach um alle verfügbaren Optionen zu sehen
Falls der Kernel nicht bootet - keine Angst! Einfach wieder im alten Kernel booten.
Wenn du den Kernel Patchen willst, nimm die Anleitung als ersten Schritt. Patchen ist nicht sonderlich Schwer. So gehts:
In Verzeichnis wechseln, in das der Patch gehört: 
Patch einfügen, indem du den ganzen Pfad des Patches der Patchfile übergibs
              Löschungen:
      You can follow basic debian procedures to create kernel *.debs, but there's an easier way 
change the following (name of the new kernel eg.: 2.6.12.3-whatever-you-like): 
EXTRAVERSION = -whatever-you-like 
Save your edits mit F2.
Configure the kernel according to your needs: 
(make oldconfig uses the current kernelconfig, if there isn't anything under /usr/src/linux/.config) 
Hint:
If the following error occurs:
(make menuconfig is also fine) 
THEN 
OR 
That compiles the source and creates some .debs. Once it finished (assuming it is without error) you will have some *.debs located in /usr/src for your new kernel, docs & headers. Simply use dpkg -i name to install them. 
Reboot 
*HINTS* 
Take a look at /usr/src/Makefile to see the options available. 
 If your new kernel won't boot - fret not! Simply boot the old one again. 
 If you wish to patch the kernel apply it as the first step. 
 Patching is fairly simple. You get the patch: 
Change to the directory you want the patch applied to: 
Apply the patch by feeding patch the entire path to the patchfile: 
    
    
  
          Editiert am 2006-08-12 12:12:23 von RoEn 
        
          Erweiterungen:
      Wie baue ich mir einen Kernel
Der Dank für dieses Howto geht an slh & Kano  - ich mache mir nur die Mühe, die Gedanken der Beiden, die von mzilikazi bereits  strukturiert niedergelegt wurden, der deutschen Wiki-Community zu erhalten. ;) 
update-scripts-kanotix.sh
 
install-kernel-source-vanilla.sh
 
You can follow basic debian procedures to create kernel *.debs, but there's an easier way 
cd /usr/src/linux
mcedit Makefile
 
Save your edits mit F2.
(make oldconfig uses the current kernelconfig, if there isn't anything under /usr/src/linux/.config) 
make[1]: *** Keine Regel vorhanden, um das Target »scripts/kconfig/.tmp_qtcheck«
 
apt-get install qt3-apps-dev
 
THEN 
(time make fast is also possible) 
OR 
cd .. OR cd /usr/src
make source
 
That compiles the source and creates some .debs. Once it finished (assuming it is without error) you will have some *.debs located in /usr/src for your new kernel, docs & headers. Simply use dpkg -i name to install them. 
Reboot 
*HINTS* 
Take a look at /usr/src/Makefile to see the options available. 
wget http://www.someurl.org/patches/somefile.diff
 
Apply the patch by feeding patch the entire path to the patchfile: 
patch -p1 < /usr/src/somefile.diff
 
Aus den Forum http://forum.kanotix.net/viewtopic.php?t=4998∞ entnommen und wird im Laufe der Zeit noch verfeinert  ;)
zurück 
              Löschungen:
      Wie baue ich mir einen Kernel
Der Dank für dieses Howto geht an slh & Kano  - ich mache mir nur die Mühe, die Gedanken der Beiden, die von mzilikazi bereits  strukturiert niedergelegt wurden, der deutschen Wiki-Community zu erhalten. ;) 
:code:
- code:
 
:code:
update-scripts-kanotix.sh :code:
:code:
install-kernel-source-vanilla.sh:code:
 You can follow basic debian procedures to create kernel *.debs, but there's an easier way 
:code:
cd /usr/src/linux:code:
:code:
mcedit code ∞:
Save your edits: 
:code:
F2:code:
:code:
make oldconfig:code:
(make oldconfig uses the current kernelconfig, if there isn't anything under /usr/src/linux/.config) 
:code:
make xconfig:code:
:code:
make[1]: * Keine Regel vorhanden, um das Target »scripts/kconfig/.tmp_qtcheck«:code:
:code:
apt-get install qt3?-apps-dev:code:
 THEN 
Code:
- make
   (time make fast is also possible) 
 
 OR 
Code:
- .. OR cd /usr/src
- source
 
 
 That compiles the source and creates some .debs. Once it finished (assuming it is without error) you will have some *.debs located in /usr/src for your new kernel, docs & headers. Simply use dpkg -i to install them. 
 Reboot 
 *HINTS* 
 Take a look at /usr/src/Makefile to see the options available. 
:code:
wget :∞:
:code:
cd linux-$(uname -r):code:
 Apply the patch by feeding patch the entire path to the patchfile: 
:code:
patch -p1 < /usr/src/somefile.diff:code:
Aus den Forum http://forum.kanotix.net/viewtopic.php?t=4998∞ entnommen und wird noch verfeinert  ;)
    
    
  
    älteste bekannte Version dieser Seite wurde bearbeitet am 2006-02-13 14:54:35 von XineB [  ]
        
    Wie baue ich mir einen Kernel
Der Dank für dieses Howto geht an slh & Kano  - ich mache mir nur die Mühe, die Gedanken der Beiden, die von mzilikazi bereits  strukturiert niedergelegt wurden, der deutschen Wiki-Community zu erhalten. ;) 
 
1. Man mache sich mit: 
 
:code:
- code:
 
2. zum root und updatet die bekannten Kanotix-Scripts: 
:code:
update-scripts-kanotix.sh :code:
3. Dann hole sich man sich den frischesten Kernelsource:
:code:
install-kernel-source-vanilla.sh:code:
   
 You can follow basic debian procedures to create kernel *.debs, but there's an easier way 
 
:code:
cd /usr/src/linux:code:
:code:
mcedit 
code ∞:
change the following (name of the new kernel eg.: 2.6.12.3-whatever-you-like): 
 
EXTRAVERSION = -whatever-you-like 
 
Save your edits: 
 
:code:
F2:code:
   
Configure the kernel according to your needs: 
 
:code:
make oldconfig:code:
(make oldconfig uses the current kernelconfig, if there isn't anything under /usr/src/linux/.config) 
 
:code:
make xconfig:code:
Hint:
If the following error occurs:
:code:
make[1]: * Keine Regel vorhanden, um das Target »scripts/kconfig/.tmp_qtcheck«:code:
you will have to download the following packages:
:code:
apt-get install 
qt3?-apps-dev:code:
(make menuconfig is also fine) 
 THEN 
 
Code:
- make
 
   (time make fast is also possible) 
 OR 
 
Code:
- .. OR cd /usr/src
- source
 
 
   
 That compiles the source and creates some .debs. Once it finished (assuming it is without error) you will have some *.debs located in /usr/src for your new kernel, docs & headers. Simply use dpkg -i to install them. 
 
 Reboot 
 
 *HINTS* 
 
 Take a look at /usr/src/Makefile to see the options available. 
 
 If your new kernel won't boot - fret not! Simply boot the old one again. 
 
 If you wish to patch the kernel apply it as the first step. 
 Patching is fairly simple. You get the patch: 
 
 
:code:
cd /usr/src 
wget 
:∞:
Change to the directory you want the patch applied to: 
 
:code:
cd linux-$(uname -r):code:
   
 Apply the patch by feeding patch the entire path to the patchfile: 
 
:code:
patch -p1 < /usr/src/somefile.diff:code:
Aus den Forum 
http://forum.kanotix.net/viewtopic.php?t=4998∞ entnommen und wird noch verfeinert  ;)
  
 
  
Letzter Editor :
Eigentümer :