Podcast
Questions and Answers
Which action is performed by the BIOS during the computer start-up process?
Which action is performed by the BIOS during the computer start-up process?
- Managing data flow between the OS and applications.
- Handling larger drives and operating faster than UEFI.
- Determining available devices and loading the operating system into main memory. (correct)
- Managing data flow between application programs and devices.
What is the role of the BIOS immediately after the computer is turned on?
What is the role of the BIOS immediately after the computer is turned on?
- Performing start-up procedures. (correct)
- Operating system loading.
- Handling large data processing tasks.
- Managing application programs.
Which of the following best describes the transition that occurred in the early 21st century regarding system firmware?
Which of the following best describes the transition that occurred in the early 21st century regarding system firmware?
- BIOS was replaced by UEFI. (correct)
- UEFI was replaced by BIOS.
- BIOS was updated with new features.
- BIOS was replaced by faster CPU.
What is the primary advantage of UEFI over BIOS?
What is the primary advantage of UEFI over BIOS?
Which of the following describes how the BIOS program interacts with peripherals after the start-up process?
Which of the following describes how the BIOS program interacts with peripherals after the start-up process?
What is the role of the Master Boot Record (MBR) in the boot process?
What is the role of the Master Boot Record (MBR) in the boot process?
During the boot process, after the BIOS initializes the hardware, what is the next step?
During the boot process, after the BIOS initializes the hardware, what is the next step?
What is the main function of a bootloader?
What is the main function of a bootloader?
What is the function of the MBR?
What is the function of the MBR?
What is the role of the bootloader after it is finally executed?
What is the role of the bootloader after it is finally executed?
What is the difference between BOOTMGR and NTLDR?
What is the difference between BOOTMGR and NTLDR?
Which file contains the boot settings for GRUB?
Which file contains the boot settings for GRUB?
How does UEFI differ from BIOS in terms of where it stores initialization and startup information?
How does UEFI differ from BIOS in terms of where it stores initialization and startup information?
What is the role of the ESP (EFI System Partition) in UEFI systems?
What is the role of the ESP (EFI System Partition) in UEFI systems?
How does secure boot in modern systems enhance security during startup?
How does secure boot in modern systems enhance security during startup?
What is the primary advantage of UEFI's secure boot over legacy BIOS?
What is the primary advantage of UEFI's secure boot over legacy BIOS?
Compared to Legacy BIOS, what is a key advantage of UEFI in terms of partitions?
Compared to Legacy BIOS, what is a key advantage of UEFI in terms of partitions?
How does UEFI handle graphics output compared to Legacy BIOS?
How does UEFI handle graphics output compared to Legacy BIOS?
What is one advantage of using UEFI over Legacy BIOS concerning boot times?
What is one advantage of using UEFI over Legacy BIOS concerning boot times?
Which statement accurately describes the difference between Basic and Dynamic Disks?
Which statement accurately describes the difference between Basic and Dynamic Disks?
What is a key limitation of basic disks compared to dynamic disks?
What is a key limitation of basic disks compared to dynamic disks?
What is a limitation when converting a dynamic disk back to a basic disk?
What is a limitation when converting a dynamic disk back to a basic disk?
What is a key characteristic of a primary partition?
What is a key characteristic of a primary partition?
What is the main use of a logical drive in the context of disk partitioning?
What is the main use of a logical drive in the context of disk partitioning?
What is a defining feature of a mirrored volume?
What is a defining feature of a mirrored volume?
Which of the following terms best describes RAID-0?
Which of the following terms best describes RAID-0?
Which of the following is a feature of a RAID-5 volume?
Which of the following is a feature of a RAID-5 volume?
What is the definition of a 'cluster' in the context of file systems?
What is the definition of a 'cluster' in the context of file systems?
What primarily determines the number of sectors per cluster on a disk?
What primarily determines the number of sectors per cluster on a disk?
Which file system allows users to change the size of a sector?
Which file system allows users to change the size of a sector?
Which of the following factors determines the number of clusters per disk?
Which of the following factors determines the number of clusters per disk?
What is the maximum file size supported by the FAT32 file system?
What is the maximum file size supported by the FAT32 file system?
Which command-line tool can be used to check virtualization support in Windows?
Which command-line tool can be used to check virtualization support in Windows?
Where can you typically find the virtualization status in Windows?
Where can you typically find the virtualization status in Windows?
How is virtualization typically enabled in a PC?
How is virtualization typically enabled in a PC?
What keys are commonly used to enter the BIOS setup on a PC?
What keys are commonly used to enter the BIOS setup on a PC?
Which setting in the BIOS corresponds to enabling virtualization?
Which setting in the BIOS corresponds to enabling virtualization?
Which of the following settings should be enabled in BIOS to support virtualization?
Which of the following settings should be enabled in BIOS to support virtualization?
Flashcards
What is BIOS?
What is BIOS?
Computer program in EPROM used by the CPU to perform start-up procedures.
What is UEFI?
What is UEFI?
A newer firmware interface that replaced BIOS, handling larger drives faster.
What is the role of BIOS in booting?
What is the role of BIOS in booting?
Initializing hardware, PC is turned on, first step in booting.
What is EEPROM?
What is EEPROM?
Signup and view all the flashcards
What is the MBR?
What is the MBR?
Signup and view all the flashcards
What is the role of MBR?
What is the role of MBR?
Signup and view all the flashcards
What does the Bootloader do?
What does the Bootloader do?
Signup and view all the flashcards
What is a Bootloader?
What is a Bootloader?
Signup and view all the flashcards
What is the first step in the Boot Process?
What is the first step in the Boot Process?
Signup and view all the flashcards
What is a Basic Disk?
What is a Basic Disk?
Signup and view all the flashcards
What is a Dynamic Disk?
What is a Dynamic Disk?
Signup and view all the flashcards
What is Primary Partition?
What is Primary Partition?
Signup and view all the flashcards
What is Logical Drive?
What is Logical Drive?
Signup and view all the flashcards
What is a Simple Volume?
What is a Simple Volume?
Signup and view all the flashcards
What is a Spanned Volume?
What is a Spanned Volume?
Signup and view all the flashcards
What is a Mirrored Volume?
What is a Mirrored Volume?
Signup and view all the flashcards
What is a Striped Volume?
What is a Striped Volume?
Signup and view all the flashcards
What is RAID-5 volume?
What is RAID-5 volume?
Signup and view all the flashcards
Why use a file system?
Why use a file system?
Signup and view all the flashcards
What is a cluster?
What is a cluster?
Signup and view all the flashcards
How to Enable Virtualization?
How to Enable Virtualization?
Signup and view all the flashcards
Study Notes
- Operating System Technology Concepts are covered in this lecture.
BIOS
- Basic Input/Output System (BIOS) is a computer program stored in EPROM.
- CPU uses BIOS to perform start-up procedures.
- BIOS determines available devices like keyboard, mouse, and video cards.
- BIOS loads the operating system (OS) into main memory.
- The BIOS program manages data flow between the OS and devices after startup.
- Neither the OS nor application programs require to know the details of hardware addresses.
- United Extensible Firmware Interface (UEFI) replaced BIOS in the early 21st century.
- UEFI handles larger drives and operates faster than BIOS.
- The boot process involves the PC turning on and BIOS initializing the hardware.
- BIOS is usually stored on an EEPROM.
- EEPROM stands for Electrically-erasable programmable ROM.
- BIOS begins the Power-On Self Test (POST) process when the PC is powered on.
- BIOS bridges all parts of the PC, interfaces between them and sets up the video display to accept basic VGA (Video Graphics Array).
- BIOS also initializes memory banks and grants the CPU access to all the hardware.
- BIOS scans the IO buses for hardware, identifies and maps access to the hard disks.
How Boot Occurs
- First the PC is turned on and the BIOS initializes the hardware.
- Next, the BIOS calls code stored in the Master Boot Record (MBR) at the start of disk 0.
- This leads to MBR loading code from the boot sector of the active partition.
- Finally the boot sector loads and runs the bootloader.
Master Boot Record (MBR)
- It loads the first 512 bytes from the hard drive of the selected boot device.
- These 512 bytes are commonly known as the MBR.
- MBR contains the partition table which is an index of up to four partitions on the same disk.
- Without a partition table, the entire disk is limited to one partition, as seen on floppy disks.
- MBR bootloaders load the OS bootloader to execute the OS.
Bootloader
- A bootloader is a computer program responsible for booting a computer, also called a boot manager or bootstrap loader.
- GNU GRUB (GNU GRand Unified Bootloader).
- NTLDR (NT loader) for Windows NT operating system.
- Windows Boot Manager (bootmgr) based on NTLDR.
- Once executed, the bootloader loads its configuration/database from files on the same partition.
- It optionally presents a boot menu with a list of operating systems.
- The bootloader locates and loads the kernel for the selected OS from the disk and hands off control of the PC to the OS.
- NTLDR is the default bootloader for Windows NT, 2000 and XP
- The BOOT.INI on the active partition contains a list of operating systems and their locations
- NTDETECT.COM is a helper application used by the NTLDR to detect hardware and identify devices.
- BOOTMGR is the Windows bootloader used from Windows Vista, 7, 8 and 10.
- List of operating systems is read from the BCD file in the BOOT directory on the active partition.
- BOOTMGR is self-contained and needs no external helper programs or routines.
- GRUB is the most-popular bootloader for Linux, but can boot numerous other OSes as well.
- GRUB's boot settings are stored in (GRUB2) or menu.lst (GRUB).
- GRUB is a modular bootloader that can load additional modules from disk.
BIOS vs UEFI
- BIOS reads the first sector of the hard drive to find the address of the next device or code to execute.
- BIOS also selects the boot device.
- BIOS works in 16-bit mode, limiting the amount of code that can be read and executed from the firmware ROM.
- Unified Extensible Firmware Interface (UEFI) stores all the information about initialization and startup in an .efi file instead of the firmware.
- This .efi file is stored on the hard drive inside a special partition called EFI System Partition (ESP).
- The ESP partition also contains the boot loader programs for the OS on the computer.
- UEFI is intended to replace BIOS.
Secured Boot
- Legacy boot BIOS starts any OS loader, malware could start before Windows.
- Modern boot uses native UEFI which only starts signed operating system loaders.
- The firmware enforces policy, only starts signed OS loaders and OS loader enforces signature verification of Windows components
- Results in malware unable to change boot and OS components
UEFI v Legacy BIOS
- BIOS uses the Master Boot Record (MBR) partitioning scheme, UEFI uses the GUID Partition Table (GPT).
- Max partition size in MBR is ~2TB, max partition size in UEFI is ~9 ZetaBytes.
- MBR can have at most 4 primary partitions, GPT can have 128 Partitions.
- MBR can store only one boot loader, GPT has a separate dedicated EFI System Partition (ESP) can store multiple bootloaders.
- Legacy BIOS do not offer secure boot, UEFI offers secure boot.
- Legacy BIOS uses VBIOS for Graphics output, UEFI BIOS uses GOP for Graphics output.
- Legacy BIOS uses Assembly language and takes long time to boot while UEFI uses C language for fast POST and boot.
- Legacy BIOS take time delay from S States while UEFI resumes faster from S states Sleep/Hibernate.
Basic Disk vs Dynamic Disk
- A basic disk uses a partition table for tracking partitions and volumes, while a dynamic disk uses a hidden logical disk manager (LDM) or virtual disk service (VDS).
- Basic disks are supported by all Windows OSs.
- Dynamic disks are only supported by Windows 2000, XP, 2003, 2008, 2011, 2012, Vista, Windows 7 and Windows 8.
- With basic disks, you can not change the capacity of a partition directly after it is created.
- You can expand the capacity of dynamic disk partitions without restarting, and no loss of data.
- Maximum capacity for a basic disk is 2TB. Partitions can be larger than 2TB in dynamic disks.
- If using MBR partition style, basic disks allow a maximum of four partitions. GPT styled basic disks can have a maximum of 128 partitions.
- Dynamic disks support unlimited number of partitions.
- Basic disks only allow primary or logical partitions, while dynamic disks allow simple, spanned, striped, mirrored, and RAID-5 volumes.
- Basic disks can be converted to dynamic disks without data loss. All volumes on the dynamic disk should be deleted to convert a dynamic disk to basic.
Partition: Basic and Logical
- Primary Partition is the hard disk location where both Windows OS and other data can be stored.
- A primary partition can be set active for BIOS to locate and must contain safe boot files.
- A logical drive is a hard disk partition created in an extended partition to install Windows or other files but is unable to be set active.
Dynamic Disk Volume
- A simple volume uses free space from a single disk that can be extended within the same disk or onto additional disks.
- A spanned value is created from the free disk space from multiple disks and cannot be mirrored.
- A mirrored volume duplicates data on two physical disks, provides data redundancy, but cannot be extended.
- Also known as RAID-1.
- A striped volume has interleaved data across two or more physical disks that cannot be mirrored or extended, also known as RAID-0.
- A RAID-5 volume is a fault-tolerant volume whose data is striped across an array of three or more disks.
File System
- The operating system keeps track of files by placing these files into a file.
- The steps involves are: Disk divided into tracks, tracks are divided into sectors, sectors are grouped into clusters and number of sectors in a cluster is determined by Size of the hard drive and File allocation system.
- These file allocation systems are FAT, FAT32, and NTFS.
- A cluster, also known as an allocation unit, consists of one or more sectors of storage space.
- Determines the minimum amount of space that an operating system allocates when saving the contents of a file to a disk.
- The number of sectors per cluster is dependent on the type of disk, version of OS, and size of the disk.
- Every sector contains 512 bytes, but NTFS allows users to change this number.
- Number of clusters per disk is determined by the filing system like FAT 16, FAT 32 and NTFS.
File Systems
- The chart shows the following file system details: File System, Max File Size and 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
- It can be checked from the Task Manager.
- Open up the Task Manager by pressing the Ctrl + Shift + Esc keys, then go to the Performance tab.
- It can be also checked from the Systeminfo.exe program.
- Instructions to Enable Virtualization.
- Reboot your computer.
- Right when the computer is coming up from the black screen, press Delete, Esc, F1, F2, or F4.
- Each computer manufacturer uses a different key.
- BIOS Buttons can be identified.
- ASRock: F2 or DEL.
- ASUS: F2 for all PCs, F2 or DEL for Motherboards.
- 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 for motherboards and PCs.
- Microsoft Surface Tablets: Press and hold volume up button.
- Origin PC: F2.
- Samsung: F2.
- Toshiba: F2.
- Zotac: DEL.
- Enable virtualization and the setting may be called VT-x, AMD-V, SVM, or Vanderpool.
- Enable Intel VT-d or AMD IOMMU if the options are available.
- Tips to run: In run (win key + r) write MSINFO32 or msconfig.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.