Kernel 2.6.3 and Lilo problems!!!
Hi I installed kernel 2.6.2 on my Mepis linux install. However I cannot boot it. I get to about 10 seconds in then I get a message about it loading the ram disk, then another one about the device map, then it just craps out and gives up.
I noticed that when I ran lilo I always seemed to get this message: Code:
Warning: COMPACT may conflict with LBA32 on some systems Also Mepis linux is a debian based distro (a mixture of unstable and experimental packages) - and in debian kernel compiles are slightly differentfrom what I'm used to. If I compile a kernel downloaded directly from debian mirrors it will automatically build and install an initrd. but this is only possible with source downloaded from an official Debian mirror. So I was wondering if I downloaded the source from kernel.org - how exactly would I go about creating my own initrd? Can I do this, or is it not possible because of the way Debian does things... Any input would be appreciated. GJ |
I usually download the source directly from kernel.org, apply the patches I want and then let make-kpkg work its magic. It doesn't crap out with any error on me, and I built 2.6.3 today on my wannabe-server (actually it's an old laptop ;)) running Debian Sarge/Testing.
I normally do not use an initrd image but a regular kernel image. For me an initrd is not needed so I just define the new kernel image in /etc/lilo.conf (if needed - the symlink magic works pretty well with dpkg and kernel images), rerun lilo and reboot. Btw, do you have device mapper enabled in "RAID and LVM" part of the kernel configuration? Håkan |
Erm... Possibly... I will look at that.... But how do I create an initrd anyway, just for reference?
Also with kpg I read that the correct instruction was Code:
imake-kpkg --revision=2:hostname.1.0 kernel_image GJ |
What I do, and it may be correct or not correct, is simply editing the Makefile and changing the first few lines to my liking:
Code:
VERSION = 2 Honestly speaking - the reason I do it this way is that I have had enough of problems with make-kpkg. Håkan |
All times are GMT -5. The time now is 04:26 PM. |