BIOS: Boot Process & Functions

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the primary role of the BIOS during the computer start-up process?

  • Loading and running the operating system from the hard drive.
  • Managing data flow between application programs.
  • Performing start-up procedures and determining available devices. (correct)
  • Providing a user interface for selecting the operating system.

Which of the following best describes the evolution from BIOS to UEFI?

  • BIOS was updated to UEFI to streamline the process of mapping hardware addresses, reducing start-up time.
  • UEFI, like BIOS, is stored in EPROM but operates slower due to increased security features.
  • BIOS was updated to UEFI to directly manage application programs, bypassing the OS for quicker access.
  • UEFI replaced BIOS to handle larger drives and offer faster operation, utilizing a different initialization process. (correct)

In the context of the boot process, what is the role of the Master Boot Record (MBR)?

  • To load code from the boot sector of the active partition. (correct)
  • To initialize hardware components before the operating system loads.
  • To manage the file system and organize files on the hard drive.
  • To store configuration settings for the operating system.

After the BIOS initializes the hardware, which component does it call to continue the boot process?

<p>The MBR (Master Boot Record). (A)</p> Signup and view all the answers

What is the primary function of the Power-On Self Test (POST) process, initiated by the BIOS?

<p>To test hardware components and ensure they are functioning correctly. (A)</p> Signup and view all the answers

How does the BIOS bridge different parts of the PC together?

<p>By interfacing between various hardware components and setting up video display. (A)</p> Signup and view all the answers

What is the role of the bootloader?

<p>Loading the operating system kernel. (D)</p> Signup and view all the answers

What is the function of NTDETECT.COM in the context of NTLDR?

<p>Detecting hardware and identifying devices. (B)</p> Signup and view all the answers

Which file contains the list of operating systems and their locations when using NTLDR?

<p>BOOT.INI. (C)</p> Signup and view all the answers

What distinguishes GRUB from other bootloaders like NTLDR or BOOTMGR?

<p>GRUB is a modular bootloader capable of loading additional modules from disk. (C)</p> Signup and view all the answers

When using the BOOTMGR bootloader, where is the list of operating systems read from?

<p>The BCD file in the BOOT directory. (C)</p> Signup and view all the answers

Why is UEFI intended to replace BIOS?

<p>UEFI can handle larger drives and bring in new features or enhancements. (A)</p> Signup and view all the answers

How does UEFI store initialization and startup information compared to BIOS?

<p>UEFI stores information in an .efi file within a special partition. (D)</p> Signup and view all the answers

What is the significance of the EFI System Partition (ESP) in a UEFI system?

<p>It contains the .efi file with initialization and startup information plus boot loader programs. (A)</p> Signup and view all the answers

In the context of secured boot with UEFI, what is the primary role of the firmware?

<p>To enforce policy and only start signed OS loaders. (B)</p> Signup and view all the answers

What is a key difference between UEFI and Legacy BIOS in terms of maximum partition size?

<p>Legacy BIOS has a maximum partition size of ~2TB, while UEFI supports up to ~9 ZetaBytes. (A)</p> Signup and view all the answers

How does UEFI handle storing multiple boot loaders compared to Legacy BIOS?

<p>UEFI has a separate dedicated EFI System Partition (ESP) for storing multiple boot loaders. (C)</p> Signup and view all the answers

Which language is typically used in UEFI firmware, contrasting with Legacy BIOS?

<p>C. (B)</p> Signup and view all the answers

What is the main difference between basic disks and dynamic disks in terms of partition management?

<p>Basic disks use a partition table, while dynamic disks use a hidden LDM database. (D)</p> Signup and view all the answers

When converting a dynamic disk back to a basic disk, what is a significant consideration?

<p>All volumes on the dynamic disk must be deleted, potentially causing data loss, unless third-party tools are used. (A)</p> Signup and view all the answers

How does the number of partitions differ between MBR and GPT partition styles on a basic disk?

<p>MBR supports a maximum of four partitions, while GPT can support up to 128 partitions. (D)</p> Signup and view all the answers

What is a defining characteristic of a primary partition, distinguishing it from a logical drive?

<p>A primary partition can be set as active for BIOS to locate, enabling booting from it. (A)</p> Signup and view all the answers

What is the primary purpose of a mirrored volume in dynamic disks?

<p>Provide data redundancy by duplicating data on two physical disks. (A)</p> Signup and view all the answers

Which type of dynamic disk volume is known for striping data across an array of three or more disks and is fault-tolerant?

<p>A RAID-5 volume. (C)</p> Signup and view all the answers

How does a spanned volume differ from a striped volume in a dynamic disk configuration?

