📄 156.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>CTerm非常精华下载</title>
</head>
<body bgcolor="#FFFFFF">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="577">
<tr><td width="32%" rowspan="3" height="123"><img src="DDl_back.jpg" width="300" height="129" alt="DDl_back.jpg"></td><td width="30%" background="DDl_back2.jpg" height="35"><p align="center"><a href="http://202.112.58.200"><font face="黑体"><big><big>Tsinghua</big></big></font></a></td></tr>
<tr>
<td width="68%" background="DDl_back2.jpg" height="44"><big><big><font face="黑体"><p align="center"> 嵌入式系统 (BM: turbolinux jacobw) </font></big></big></td></tr>
<tr>
<td width="68%" height="44" bgcolor="#000000"><font face="黑体"><big><big><p align="center"></big></big><a href="http://cterm.163.net"><img src="banner.gif" width="400" height="60" alt="banner.gif"border="0"></a></font></td>
</tr>
<tr><td width="100%" colspan="2" height="100" align="center" valign="top"><br><p align="center">[<a href="嵌入式系统.htm">回到开始</a>][<a href="65.htm">上一层</a>][<a href="157.htm">下一篇</a>]
<hr><p align="left"><small>发信人: turbolinux (hoho~神啊,救救我吧...), 信区: Embedded <br>
标 题: Embedded Linux Howto (3) <br>
发信站: BBS 水木清华站 (Thu Jul 12 00:30:39 2001) <br>
<br>
3. The boot process. <br>
This section is for the most based on the Bootdisk-HOWTO. <br>
<br>
3.1 Bios <br>
All PC systems start the boot process by executing code in ROM <br>
(specifically, the BIOS) to load the sector from sector 0, cylinder 0 of <br>
the boot drive. The boot drive is usually the first floppy drive <br>
(designated A: in DOS and /dev/fd0 in Linux). The BIOS then tries to <br>
execute this sector. On most bootable disks, sector 0, cylinder 0 <br>
contains either: <br>
<br>
Code from a boot loader such as LILO, which locates the kernel, loads it <br>
and executes it to start the boot proper. <br>
he start of an operating system kernel, such as Linux. <br>
If a Linux kernel has been raw-copied to a diskette, a hard drive or <br>
another media, the first sector of the disk will be the first sector <br>
of the Linux kernel itself. This first sector will continue the boot <br>
process by loading the rest of the kernel from the boot device. <br>
3.2 The boot loader <br>
We will use a boot loader like lilo to operate our boot process. It <br>
permits to have the dev and production platforms on the same hardware <br>
and to switch from one to the other by only rebooting. The lilo boot <br>
loader is loaded by the bios. Then, it loads kernels or the boot sectors <br>
of other operating systems. It also provides a simple command-line <br>
interface to interactively select the item to boot with its options. <br>
More may be found in the Lilo documentation at ftp://sunsite.unc. <br>
edu/pub/Linux/system/boot/lilo/. <br>
<br>
3.3 The Kernel <br>
The kernel checks the hardware and mounts the root device. Then it looks <br>
for the init program on the root filesystem and executes it. <br>
<br>
3.4 Init <br>
Init is the parent of all other processes that will run on your linux <br>
OS, it will watch it's child processes and start, stop, re-lauch them if <br>
needed. init takes all information from /etc/inittab. <br>
<br>
3.5 inittab <br>
The file /etc/inittab/ refers to scripts named /etc/rc... to do the <br>
system setup. It also has entries for the getty tool to handle the login <br>
process. <br>
<br>
3.6 The login process <br>
There is one getty available in the inittab file for each console you <br>
allow for the users. Getty will launch /bin/login to verify the user <br>
password. <br>
<br>
More info about the boot process may be found at Linux Documentation <br>
Project and in the init and inittab man pages. <br>
<br>
<br>
-- <br>
Welcome to http://www.EnjoySmart.com <br>
-->Dedicated to Smart Home & Network Appliances <br>
<br>
<br>
※ 来源:·BBS 水木清华站 smth.org·[FROM: 166.111.174.125] <br>
</small><hr>
<p align="center">[<a href="嵌入式系统.htm">回到开始</a>][<a href="65.htm">上一层</a>][<a href="157.htm">下一篇</a>]
<p align="center"><a href="http://cterm.163.net">欢迎访问Cterm主页</a></p>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -