After configuring and building the kernel using make, why don't I have vmlinuz-<version>-default.img and initrd-<version>.img, but only got a huge vmlinux binary (~150MB)?
|
The compressed images are under If you still don't have the image, check if Also, the kernel config allows you to choose the compression method, so the actual file name and compression algorithm may differ if you changed that kernel setting. As others already mentioned, initrds are not generated by the linux compilation process, but by other tools. Note that unless, for some reason, you need external files (e.g. you need modules or udev to identify or mount |
|||
|
|
make bzImage? Also, did you make a monolithic kernel? Are you running a Debian-like OS? If so, and you're not cross-compiling, there are easier ways to build a kernel. – Alexios May 16 '12 at 9:03kernel.org). Aftermake menuconfig, I typedmakeand let it does the job. – Amumu May 16 '12 at 9:05make bzImageto generate the bzImage kernel. Saymake helpto see some brief instructions. Check the Linux Kernel Howto for detailed instructions. If you answered everymake menuconfigquestion with Y (rather than M where appropriate), you've tried to include every driver in the kernel proper. This is a very, very bad idea and the kernel won't boot because it's too large. Theinitrdimage is generated by other tools. – Alexios May 16 '12 at 9:12