<p>A spanned volume links free space together from multiple disks, while a striped volume interleaves data across multiple disks. (B)</p> Signup and view all the answers

In the context of file systems, what does a cluster represent?

<p>A group of sectors representing the minimum allocable storage space. (B)</p> Signup and view all the answers

What factors determine the number of sectors per cluster in a file system?

<p>The type of disk, version of operating system and size of disk. (C)</p> Signup and view all the answers

Which file system allows you to change the default sector size?

<p>NTFS. (D)</p> Signup and view all the answers

What is the key consideration when enabling virtualization on a PC?

<p>Making sure that virtualization is enabled in the BIOS/UEFI settings. (B)</p> Signup and view all the answers

To check if virtualization is enabled on a Windows PC, which tool can be used directly?

<p>Task Manager. (A)</p> Signup and view all the answers

What keys are typically pressed to enter the BIOS setup on a computer during startup?

<p>Delete, Esc, F1, F2, or F4. (D)</p> Signup and view all the answers

For Lenovo laptops, what is the key or key combination to access the BIOS settings during startup?

<p>The Novo Button. (A)</p> Signup and view all the answers

After entering the BIOS setup utility, what should the user look for to enable hardware virtualization?

<p>Settings related to Intel VT-x, AMD-V, SVM, or Vanderpool Technology. (B)</p> Signup and view all the answers

What command can be entered in the Run dialog box (Windows key + R) to access System Information in Windows?

<p>MSINFO32. (B)</p> Signup and view all the answers

What command entered in the run dialog box allows configuration of startup processes?

<p>msconfig. (D)</p> Signup and view all the answers

Assume a file system has a cluster size of 4KB. If a user saves a 7KB file, how much disk space will be occupied?

<p>8KB. (D)</p> Signup and view all the answers

A user has a drive formatted with FAT32. What is the largest individual file (in size) they can save on it?

<p>4 GiB. (D)</p> Signup and view all the answers

Why should a user use dynamic disks over basic disks?

<p>Dynamic disks give unlimited partitions. (A)</p> Signup and view all the answers

Flashcards

What is BIOS?

A computer program, stored in EPROM and used by the CPU, that performs start-up procedures when a computer is turned on.

What are the two major procedures of BIOS?

Determining available devices (keyboard, mouse, drives, etc.) and loading the OS into main memory.

What is the role of BIOS after computer start-up?

After start-up, BIOS manages data flow between the OS and devices.

What is a bootloader?

It's a computer program that is responsible for booting a computer.

Signup and view all the flashcards

What is GNU GRUB?

GNU GRand Unified Bootloader, a common bootloader for Linux systems.

Signup and view all the flashcards

What is NTLDR?

NT Loader, a bootloader for Windows NT operating systems.

Signup and view all the flashcards

What loads the Master Boot Record (MBR) during startup?

The BIOS loads the first 512 bytes from the selected boot device's hard drive; these bytes are known as the Master Boot Record.

Signup and view all the flashcards

What does MBR contain?

MBR contains a partition table - an index of partitions on the disk.

Signup and view all the flashcards

What loads the bootloader?

Bootloader that loads the OS bootloader to execute the OS.

Signup and view all the flashcards

How does BIOS work?

It reads the first sector of the hard drive for the next device's address to initialize or code to execute and selects the boot device to start the OS.

Signup and view all the flashcards

What is UEFI?

Unified Extensible Firmware Interface, stores initialization and startup information in an .efi file on a special partition.

Signup and view all the flashcards

How does native UEFI work?

It enforce security policies by only starting signed OS loaders.

Signup and view all the flashcards

What is the primary partition?

The hard disk partition where both Windows OS and other data can be stored, and it is the only partition that can be set active.

Signup and view all the flashcards

What is the logical drive?

The hard disk partition created in the extended partition, and is not able to be set active.

Signup and view all the flashcards

What does simple volume use?

Uses free space from a single disk, if extended across multiple disks, it becomes a spanned volume.

Signup and view all the flashcards

Spanned volume

Made from free disk space on multiple disks, cannot be mirrored.

Signup and view all the flashcards

What is a mirrored volume?

A fault-tolerant volume where data duplicates on two disks.

Signup and view all the flashcards

Striped volume

It allocates alternately/evenly to each of the physical disks, cannot be mirrored.

Signup and view all the flashcards

RAID-5 Volume

A fault-tolerant volume where data is striped across three or more disks.

Signup and view all the flashcards

Function the OS does?

The operating system keeps track of the data by placing in a file.

Signup and view all the flashcards

What is a Basic disk?

Operating system partition that uses normal partition tables to handle everything on the hard disk.

