This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
kernel_compiling [2025/05/25 18:54] me |
kernel_compiling [2025/06/03 10:08] (current) me |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| + | [[test for required tools]] | ||
| + | |||
| + | https:// | ||
| 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:// | ||
| Line 25: | Line 35: | ||
| + | to rerun lilo on a bootable usb stick after editing -------- | ||
| + | lilo -C etc/ | ||
| + | |||
| + | |||
| + | [[initrd]] | ||
| + | |||
| + | [[lilo]] | ||
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | ||
| Line 47: | 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:// | ||
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ||
| Line 155: | Line 174: | ||
| commands from within Slax) | commands from within Slax) | ||
| + | |||
| + | https:// | ||
| Tomas M | Tomas M | ||
| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ||
| Line 161: | Line 182: | ||
| ===Slax pack/ | ===Slax pack/ | ||
| - | xz -dc < /boot/initrd-$(uname -r).img | cpio -idmv | + | $ cpio -iv < /tmp/archive.cpio ..... extract cpio |
| + | xz -dc < / | ||
| - | Here is what i use to repack an xz initramfs for syslinux 4.06 (live boot) | + | |
| + | xz -dc < initrfs.img | cpio -idmv | ||
| + | |||
| + | |||
| + | Here is what to use use to repack an xz initramfs for syslinux 4.06 (live boot) | ||
| <file c ramfs/ | <file c ramfs/ | ||
| #!/bin/bash | #!/bin/bash | ||
| Line 172: | Line 198: | ||
| mv ../ | mv ../ | ||
| </ | </ | ||
| + | |||
| + | |||
| + | |||
| ===kernel build=== | ===kernel build=== | ||