[NTLUG:Discuss] 2 kernels in Lilo

MadHat madhat at unspecific.com
Fri Feb 2 15:09:04 CST 2001


At 02:40 PM 2/2/2001 -0600, you wrote:
>Thanks....I'll try these ideas....  Whats the command for making a 
>uncompressed kernel ?  I figured out how to add the second kernel , i.e.

to make an uncompressed kernel, just do a "make" or "make all" as far as I 
know, but I rarely see that work, it almost always complains about the size 
and asks to use zImage or bzImage


>image = ....
>   label = kernel1
>...
>image = ....
>   label  =  kernel2
>.....
>
>Thanks to all who have helped so far!!
>
>
>MadHat wrote:
>
>>make bzimage just makes a compressed kernel, IIRC and has nothing to do 
>>with using a disk to boot.  It is often necessary if you are not using 
>>modules and have a lot of extras added (if you get the message that your 
>>kernel is too large, do a make bzImage).  There is also a make bzdisk 
>>maybe that is what you are thinking of.  There is also a make zImage and 
>>make zdisk and make zlilo.  Both the make bz* and make z* use gzip to 
>>compress the image, but they use different loading algorithms.  The make 
>>zImage can be used if you have a small kernel, the make bzImage is make 
>>"big zImage" not to be confused with bzip.
>>The make bzdisk calls make bzImage and then make zdisk, so that would 
>>create a bzImage kernel and write it to /dev/fd0, that sounds more like 
>>what you wnated.
>>At 01:31 PM 2/2/2001 -0600, Seth wrote:
>>
>>>If you just want to test the new build, try using make bzdisk where you 
>>>would normally
>>>use make bzimage.  This will create a bootable-floopy with your new 
>>>kernel on it.
>>>Once your done building just reboot and see if it works.  You can keep 
>>>rebuilding in this manner until you build a kernel that you want to 
>>>stick with.  You can mess with LILO at
>>>that point.
>>>Seth
>>>At 08:56 PM 2/1/01 -0600, you wrote:
>>>
>>>>I remember seeing a HOWTO out there once that described (with examples!) of
>>>>how to configure LILO to handle two kernels...  I have my default from 
>>>>RH7.0
>>>>but just built 2.4.1 and want to test it out.  I've tried linuxdoc.org 
>>>>kernal
>>>>and LILO howto's but they don't give nearly a good description as others I
>>>>have seen.  Anyone know where to look ?
>>>>Thanks!
>>>>_______________________________________________
>>>>http://ntlug.org/mailman/listinfo/discuss
>>>
>>>_______________________________________________
>>>http://ntlug.org/mailman/listinfo/discuss
>>
>>--
>>MadHat at unspecific.com
>>_______________________________________________
>>http://ntlug.org/mailman/listinfo/discuss
>
>
>_______________________________________________
>http://ntlug.org/mailman/listinfo/discuss

--
MadHat at unspecific.com




More information about the Discuss mailing list