什么是内核、引导加载程序?
我需要从基础上深入了解引导加载程序和内核。 我搜索谷歌并得到了很多链接......但我需要找到好的链接。如果你的朋友有任何文档或视频或 html 与我分享......
提前致谢
i need to know about boot loader and kernel in deep from its basic.
i search the google and got a lot of links... but i need to find the good ones. if you pals have any docs or video or htmls share with me.....
thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
内核是操作系统的核心代码组件。它用于与硬件交互,并为应用软件提供接口。请阅读维基百科此处了解详细信息。
详细信息因平台而异,但一般有以下步骤
代表启动过程。
执行开机自检 (POST)
和初始设备发现和
自操作系统启动以来初始化
进程可能依赖于对磁盘的访问,
屏幕、键盘等。
磁盘,MBR(主引导记录)是
读入固定的内存位置并
被执行。该部门包含一个
小(512字节)程序加载
称为 boot from 的独立程序
启动设备,通常是 IDE 或
SCSI 磁盘。
到固定的高内存地址
释放低内存以供操作
系统。一旦移动,引导就会读取根目录
启动设备的目录。
为此,它必须了解
文件系统和目录格式,
有些人就是这种情况
引导加载程序,例如 GRUB
BootloaderGRandUnified.
其他流行的引导加载程序,例如
Intel的LILO,不依赖任何
特定的文件系统。相反,他们
需要一个块图和低级
地址,描述物理
扇区、磁头和柱面,以
找到相关部门
已加载。
内核并跳转到它。在此
点,引导已经完成了它的工作并且
内核正在运行。
Kernel is the core code component of the operating system. It is used to interact with the hardware and provides an interface for application software. Read wikipedia here for detailed info.
Details vary from platform to platform, but in general the following steps
represent the boot process.
performs Power-On-Self-Test (POST)
and initial device discovery and
initialization, since the OS’ boot
process may rely on access to disks,
screens, keyboards, etc.
disk, the MBR (Master Boot Record) is
read into a fixed memory location and
executed. This sector contains a
small (512-byte) program that loads a
standalone program called boot from
the boot device, usually an IDE or
SCSI disk.
to a fixed high memory address to
free up low memory for the operating
system. Once moved, boot reads the root
directory of the boot device.
To do this, it must understand the
file system and directory format,
which is the case with some
bootloaders such as GRUB
BootloaderGRandUnified.
Other popular bootloaders, such as
Intel’s LILO, do not rely on any
specific filesystem. Instead, they
need a block map, and low-level
addresses, which describe physical
sectors, heads, and cylinders, to
find the relevant sectors to be
loaded.
kernel and jumps to it. At this
point, boot has finished its job and
the kernel is running.