User Tools

Site Tools


kernel_compiling

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
kernel_compiling [2025/06/01 07:40]
me
kernel_compiling [2025/06/03 10:08] (current)
me
Line 1: Line 1:
 +
 +[[test for required tools]]
 +
 +https://blog.paranoidpenguin.net/2016/10/how-to-build-your-own-kernel-on-slackware-linux/
  
 ccache -C   clear cache before building new kernel ccache -C   clear cache before building new kernel
Line 5: Line 9:
  
 make olddefconfig make olddefconfig
 +
 +[[my config for 666]]
 +
 +[[AUFS patching for 666]]
 +
 +https://github.com/sfjro/aufs-standalone/tree/aufs6.6.54  --- AUFS patches for 666
  
  
Line 31: Line 41:
  
 [[initrd]] [[initrd]]
 +
 +[[lilo]]
  
 --------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------
Line 52: Line 64:
 :diffput is what I want - I usually copy left to right. –  :diffput is what I want - I usually copy left to right. – 
  
 +
 +https://www.freecodecamp.org/news/compare-two-files-in-linux-using-vim/
 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------
  
Line 160: Line 174:
 commands from within Slax) commands from within Slax)
  
 +
 +https://github.com/Tomas-M/linux-live/blob/master/config
 Tomas M Tomas M
 --------------------------------------------------------------------------- ---------------------------------------------------------------------------
Line 169: Line 185:
  
 xz -dc < /boot/initrd-$(uname -r).img | cpio -idmv  ... all at once, if file is xz xz -dc < /boot/initrd-$(uname -r).img | cpio -idmv  ... all at once, if file is xz
 +
 +
 +xz -dc < initrfs.img | cpio -idmv
  
  
Line 179: Line 198:
 mv ../initrfs.img.cpio.xz ../initrfs.img mv ../initrfs.img.cpio.xz ../initrfs.img
 </file> </file>
 +
 +
 +
  
 ===kernel build=== ===kernel build===
kernel_compiling.1748763600.txt.gz · Last modified: 2025/06/01 07:40 by me