Signup and view all the flashcards

Dynamic Disk?

Storage model that uses a hidden LDM database to manage the volumes on the hard disk.

Signup and view all the flashcards

What the maximum number of partition for MBR can have?

MBR can have a maximum of four partitions on the hard disk.

Signup and view all the flashcards

What the max number of partition for GPT can have?

GPT can have around 128 Partitions on the hard disk.

Signup and view all the flashcards

What is a cluster?

A cluster consists of sectors of storage space, minimum space OS allocates when saving file contents.

Signup and view all the flashcards

How do you check if virtualisation is enabled in task manager?

To check virtualization in Task Manager, press Ctrl+Shift+Esc, go to Performance tab.

Signup and view all the flashcards

How to enable virtualisation in BIOS?

In BIOS, enable settings called VT-x, AMD-V, SVM, or Vanderpool; enable Intel VT-d or AMD IOMMU.

Signup and view all the flashcards

To enter the BIOS setup

Right delete, Esc, F1, F2, or F4. Each computer manufacturer uses a different key but it may show a brief message at boot telling you which one to press.

Signup and view all the flashcards

Study Notes

BIOS

  • A computer program typically stored in EPROM and used by the CPU to perform start-up procedures when the computer is turned on
  • Its two major procedures = determine what devices are available and loading the OS into main memory
  • After start-up, the BIOS program manages data flow between the OS and the devices
  • In the early 21st century, BIOS was replaced by United Extensible Firmware Interface (UEFI)

How Boot process begins

  • The PC is turned on and the BIOS initializes the hardware
  • The BIOS calls code stored in the MBR at the start of disk 0
  • The MBR loads code from the boot sector of the active partition
  • The boot sector loads and runs the bootloader from its file system

BIOS Functions

  • Usually stored on EEPROM
  • Electrically-erasable programmable ROM is abbreviated EEPROM
  • Once PC is powered on, BIOS starts as part of POST(Power-On Self Test)
  • It bridges the various parts of PC, interfaces, sets up video display (VGA), initializes memory banks, gives CPU access to hardware
  • Scans IO buses for attached hardware, identifies, and maps access to hard disks

Master Boot Record (MBR)

  • First 512 bytes loaded by the BIOS from the hard drive of the selected boot device
  • Contains a partition table = an index of up to four partitions that exist on the same disk
  • MBR Bootloader loads the OS bootloader to execute the OS

The Bootloader

  • Computer program responsible for booting a computer
  • Examples:
    • GNU GRUB (GNU GRand Unified Bootloader)
    • NTLDR (NT loader) for Windows NT OS
    • Windows Boot Manager (bootmgr) based on NTLDR
  • Bootloader loads its configuration from files on the same partition
  • Optionally presents a list of OS options to the user from the configuration file
  • Locates and loads the kernel for the selected OS from the disk, and hands-off control of the PC to the OS.

Windows Bootloader Details

  • NTLDR is the default bootloader for Windows NT, 2000, and XP
    • BOOT.INI on the active partition contains the list of OS and their locations
    • NTDETECT.COM detects hardware and identifies devices
  • BOOTMGR is for newer Windows OS (Vista, 7, 8, and 10)
    • List of OS is read from the BCD file in the BOOT directory on the active partition
    • BOOTMGR is self-contained

GRUB(2)

  • Most-popular bootloader for Linux, can boot many OSes
  • Boot settings are in a file called grub.cfg (GRUB2) or menu.lst (GRUB)
  • GRUB is modular and can load additional modules from disk

BIOS vs UEFI

  • BIOS reads the first sector of the hard drive for the next device's address/code
    • Selects the boot device and operates in 16-bit mode
  • UEFI stores initialization information in an .efi file on the EFI System Partition (ESP)
    • Is intended to replace BIOS, has many new features

Secured Boot

  • Legacy boot = BIOS starts any OS Loader
    • Malware may start before Windows
  • Modern boot = Native UEFI only starts signed OS loaders
    • OS loader enforces signature verification for Windows components
    • Malware is is unable to change boot and OS components

UEFI vs Legacy BIOS Comparisons

  • BIOS uses Master Boot Record (MBR); UEFI uses GUID Partition Table (GPT) partitioning scheme
  • Max partition size in MBR is ~2TB, and max partition size in UEFI is ~9 ZetaBytes
  • MBR can have at max 4 primary partitions, while GPT can have 128 partitions
  • MBR can store only one boot loader, but GPT uses a separate EFI System Partition (ESP)
  • UEFI offers secure boot, uses GOP for Graphics output, and can boot faster

