TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

From the Bootloader to the Kernel

124 点作者 lrsjng大约 6 年前

2 条评论

JdeBP大约 6 年前
This article is another case of regurgitated received folk wisdom that is wrong and that has been wrong for years if not decades.<p>&gt; <i>The processor starts working in real mode.</i><p>Intel CPUs have not started in real mode since the 80286. The 80386 and later start in <i>unreal</i> mode. The whole explanation of real mode addressing, based upon not realizing that the 80386 and later <i>always</i> use the segment registers and do not do that real mode address calculation using the value of the selector, is irrelevant. Futhermore: In some scenarios nowadays, CPUs <i>never</i> run in real mode, going straight from unreal mode to protected mode and, because they then run a protected mode EFI bootstrap, staying there.<p>&gt; <i>When attempting to boot from a hard drive, the BIOS tries to find a boot sector.</i><p>PC systems have not necessarily loaded the MBR and run it for more than a decade, now. Systems bootstrap the EFI way, and this is nowadays fairly common and mainstream.<p>&gt; <i>The core image begins with diskboot.img, which is usually stored immediately after the first sector in the unused space before the first partition.</i><p>This &quot;boot virus area&quot; does not exist on modern systems with EFI partitioning. That is also common and mainstream nowadays, too.<p>* <a href="https:&#x2F;&#x2F;superuser.com&#x2F;a&#x2F;347115&#x2F;38062" rel="nofollow">https:&#x2F;&#x2F;superuser.com&#x2F;a&#x2F;347115&#x2F;38062</a><p>* <a href="https:&#x2F;&#x2F;superuser.com&#x2F;a&#x2F;345333&#x2F;38062" rel="nofollow">https:&#x2F;&#x2F;superuser.com&#x2F;a&#x2F;345333&#x2F;38062</a><p>* <a href="http:&#x2F;&#x2F;jdebp.eu.&#x2F;FGA&#x2F;efi-boot-process.html" rel="nofollow">http:&#x2F;&#x2F;jdebp.eu.&#x2F;FGA&#x2F;efi-boot-process.html</a><p>* <a href="http:&#x2F;&#x2F;rodsbooks.com.&#x2F;efi-bootloaders&#x2F;index.html" rel="nofollow">http:&#x2F;&#x2F;rodsbooks.com.&#x2F;efi-bootloaders&#x2F;index.html</a>
评论 #19352875 未加载
scott_s大约 6 年前
What this looked like in 2004: <a href="https:&#x2F;&#x2F;www.scott-a-s.com&#x2F;the-linux-boot-process-of-2004&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.scott-a-s.com&#x2F;the-linux-boot-process-of-2004&#x2F;</a>