Answer the question
In order to leave comments, you need to log in
initrd and gcc4.5.1 | 4.3
Background:
I compiled a kernel for a friend for his hardware, while I got two packages - with a kernel image and with headers. But at the same time, for a mysterious reason, the initrd is not generated consistently by “sudo make-kpkg --initrd kernel_image kernel_headers”, I then collect it separately when I do it for myself.
Now the question is:
The kernel is compiled by gcc-4.5.1, while a friend has 4.3, or even older. At the same time, there is no physical opportunity to get to his computer, there is no Internet there either, it is problematic to teach a friend to do all this. Hence the questions:
1) Is gcc used at all when building initrd?
2) If used, is it important that the kernel is built with a much newer version?
3) What is the right way to do an initrd on my machine beforehand if the answers to the previous questions are "yes"?
Answer the question
In order to leave comments, you need to log in
1) Is gcc used at all when building initrd?
2) If used, is it important that the kernel is built with a much newer version?
3) What is the right way to do an initrd on my machine beforehand if the answers to the previous questions are "yes"?
As far as I understand, it is customary to build initrd (more precisely, initramfs) already from installed packages. At least this is the case in all distributions of the debian branch. There, even for lazy people, there is a ready-made script - update-initramfs -k version -c.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question