System Boot Sequence

原创 2004年11月02日 11:38:00
                                                   System Boot Sequence
Everyone today may know this sequence pretty well, I just added this article here 'cause  it illustrates the boot sequence in great deltail. Some time u may need to refer to it.
Great thanks goes to Charles :

The system BIOS is what starts the computer running when you turn it on. The following are the steps that a typical boot sequence involves. Of course this will vary by the manufacturer of your hardware, BIOS, etc., and especially by what peripherals you have in the PC. Here is what generally happens when you turn on your system power:

  1. The internal power supply turns on and initializes. The power supply takes some time until it can generate reliable power for the rest of the computer, and having it turn on prematurely could potentially lead to damage. Therefore, the chipset will generate a reset signal to the processor (the same as if you held the reset button down for a while on your case) until it receives the Power Good signal from the power supply.
  2. When the reset button is released, the processor will be ready to start executing. When the processor first starts up, it is suffering from amnesia; there is nothing at all in the memory to execute. Of course processor makers know this will happen, so they pre-program the processor to always look at the same place in the system BIOS ROM for the start of the BIOS boot program. This is normally location FFFF0h, right at the end of the system memory. They put it there so that the size of the ROM can be changed without creating compatibility problems. Since there are only 16 bytes left from there to the end of conventional memory, this location just contains a "jump" instruction telling the processor where to go to find the real BIOS startup program.
  3. The BIOS performs the power-on self test (POST). If there are any fatal errors, the boot process stops. POST beep codes can be found in this area of the Troubleshooting Expert.
  4. The BIOS looks for the video card. In particular, it looks for the video card's built in BIOS program and runs it. This BIOS is normally found at location C000h in memory. The system BIOS executes the video card BIOS, which initializes the video card. Most modern cards will display information on the screen about the video card. (This is why on a modern PC you usually see something on the screen about the video card before you see the messages from the system BIOS itself).
  5. The BIOS then looks for other devices' ROMs to see if any of them have BIOSes. Normally, the IDE/ATA hard disk BIOS will be found at C8000h and executed. If any other device BIOSes are found, they are executed as well.
  6. The BIOS displays its startup screen.
  7. The BIOS does more tests on the system, including the memory count-up test which you see on the screen. The BIOS will generally display a text error message on the screen if it encounters an error at this point; these error messages and their explanations can be found in this part of the Troubleshooting Expert.
  8. The BIOS performs a "system inventory" of sorts, doing more tests to determine what sort of hardware is in the system. Modern BIOSes have many automatic settings and will determine memory timing (for example) based on what kind of memory it finds. Many BIOSes can also dynamically set hard drive parameters and access modes, and will determine these at roughly this time. Some will display a message on the screen for each drive they detect and configure this way. The BIOS will also now search for and label logical devices (COM and LPT ports).
  9. If the BIOS supports the Plug and Play standard, it will detect and configure Plug and Play devices at this time and display a message on the screen for each one it finds. See here for more details on how PnP detects devices and assigns resources.
  10. The BIOS will display a summary screen about your system's configuration. Checking this page of data can be helpful in diagnosing setup problems, although it can be hard to see because sometimes it flashes on the screen very quickly before scrolling off the top.
  11. The BIOS begins the search for a drive to boot from. Most modern BIOSes contain a setting that controls if the system should first try to boot from the floppy disk (A:) or first try the hard disk (C:). Some BIOSes will even let you boot from your CD-ROM drive or other devices, depending on the boot sequence BIOS setting.
  12. Having identified its target boot drive, the BIOS looks for boot information to start the operating system boot process. If it is searching a hard disk, it looks for a master boot record at cylinder 0, head 0, sector 1 (the first sector on the disk); if it is searching a floppy disk, it looks at the same address on the floppy disk for a volume boot sector.
  13. If it finds what it is looking for, the BIOS starts the process of booting the operating system, using the information in the boot sector. At this point, the code in the boot sector takes over from the BIOS. The DOS boot process is described in detail here. If the first device that the system tries (floppy, hard disk, etc.) is not found, the BIOS will then try the next device in the boot sequence, and continue until it finds a bootable device.
  14. If no boot device at all can be found, the system will normally display an error message and then freeze up the system. What the error message is depends entirely on the BIOS, and can be anything from the rather clear "No boot device available" to the very cryptic "NO ROM BASIC - SYSTEM HALTED". This will also happen if you have a bootable hard disk partition but forget to set it active.

This process is called a "cold boot" (since the machine was off, or cold, when it started). A "warm boot" is the same thing except it occurs when the machine is rebooted using {Ctrl}+{Alt}+{Delete} or similar. In this case the POST is skipped and the boot process continues roughly at step 8 above.

1962:NO operating system found处理及其相关问题

1:winpe 进入系统不识别硬盘主机型号:ThinkCentre M8000sLenovo的商用机型,未配置光驱,预装系统为DOS。采用U盘启动由WINPE进入之后无法识别到硬盘。新的硬盘为可插拔的...
  • silencefish
  • silencefish
  • 2010年01月24日 13:55
  • 51439

Jexi设计 (11) Sequence Diagram

  • asklxf
  • asklxf
  • 2004年08月03日 20:59
  • 3635

设置主板的启动序列:Primary Boot…

有些电脑的启bios启动设置有点特殊,可以看到Primary Boot Sequence、Automatic Boot Sequence、Error Boot Sequence三种启动项: phoe...
  • zll0927
  • zll0927
  • 2013年05月02日 12:49
  • 1027

lenove台式机安装ubuntu14.04,error 1962:no operating system

windows will not boot in UEFI mode unless your Hard Disk uses GPT partition table. And from GPT Di...
  • zjkermit
  • zjkermit
  • 2014年05月15日 11:29
  • 2132

boot system flash bootflash:/cat4500-entservicesk9-mz.122-31.SGA10.bin

boot system flash bootflash:/cat4500-entservicesk9-mz.122-31.SGA10.bin 设置启动 ISO
  • a9254778
  • a9254778
  • 2012年11月01日 14:54
  • 959

ARM Linux Boot Sequence

  ARM Linux Boot SequenceThe following traces the Linux boot sequence for ARM-based systems in the 2...
  • force_eagle
  • force_eagle
  • 2008年04月25日 14:47
  • 3578


who -b 查当前这次开机的时间 [root@DGWEBPROD3 bmsscanv3]# who -b          system boot  2016-05-06 12:31 ...
  • rocklee
  • rocklee
  • 2016年06月22日 12:22
  • 1702


  • bisal
  • bisal
  • 2017年07月08日 09:49
  • 474


现实是悲催的,本人在公司不仅写Java/Android程序,又要管理公司的电脑。有新员工进来把电脑换了个主板,一开机提示DISK BOOT FAILURE,INSERT SYSTEM DISK AND...
  • xiezhiyong3621
  • xiezhiyong3621
  • 2012年10月31日 11:49
  • 3754

Dialogue System for Unity文档中文对照版(简雨原创翻译)第二篇(我们开始仙剑demo的剧情)

DialogueDatabase To usethe Dialogue System, you need to create a dialogue database containing lines ...
  • swordfishx82
  • swordfishx82
  • 2015年05月03日 19:09
  • 1787
您举报文章:System Boot Sequence