Linux Kernel Compilation Help
Linux kernel compilation is a very straightforward process(see the steps below which I'm following)
but despite several tries and some modifications in Kernel configuration file(File generated through
'make menuconfig'), i'm still not able to boot from the built image.
(Attached here is the kernel panic screenshot), I've also attached kernel configuration file(.config)
Please let me know what i'm missing.
Steps to compile and build Linux kernel (Version 2.6.XX.X) :
1: Get the kernel source available from The Linux Kernel Archives
2: Unpack the compressed sources(use bunzip2, and tar)
3: Invoke 'make menuconfig' on the top of the tree and do the needful selection
[root@localhost linux-126.96.36.199]# pwd
[root@localhost linux-188.8.131.52]# make menuconfig
[root@localhost linux-184.108.40.206]# make
5: Build the modules
[root@localhost linux-220.127.116.11]# make modules
6: [root@localhost linux-18.104.22.168]# make modules_install
7: [root@localhost linux-22.214.171.124]# make install
Step 7 in my case automatically copies the bzImage from arch/x86/boot to /boot and
renames it as vmlinuz. It also create initrd image and puts it under /boot
It modifies the /boot/grub/menu.lst file and i see the proper entries in this
Based on observations in step 7, my understanding is that i do not need to invoke
'mkinitrd' to create the initrd image.