by mrtux » Tue Nov 19, 2024 3:22 am
[quote="beginner_arch_User"]no sir i never done that , like compiling a kernel and make it into iso. and youtube don't have proper organized video about it. can you tell me how you make iso from it [linux-aarch64-6.12-1-aarch64.pkg.tar.xz] . or you have any different way?[/quote]
Why are you trying to turn it into an iso? The common way would be downloading a tar.xz or tar.gz file from kernel.org depending on whether you are building a stable or mainline build, afterwards, you would create a directory, place the downloaded kernel file there, extract it, add your kernel config file (if you are wanting to start with the default arch config, you can grab it by doing zcat /proc/config.gz > *your-kernel-building-directory*) afterwards you can follow these steps [url]https://wiki.archlinux.org/title/Kernel/Traditional_compilation[/url]
The best way to do all of this on Arch Linux is with a PKGBUILD file. Doing so will use Arch's built in package building system using makepkg. After setting up your PKGBUILD, you will add in your config file, and run makepkg, this will build the kernel and place it into Arch installable packages that will make it very easy to install, uninstall, and upgrade. They can then be installed alongside of the default linux package Arch supplies. This would be my recommended method for you to follow, as it is far less troublesome and does not require manually keeping track of your kernel. Is this your goal? Building a custom version of the linux kernel? If so, I can provide you with a PKGBUILD that will be easy to modify to your needs, such as changing the kernel name, kernel version, and presumably more importantly, your kernel configuration, assuming you are doing this to either, slim down your kernel for only needed modules, add support for non-standard devices etc that are not included with there kernel by default, or change the kernel HZ, or if you are trying to build a realtime kernel for multimedia etc. If this is not your goal, please help me understand better what you are trying to accomplish, and please do share what exactly you are passing as commands. I don't quite understand what your goal is here, but I am happy to help you if I am able to.
And please also tell me if you are trying to do this from a ARM device, or if you are going to be building this from a x86 machine FOR an ARM device, as your build tools will need to be in place to cross-compile. Please ensure you install the necessary base-devel package for building packages.
Last edited by
mrtux on Tue Nov 19, 2024 3:56 am, edited 1 time in total.