NTLDR

NTLDR (abbreviation of NT Loader) is the boot loader for Windows NT, including its later versions (2000/XP/Server 2003/Longhorn). NTLDR can be run either from a floppy disk or the primary hard disk. The partition on which it is executed must be FAT or NTFS. Windows 2000 (NT 5.0) and later support FAT32, while older versions only support FAT12 or FAT16. NTLDR can also load a non NT-based operating system given the appropriate boot sector in a file. NTLDR requires, at a minimum, the following two files to be on the active partition: NTLDR, which contains the main boot loader itself, and boot.ini, which contains configuration options for a boot menu. To load an NT-based OS, ntdetect.com must also be present.

Contents

Startup Process

When booting, NTLDR does the following in order:

  1. Places the processor in 32-bit flat memory mode
  2. Accesses the appropriate file system (FAT or NTFS)
  3. Reads boot.ini and prompts the user with the boot menu accordingly
  4. If a non NT-based OS is selected, then the file bootsect.dos is loaded and given control
  5. If a NT-based OS is selected, then ntdetect.com is started, gathering information about the computer's hardware
  6. The information returned by ntdetect.com is passed to the kernel, ntoskrnl.exe, which is then started. ( et al, 2000)

Example boot menu

The following is an example NTLDR boot menu:



Please select the operating system to start:
                                                                                

      Microsoft Windows XP Professional
      Microsoft Windows 98

Use the up and down arrows to move the highlight to your choice.
Press Enter to choose.
Seconds until highlighted choice will be started automatically: 30










For troubleshooting and startup options for Windows, press F8.



Boot.ini

NTLDR allows the user to choose which operating system to boot from at the menu; for NT and NT-based operating systems, it also allows the user to pass preconfigured options to the kernel. The menu options are stored in boot.ini, which itself is located in the root of the same disk as NTLDR.

For NT-based OSs, the location of the operating system is written as an Advanced RISC Computing (ARC) path.

Example

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

If the boot loader timeout option in boot.ini is set to 0, the NTLDR boot menu does not appear.

NT Kernel switches

  • /3gb
  • /basevideo
  • /baudrate=nnn
  • /bootlog
  • /burnmemory
  • /crashdebug
  • /debug
  • /debugport=comx
  • /fastdetect
  • /maxmem=nn
  • /nodebug
  • /noguiboot
  • /nopae
  • /noserialmice:comx
  • /numproc
  • /onecpu
  • /pae
  • /pcilock
  • /safeboot
  • /safeboot:dsrepair
  • /safeboot:minimal
  • /safeboot:minimal(alternateshell)
  • /safeboot:network
  • /sos
  • /w95
  • /w95dos
  • /year

References

pl:NT OS Loader

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools