To compile a kernel easily : make mrproper (if you like, I don't even bother) make xconfig or menuconfig or config make dep (with kernel 2.4.x not needed anymore for 2.5.x and up) make bzImage (assuming your PC is intel based) cp arch/i386/boot/bzImage /boot/another_name_if_you_want_to make modules make modules_install
then that's it for the compilation ! there's no need for another "make" ;o) just edit lilo or grub or whatever boot loader you use, and point it to the right image (ie /boot/bzImage or the name you've given it) reboot, and then type 'uname -a' after login in and you'll see if you did boot on the right kernel. see ya -- Open WebMail Project (http://openwebmail.org) ---------- Original Message ----------- From: Travis Osterman <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: 23 Jul 2003 22:20:12 -0500 Subject: Re: Multi-kernel in grub > I thank everyone again for their patience with me. I have tried to > methodically note everything I have done during the kernel > compilation below. Everything seems fine until the make install step. > > make distclean // no errors > make clean // (probably redudant) no errors > emacs Makefile & // changed 'EXTRAVERSION = -first-try' > make mrproper // no errors > make xconfig // didn't change anything > make dep // no errors > make bzImage // seems fine, see below > > Root device is (8, 7) > Boot sector 512 bytes. > Setup is 2623 bytes. > System is 1156 kB > warning: kernel is too big for standalone boot from floppy > make[1]: Leaving directory `/usr/src/linux-2.4.20-8/arch/i386/boot' > > make modules // no errors > make modules_install // no errors > make install // errors, see below > > warning: kernel is too big for standalone boot from floppy > sh -x ./install.sh 2.4.20-first-try bzImage > /usr/src/linux-2.4.20-8/System.map "" > + '[' -x /root/bin/installkernel ']' > + '[' -x /sbin/installkernel ']' > + exec /sbin/installkernel 2.4.20-first-try bzImage > /usr/src/linux-2.4.20-8/System.map '' > No module aic7xxx found for kernel 2.4.20-first-try > mkinitrd failed > make[1]: *** [install] Error 1 > make[1]: Leaving directory `/usr/src/linux-2.4.20-8/arch/i386/boot' > make: *** [install] Error 2 > > Will these errors cause problems if I bypass the 'make install' and > copy files to my /boot dir? Thanks again for the help. > > -- Travis > > - > To unsubscribe from this list: send the line "unsubscribe linux- > newbie" in the body of a message to [EMAIL PROTECTED] More > majordomo info at http://vger.kernel.org/majordomo-info.html Please > read the FAQ at http://www.linux-learn.org/faqs ------- End of Original Message ------- - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
