Windows 98 Windows XP Windows Vista/7. Power On POST - Hardware tests Plug and Play Configuration...

12
PC Boot Process Windows 98 Windows XP Windows Vista/7

Transcript of Windows 98 Windows XP Windows Vista/7. Power On POST - Hardware tests Plug and Play Configuration...

Page 1: Windows 98 Windows XP Windows Vista/7.  Power On  POST - Hardware tests  Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating.

PC Boot Process

Windows 98Windows XP

Windows Vista/7

Page 2: Windows 98 Windows XP Windows Vista/7.  Power On  POST - Hardware tests  Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating.

Computer Boot Process

Page 3: Windows 98 Windows XP Windows Vista/7.  Power On  POST - Hardware tests  Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating.
Page 4: Windows 98 Windows XP Windows Vista/7.  Power On  POST - Hardware tests  Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating.

Windows 98 Boot Process ويندوس التشغيل 98عملية

Power On POST - Hardware tests Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating system. In order for PnP to

work, the BIOS, hardware and operating system must all be PnP compliant. Master Boot Record - The MBR is located. IO.SYS - This file loads drivers and executes CONFIG.SYS, MSDOS.SYS and COMMAND.COM COMMAND.COM - Loads AUTOEXEC.BAT Windows core files are loaded WIN.COM - This file begins the loading of Windows 9x system files. KERNEL32.DLL/KERNEL386.EXE - These files contain the core operating system and is responsible

for loading device drivers. GDI.EXE/GDI32.EXE - These files are responsible for loading the basic GUI or graphical user interface. WIN.INI - Along with WINFILE.INI and SYSTEM.INI, these files provide backward compatibility with

older 16-bit applications and are not required in order for 32-bit applications to run under Windows 9x. Most of the functions of these files are now stored in the registry files.

The startup folder is checked for applications to load on startup. Windows 9x also replaces many of the DOS start-up files such as IO.SYS, MSDOS.SYS and

COMMAND.COM with newer versions. Most of the functions of the CONFIG.SYS and AUTOEXEC.BAT files are now handled by the new IO.SYS file, although entries in CONFIG.SYS will take precedence over entries in the IO.SYS file.

Page 5: Windows 98 Windows XP Windows Vista/7.  Power On  POST - Hardware tests  Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating.

Windows 98 Boot Process ويندوس التشغيل 98عملية

البوير تشغيل -األجهزة اختبار البريد- التكوين وتشغيل و Windows 9 xتوصيل التوصيل تشغيل للعمل. Play(PnP)نظام الفلبينية الوطنية للشرطة

كلها تكون أن يجب التشغيل ونظام واألجهزة .PnPوالسير مع متوافقة- الرئيسي التمهيد .MBRسجل يقع . اإلخراج/ .SYSاإلدخال التكوين- وتنفيذ تشغيل برامج بتحميل الملف .SYS MSDOS.SYSهذا كوم والقيادة -- األحمال. كوم المتاحة. AUTOEXECاألمر التقنيات أفضل ملفات تحميل األساسية Windowsيتم -- نظام. ملفات تحميل الملف هذا يبدأ كوم .Windows 9 xوينKERNEL32.DLL/KERNEL386 - تحميل. عن مسؤول وهو التشغيل، نظام نواة على تحتوي الملفات هذه إكس

. الجهاز تشغيل برامجGDI/ - GDI32إكس. واجهة. أو األساسية الرسومية المستخدم واجهة تحميل عن المسؤولة الملفات هذه إكس

. الرسومية المستخدم.وينINI -مع جنب إلى .WINFILE.INIجنبا تطبيقات INIوالنظام مع التوافق توفير الملفات هذه القديمة 16، بت

تطبيقات أجل من مطلوبة تحت- 32وغير لتعمل اآلن. Windows 9 xبت الملفات هذه وظائف معظم تخزين يتم. التسجيل ملفات في

. التشغيل بدء عند لتحميل للتطبيقات التشغيل بدء مجلد من التحقق يتمWindows 9x. / اإلخراج اإلدخال مثل دوسملفات بدء من العديد محل .SYS MSDOS.SYSأيضا مع COMوالقيادة

. . التكوين مهام ومعظم أحدث / AUTOEXECو SYSإصدارات اإلخراج. باإلدخال اآلن بات الملفات معالجة تتم.SYSالجديد. التهيئة في اإلدخاالت أن من الرغم على في SYSالملف، إدخاالت على األولوية تأخذ

. اإلخراج/ .SYSاإلدخال الملف

Page 6: Windows 98 Windows XP Windows Vista/7.  Power On  POST - Hardware tests  Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating.

Windows 98 Boot/System file

IO.SYS CONFIG.SYS MSDOS.SYS and COMMAND.COM

Page 7: Windows 98 Windows XP Windows Vista/7.  Power On  POST - Hardware tests  Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating.

Windows XP Boot Sequence

Ever wonder what happens from the time you turn your computer on until you see the Windows login screen? Let me tell you about it.

When you hit the power button on your computer a whole lot of stuff happens. We call this the boot process. In the days when I first started using computers there was literally a "boot disk", a floppy (5.25" not a 3.5") disk that told the system where to go and what to do so that the operating system would start up. Since then the boot sequence has become somewhat more complicated. So let me take you thru the steps the computer takes to get started. For my example I'm going to use a Windows XP system.

First is the POST, this stands for Power On Self Test, for the computer. This process tests memory as well as a number of other subsystems. You can usually monitor this as it runs each test. After that is complete the system will run POST for any device that has a BIOS (Basic Input-Output System). An AGP has its own BIOS, as do some network cards and various other devices.

Once the POST is complete and the BIOS is sure that everything is working properly, the BIOS will then attempt to read the MBR (Master Boot Record). This is the first sector of the first hard drive (called the Master or HD0). When the MBR takes over it means that Windows is now in control.

The MBR looks at the BOOT SECTOR (the first sector of the active partition). That is where NTLDR is located, NTLDR is the BOOT LOADER for Windows XP. NTLDR will allow memory addressing, initiate the file system, read the boot.ini and load the boot

menu. NTLDR has to be in the root of the active partition as do NTDETECT.COM, BOOT.INI, BOOTSECT.DOS (for multi-OS booting) and NTBOOTDD.SYS (if you have SCSI adapters)

Once XP is selected from the Boot Menu, NTLDR will run NTDETECT.COM, BOOT.INI and BOOTSECT.DOS to get the proper OS selected and loaded. The system starts in 16-bit real mode and then moves into 32-bit protected mode.

NTLDR will then load NTOSKRNL.EXE and HAL.DLL. Effectively, these two files are windows XP. They must be located in %SystemRoot%System32.

NTLDR reads the registry, chooses a hardware profile and authorizes device drivers, in that exact order. At this point NTOSKRNL.EXE takes over. It starts WINLOGON.EXE that in turn starts LSASS.EXE, this is the program that display

the Logon screen so that you can logon.

Page 8: Windows 98 Windows XP Windows Vista/7.  Power On  POST - Hardware tests  Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating.

التمهيد XP Windowsتسلسل

دخول تسجيل شاشة لك تظهر حتى بك الخاص الكمبيوتر تشغيل وقت من يحدث ماذا تساءلت وقت أي واسمحوا Windowsفي ؟. ذلك عن لكم أقول أن لي

. . أيام في التمهيد عملية هذا ندعو ونحن األشياء من كثير مجموعها بك الخاص الكمبيوتر على الطاقة زر على تضغط عندما يحدث( " مرن " قرص تمهيد قرص حرفيا هناك الكمبيوتر أجهزة باستخدام ^ أوال بدأت تذهب"( 3.5لم " 5.25عندما أين النظام صرح التي

. . من يأخذك أن لي اسمحوا ذلك ^ تعقيدا أكثر ما حد إلى التمهيد تسلسل أصبح الحين ذلك ومنذ التشغيل نظام يبدأ حتى تفعل وماذا . التشغيل نظام استخدام إلى ذاهب أنا بلدي المثال سبيل على التشغيل لبدء الكمبيوتر جهاز يحيط الخطوات .Windows XPخالل

. من عدد عن فضال الذاكرة، اختبارات العملية هذه الكمبيوتر لجهاز الذاتي االختبار على السلطة هذه تقف الوظيفة، هي ^ أوال . . ألي وظيفة تشغيل سيتم النظام هذا من االنتهاء بعد اختبار كل تشغيله أثناء هذا رصد يمكن ما وعادة األخرى الفرعية األنظمة

يحتوي (. BIOSجهاز وقد ) األساسي اإلخراج من AGP BIOSنظام وغيرها الشبكة بطاقات بعض شأن ذلك في شأنها به، الخاصاألجهزة.

و المنصب هذا اكتمال سيحاول BIOSبمجرد ثم صحيح، بشكل يعمل شيء كل أن من التشغيل ) MBRقراءة BIOSالتأكد سجلأو(. ) الرئيسية تسمى األولى الثابتة األقراص محرك في األول القطاع وهذا تتسلم(. HD0الرئيسي أن MBRعندما يعني فهذا

Windows. التحكم عنصر في حاليا ويتناولMBR .) ( " يوجد " حيث النشط القسم من األول القطاع التمهيد " NTLDR NTLDRقطاع التشغيل " لنظام التمهيد محمل هو

Windows XP. NTLDR الملف وقراءة الملفات نظام في والشروع الذاكرة بمعالجة السماح . boot.iniسيتم التمهيد قائمة وتحميلNTLDR شأن ذلك في شأنها النشط، القسم جذر في يكون .NTDETECT.COMقد التمهيد ،INI BOOTSECT ( .بالنسبة دوس

. ) ونتبوتد التمهيد محوالت ) SYSمولتيوس لديك كان (SCSIإذا التشغيل نظام تحديد يتم " XPحالما تشغيل " سيتم ، التشغيل قائمة .NTLDR NTDETECT.COMمن التمهيد ،INI و

BOOTSECT . في. يبدأ النظام وتحميلها المحدد الصحيح التشغيل نظام على للحصول إلى- 16دوس ينتقل وثم الحقيقي، الوضع بتالمحمي .32الوضع بت

تحميل ثم التشغيل. HAL.DLLو NTLDR NTOSKRNL.EXEسوف نظام هي الملفين هذه يكون. windows XPفعليا̂، أن يجب % في ^ .SystemRoot% System32موجودا

NTLDR. الدقيق الترتيب بهذا األجهزة، تشغيل لبرامج ويأذن لجهاز، جانبي تشكيل واختيار التسجيل يقرأ النقطة هذه بدوره WINLOGON.EXEويبدأ. EXEتتولى. NTOSKRNLوعند يبدأ عرضشاشة LSASS.EXEالذي الذي البرنامج هذا ،

. الدخول تسجيل يمكنك بحيث الدخول تسجيل

Page 9: Windows 98 Windows XP Windows Vista/7.  Power On  POST - Hardware tests  Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating.

Windows XP Boot/System file

NTLDR NTDETECT.COM BOOT.INI

[boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS[operating systems]multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP" /fastdetectC:\ = "Microsoft Windows"

Page 10: Windows 98 Windows XP Windows Vista/7.  Power On  POST - Hardware tests  Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating.

Windows 7 Boot Process

Windows Boot Manager (BootMGR)

Page 11: Windows 98 Windows XP Windows Vista/7.  Power On  POST - Hardware tests  Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating.

Use Software To control Multi OS

Page 12: Windows 98 Windows XP Windows Vista/7.  Power On  POST - Hardware tests  Plug and Play Configuration -Windows 9x is a Plug and Play(PnP) operating.

The A+ exams test the following areas of knowledge:

Installation, configuring and upgrading Diagnosis and troubleshooting Preventive maintenance Motherboard, processors and memory Printers Basic networking OS fundamentals Networks