Disk Partition Styles

  • Basic Disk
    • Uses a partition table
    • Supported by all Windows OS starting from MS-DOS, Windows 95/98 to Windows 8
    • Once created a partition capacity cannot be directly changed without third-party tools
    • Maximum capacity is limited to 2TB
    • Maximum for MBR partition = four partitions
    • Can only have primary or logical partitions
    • Basic disks can be converted to dynamic disks without any data loss
  • Dynamic Disk
    • Uses a hidden logical disk manager (LDM) or virtual disk service (VDS)
    • Supported by Windows 2000, XP, 2003, 2008, 2011, 2012, Vista, Windows 7 and Windows 8 only
    • Can expand the capacity of partitions without restarting
    • Unlimited number of partitions
    • Allows simple, spanned, striped, mirrored, and RAID-5 volumes
    • Requires all volumes to be deleted if converting to basic

Basic vs Dynamic Disk

  • Basic disk uses normal partition tables but a Dynamic disk uses a hidden LDM database to manage all volumes
  • Basic disk has standard partitions while Dynamic uses dynamic volumes instead of partitions
  • Limited to 4 primary or 3 primary + 1 extended partition while dynamic disks support simple, spanned, striped, mirrored, and RAID-5 configurations.
  • Supports multi-boot configurations meaning you can easily switch between OS versus lacks this ability.
  • Cannot have partition size changed vs. can have partition extended.

Basic and Logical Partitions

  • Primary Partition is the hard disk partition where Windows OS and other data can be stored
    • Windows OS can be set to active if BIOS needs to locate it
  • Logical Drive is the hard disk partition created in extended partition
    • A user cannot set this active
    • Used to install Windows, files, etc

Dynamic Disk Volume Types

  • Simple volume: uses free space from a single disk and can be a single region or consist of multiple regions
    • A simple volume can be extended within the same disk or onto additional disks
  • Spanned volume: is made from free disk space linked together from multiple disks linked together up to 32 disks total
    • A user cannot mirror a spanned volume and can extend it onto additional disks
  • Mirrored volume: is a fault-tolerant volume with data duplicated on two physical disks
    • If one drive fails, the data can still be accessed from the remaining disk
    • A user cannot extend a mirrored volume
    • Also known as RAID-1
  • Striped volume: has data interleaved across two or more physical disks
    • A striped volume cannot be mirrored or extended
    • Also known as RAID-0
  • RAID-5 volume is a fault-tolerant volume striped across three or more disks

File System Hierarchy

  • OS keeps track of data and places data (documents, pictures, etc.) into a file
  • Disks are divided into tracks
  • Tracks are divided into sectors
  • Sectors are grouped into clusters
  • The size of the hard drive and choice of the file allocation system determine the number of sectors in a cluster
    • File allocation options include FAT, FAT32, NTFS

Additional File System Info

  • A cluster (also known as allocation unit) consists of sectors of storage
  • Sector quantity depends on the disk type, OS and size of the disk (number is modifiable via NTFS)
  • Every sector can store 512 bytes of data
  • Filing system dictates quantity of clusters per disk (such as FAT 16,32 and NTFS)

File System Size Limits

File System Max File Size Max Partition Size
Fat16 2 GiB 2 GiB
Fat32 4 GiB 8 TiB
NTFS 2 TiB 256 TiB
ext2 2 TiB 32 TiB
ext3 2 TiB 32 TiB
ext4 16 TiB 1 EiB

Virtualization

  • Check if virtualization is enabled/disabled on your PC
    • Open Task Manager by pressing Ctrl + Shift + Esc, and check the Performance tab
    • Run Systeminfo.exe
  • Enabling Virtualization in your PC BIOS
    • Reboot your computer
    • Press Delete, Esc, F1, F2, or F4 when computer is starting

Boot Option Keys for Various Systems

  • ASRock: F2 or DEL
  • ASUS: F2
  • Acer: F2 or DEL
  • Dell: F2 or F12
  • ECS: DEL
  • Gigabyte / Aorus: F2 or DEL
  • HP: ESC, F10
  • Lenovo (Consumer Laptops): F2 or Fn + F2
  • Lenovo (Desktops): F1
  • Lenovo (ThinkPads): Enter then F1
  • MSI: DEL
  • Microsoft Surface Tablets: Press and hold volume up button
  • Origin PC: F2
  • Samsung: F2
  • Toshiba: F2
  • Zotac: DEL

BIOS Settings

  • Enable virtualization
    • Some BIOS settings may be called VT-x, AMD-V, SVM, or Vanderpool
  • Enable Intel VT-d or AMD IOMMU if the options are available

Tips

  • In the Run command write:
    • MSINFO32
    • msconfig

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser