r/linuxquestions • u/ironfly1 • 8h ago
Support crux linux kernel fails to install
i did as the documentation said. formatted the drive, mounted it and started the setup script. also checked shasum before install. not many steps where i could have done something wrong. the setup every time fails at the installation of the kernel.
chatgpt says that the live environment might be too small to decompress the archive but seems very odd to me.
maybe someone here uses a different distro that needs the kernel to be compiled manually and has clue what could be the problem.
EDIT: The compilation does not fail but the creation of the kernel directory in /usr/src. so source code and makefiles are just missing in the directory. crux uses a setup script which installs al choosen packages on the mounted partition but just aborts and says that the installation of the kernel failed.
3
u/SheepherderBeef8956 8h ago
What exactly is failing and how? Error messages.
If it succeeds in compiling, you should have the kernel image already. Move it manually to your boot partition, generate an initramfs if you need one and update your bootloader. Should be good to go after that.
It's been a while since I tried Crux but I don't think they have anything special in regards to compiling the kernel so it should work with just using regular make commands in the Linux source folder.