Last active
December 24, 2015 23:19
-
-
Save caigen/6879124 to your computer and use it in GitHub Desktop.
linux内核影像怎么从外存载入内存
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 问题: | |
| 在启动引导试,linux映像是怎么从外存被载入内存的? | |
| 细细思考,这里面涉及一些小问题。就目前理解解答如下: | |
| 0,当没有驱动时,BIOS用于读外存/外设; | |
| 1,从BIOS到引导程序,引导程序在一个固定位置,所以BIOS能找到并加载其到内存中执行; | |
| 2,同样的,内核映像也必须在一个引导程序知道的位置处,引导程序将其从外存加载到内存; | |
| 3,不使用文件系统的bootsect.s,直接CALL BIOS来加载紧随其后的setup,及紧随setup之后的vmlinux; | |
| 4,试用文件系统的其他引导程序,通过其文件系统的vmlinux文件位置,将vmlinux从外存载入内存。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment