compiling a new kernel
i compiled a new 2.6.1 kernel on a slackware box.
here were my steps; edit lilo and makefile accordly. make dep make clean make menuconfig make bzImage make make install make modules make modules_install then i ran a script to grab the first 512 bytes of my root partiion, and copied it to my c:\ of winXP so, i can dual boot between xp and slackware. When i loaded my old kernel it loads fine, but when i run the new 2.6.1 kernel, it goes through a scan and say BIOS check successful; then it goes to uncompress kernel image and just hangs there, It doesn't go anywhere further. My question is why is it hanging there? Thanks in advance |
I'm not sure, I've haven't ran into the need to recompile my kernel yet. (Thank the powers that be) Do you have any way of getting back to your old kernel?
|
I have both kernels in lilo, and i can load the 2.4.22 kernel, but when i ran the 2.6.1 one, its hangs there and doesn't do anything.
|
Oh, well thats a good thing. Are you sure theres nothing special you need to pass to the kernel? Do you pass anything to your old kernel?
|
no i don't pass anything to the old kernel. When the kernel tries to uncompress it just hangs. Is there anything i can do to see why it is hanging? or should i just try to compile another kernel?
|
in slackware 9.1
i allways did this ***edit my .config file for the kernel with # make menuconfig make dep make clean make bzImage make modules make modules_install rm /boot/System.map cp /usr/linux/arch/i386/boot/bzImage /boot/bzImage-newkernel cp /usr/linux/System.map /boot/System.map ****then edit the lilo.conf file accordinlly ***then run lilo reboot works great for me just make sure you select the right things in your .config file like filesystem types sound card modem/network driver etc.... |
hey thanks, i'm gonna try your method when i get home from work. too bad my work doesn't use linux. I will let you know how it goes. thanks again, everyone is really helpful at this website.
Another question what is System.map? |
All times are GMT -5. The time now is 07:15 PM. |