You are not logged in.
I was wondering how can I change my kernel compression to LZ4. I didn't found anything on the internet. I've already installed the LZ4 package:
https://www.archlinux.org/packages/core/x86_64/lz4/
but i think I'm not using it yet. How can I switch to this kernel compressor/decompressor algorithm?
Last edited by EFarmer (2017-01-02 14:10:54)
Offline
have a look inside /etc/mkinitcpio.conf. Uncomment the compression you want and rebuild your initram
https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...
Offline
have a look inside /etc/mkinitcpio.conf. Uncomment the compression you want and rebuild your initram
Does mkinitcpio -p linux rebuild initram?
Offline
yes
https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...
Offline
Do you want to change the compression used for the kernel, or for your initramfs? All the above is just for the initramfs.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Do you want to change the compression used for the kernel, or for your initramfs? All the above is just for the initramfs.
Oh, kernel. Sorry. I didn't know it. How can I apply that change for the entire kernel?
Offline
Any suggestion?
Offline
Any suggestion?
Please do not do that Code_of_conduct#Bumping
$ zgrep CONFIG_KERNEL /proc/config.gz
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
You would need to rebuild the kernel with one of the other options set the wiki contains a number of guides to building the kernel you would then be responsible for keeping the kernel updates yourself along with any external kernel modules.
Also would first read through upstreams notes on the relative merits of each option.
Offline
You'll need to rebuild your kernel
Online
EFarmer wrote:Any suggestion?
Please do not do that Code_of_conduct#Bumping
$ zgrep CONFIG_KERNEL /proc/config.gz CONFIG_KERNEL_GZIP=y # CONFIG_KERNEL_BZIP2 is not set # CONFIG_KERNEL_LZMA is not set # CONFIG_KERNEL_XZ is not set # CONFIG_KERNEL_LZO is not set # CONFIG_KERNEL_LZ4 is not set
You would need to rebuild the kernel with one of the other options set the wiki contains a number of guides to building the kernel you would then be responsible for keeping the kernel updates yourself along with any external kernel modules.
Also would first read through upstreams notes on the relative merits of each option.
How can I edit that using this guide https://wiki.archlinux.org/index.php/Ke … ild_System?
Offline
How can I edit that using this guide https://wiki.archlinux.org/index.php/Ke … ild_System?
Changing_prepare
Did you edit the config file directly or did you try to use one of the menu based config generators?
What commands did you run and what output was generated?
Offline
EFarmer wrote:How can I edit that using this guide https://wiki.archlinux.org/index.php/Ke … ild_System?
Changing_prepare
Did you edit the config file directly or did you try to use one of the menu based config generators?
What commands did you run and what output was generated?
Well, I didn't run/edit anything for now. I was just asking what's the better way to change that kernel comp/decomp algorithm (The Arch Way or the Traditional Way)? Can't I just edit that config file directly?
Last edited by EFarmer (2017-01-03 20:47:41)
Offline
Can't I just edit that config file directly?
Yes assuming you mean one of config or config.x86_64 in the directory you building the package in.
If you need to change a few config options you can edit config file in the source. Change or copy existing config file to config.x86_64 for 64bit system and config for 32bit system.
Then you will need to Generate_new_checksums
Offline
EFarmer wrote:Can't I just edit that config file directly?
Yes assuming you mean one of config or config.x86_64 in the directory you building the package in.
If you need to change a few config options you can edit config file in the source. Change or copy existing config file to config.x86_64 for 64bit system and config for 32bit system.
Then you will need to Generate_new_checksums
Should I download the clean kernel from http://kernel.org? If yes, which one?
Offline
Should I download the clean kernel from http://kernel.org? If yes, which one?
No if you are following https://wiki.archlinux.org/index.php/Ke … ild_System
Yes if you are following https://wiki.archlinux.org/index.php/Ke … ompilation
The two guides can not be mixed and matched and should already answer if you need sources from kernel.org.
Its your choice as to which version you build.
Offline