打印本文 打印本文 关闭窗口 关闭窗口
Linux kernel release 2.0.xx
作者:武汉SEO闵涛  文章来源:敏韬网  点击数3985  更新时间:2009/4/22 20:45:36  文章录入:mintao  责任编辑:mintao
e kernel makefiles,
   but you may want to check your particular lilo setup first. 
 
 - if your kernel is too large for "make zImage", use "make bzImage"
   instead.
 
 - if you configured any of the parts of the kernel as `modules'''', you
   will have to do "make modules" followed by "make modules_install".
   Read Documentation/modules.txt for more information.  For example,
   an explanation of how to use the modules is included there.
 
 - keep a backup kernel handy in case something goes wrong.  This is 
   especially true for the development releases, since each new release
   contains new code which has not been debugged. 
 
 - In order to boot your new kernel, you''''ll need to copy the kernel
   image (found in /usr/src/linux/arch/i386/boot/zImage after compilation)
   to the place where your regular bootable kernel is found. 
 
   For some, this is on a floppy disk, in which case you can "cp
   /usr/src/linux/arch/i386/boot/zImage /dev/fd0" to make a bootable
   floppy.  Note that as of Linux 2.0.0, a kernel copied to a 720k
   double-density 3.5" floppy disk no longer boots.  In this case,
   it is highly recommended that you install LILO on your
   double-density bootfloppy or switch to high-density floppies.
 
   If you boot Linux from the hard drive, chances are you use LILO which
   uses the kernel image as specified in the file /etc/lilo.conf.  The
   kernel image file is usually /vmlinuz, or /zImage, or /etc/zImage. 
   To use the new kernel, copy the new image over the old one (save a
   backup of the original!).  Then, you MUST RERUN LILO to update the
   loading map!! If you don''''t, you won''''t be able to boot the new kernel
   image. 
 
   Reinstalling LILO is usually a matter of running /sbin/lilo. 
   You may wish to edit /etc/lilo.conf to specify an entry for your
   old kernel image (say, /vmlinux.old) in case the new one does not
   work.  See the LILO docs for more information. 
 
   After reinstalling LILO, you should be all set.  Shutdown the system,
   reboot, and enjoy!
 
   If you ever need to change the default root device, video mode,
   ramdisk size, etc.  in the kernel image, use the ''''rdev'''' program (or
   alternatively the LILO boot options when appropriate).  No need to

上一页  [1] [2] [3] [4] [5] [6]  下一页

打印本文 打印本文 关闭窗口 关闭窗口