⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 buildmin-4.html

📁 讲述建立最小系统流程!!入门值得一看和一学
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><HTML><HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE>How To Build a Minimal Linux System from Source Code: Kernel</TITLE> <LINK HREF="buildMin-5.html" REL=next> <LINK HREF="buildMin-3.html" REL=previous> <LINK HREF="buildMin.html#toc4" REL=contents></HEAD><BODY><A HREF="buildMin-5.html">Next</A><A HREF="buildMin-3.html">Previous</A><A HREF="buildMin.html#toc4">Contents</A><HR><H2><A NAME="s4">4. Kernel</A></H2><P>Next we make a kernel. I presume you've done this before, so I'll be brief.It is easier to install lilo if the kernelit is meant to boot is already there. Go back to the target <CODE>usr/src</CODE>directory, and unpack the linux kernel source there. Enter the linux source tree (<CODE>cd linux</CODE>) and configure the kernelusing your favourite method, for example <CODE>make menuconfig</CODE>.You can make life slightly easier for yourself by configuringa kernel without modules. If you configure any modules, then youwill have to edit the <CODE>Makefile</CODE>, find <CODE>INSTALL_MOD_PATH</CODE>and set it to <CODE>/mnt/target</CODE>.<P><P>Now you can <CODE>make dep</CODE>, <CODE>make bzImage</CODE>, and if you configuredmodules: <CODE>make modules</CODE>, <CODE>make modules_install</CODE>. Copythe kernel <CODE>arch/i386/boot/bzImage</CODE> and the system map <CODE>System.map</CODE>to the target boot directory <CODE>/mnt/target/boot</CODE>, and we are ready to install lilo.<P><HR><A HREF="buildMin-5.html">Next</A><A HREF="buildMin-3.html">Previous</A><A HREF="buildMin.html#toc4">Contents</A></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -