You can modify these steps however you like, but if you do make sure you understand the consequences. 1) edit /usr/src/linux/Makefile and change EXTRAVERSION to be what ever you want like 'EXTRAVERSION = 24mdk-myversion' 2) 'cd /usr/src/linux' 3) 'cp .config my-configuration' 4) 'make mrproper' 5) 'cp my-configuration .config' 6) 'make menuconfig' then exit and save changes or use your favorite make config. 7) 'make dep bzImage modules' 8) 'cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.9-24mdk-myversion' 9) 'make moudles_install' and they will get copied to /lib/modules/2.4.9-24mdk-myversion 10) 'cp System.map /boot/System.map-2.4.9-24mdk-myversion' 11) point an entry in /etc/lilo.conf to the new kernel in /boot 12) 'lilo' 13) reboot and have fun. Note: all the real work done is by setting the EXTRAVERSION in the Makefile. On Fri, 2001-09-21 at 12:14, [EMAIL PROTECTED] wrote: > Hi, > > Thanks, but as I said in my original posting, I have no problem with LILO, > or adding OSs to LILO. What I AM having a problem with is figuring out > how to compile/install a kernel so that I can keep all the mods/deps from > my current kernel, AND those from the new kernel, in 2 SEPERATE places (if > it is possible). > > Thanks, > David Charles > > > On Thu, 20 Sep 2001 [EMAIL PROTECTED] wrote: > > > Hi David, > > > > All you simply need to do is add another stanza in your /etc/lilo.conf. > > > > For example, here's part of my laptop's lilo.conf: > > > > image=/boot/vmlinuz-2.4.5-3mdksmp > > label=245-3smp > > root=/dev/sda3 > > read-only > > optional > > append=" quiet" > > initrd=/boot/initrd-2.4.5-3mdksmp.img > > > > image=/boot/vmlinuz-2.4.6 > > label=246 > > root=/dev/sda3 > > read-only > > optional > > append=" quiet" > > > > So let's say this one is yours. Near the top of the file, you'll see > > your 'default' line to reflect which kernel image will boot by default > > (by what label it has). So if you wanted to boot to the latter kernel > > image, just have '246' in your default line. Like: default=246 > > > > Don't delete your old kosher kernel, just add the new one. Know what > > I'm saying? And don't forget to run lilo when you're done modifying > > your lilo.conf! > > > > Hope that helps, > > > > -Charlie > > On Thu 20 Sep at 22:13:57 -0400 [EMAIL PROTECTED] done said: > > > Hello everybody, > > > > > > I want to start off by thanking everyone who uses this list, especially > > > those who answered any of my previously posted questions. > > > > > > I would like to compile another kernel, and be able to boot from it. I > > > have pretty much no problem on the "how" of compiling the kernel. My > > > question concerns the fact that I have a system that is currently in VERY > > > good shape, with very few bugs/problems. I would like to keep my current > > > kernel, as well as all of its dependencies/etc., seperate (and left where > > > they are) from the new kernel. I would like to be able to choose from > > > lilo to boot either kernel A or kernel B (I know how to add to LILO no > > > prob); I would like it that, in the event that the new kernel seems to be > > > incompatible/cause problems with/break some of my software, that I can > > > just delete the kernel, map file, the deps, LILO entry etc. (for this, > > > perhaps a log of which files were installed would be helpful... where would I find > > > it/how would I make such a file during the compile/install process?) from > > > my system, and then, because I kept all the files needed by my current > > > kernel in their own seperate directory, I would be back in business with > > > my current, stable kernel running my system again. > > > > > > Can someone please either point me to a decent doc that details the > > > instructions of such an install, or post a response that includes a nice > > > detailed description of how to do it? > > > > > > Thanks in advance, > > > David Charles > > > > > > > > > > > Want to buy your Pack or Services from MandrakeSoft? > > > Go to http://www.mandrakestore.com > > > > > > -- > > GPG Key fingerprint = 4F36 EC4F 2F2C 5F59 9690 09E5 4C0F 9DB0 8623 53CE > > We're all in this alone. > > -- Lily Tomlin > > > > > > ------------=_1001099712-779-752 > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
