Question 290 of 1,000
mediummultiple choiceObjective-mapped

220-1102 Practice Question: A technician installed Ubuntu Linux on a Windows…

This 220-1102 practice question tests your understanding of a technician installed ubuntu linux on a windows…. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. A key principle to apply: uEFI systems use an EFI System Partition (ESP) for bootloaders, not the MBR.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A technician installed Ubuntu Linux on a Windows 10 Pro computer configured for dual-boot. After installation, the computer boots directly into Windows without displaying the GRUB menu. The technician boots from a Linux live USB and opens a terminal. Which command should the technician use FIRST to reinstall GRUB for a UEFI-based system?

Question 1mediummultiple choice
Full question →

A technician installed Ubuntu Linux on a Windows 10 Pro computer configured for dual-boot. After installation, the computer boots directly into Windows without displaying the GRUB menu. The technician boots from a Linux live USB and opens a terminal. Which command should the technician use FIRST to reinstall GRUB for a UEFI-based system?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

sudo grub-install /dev/sda

This command installs GRUB to the MBR of the first disk, which is used for legacy BIOS booting, not UEFI. On a UEFI system, the bootloader must be installed to the EFI System Partition (ESP).

B

Distractor review

sudo update-grub

This command regenerates the GRUB configuration file (grub.cfg) but does not install or reinstall the GRUB bootloader to the ESP. It is useful after changing kernel parameters or adding new operating systems, but it will not fix a missing bootloader.

C

Best answer

sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB

This command correctly installs GRUB to the EFI System Partition (ESP) for a 64-bit UEFI system. It creates the necessary EFI boot entry so that the firmware can load GRUB, which then displays the menu including the Windows Boot Manager option.

D

Distractor review

sudo fdisk -l

This command lists the partition table of the disk. It is useful for verifying that the ESP exists and is mounted, but it does not install or repair the bootloader.

Answer analysis

Why the other options are wrong

Understanding why incorrect options are tempting is as important as knowing the correct answer.

  • sudo grub-install /dev/sda

    This command installs GRUB to the MBR of the first disk, which is used for legacy BIOS booting, not UEFI. On a UEFI system, the bootloader must be installed to the EFI System Partition (ESP).

  • sudo update-grub

    This command regenerates the GRUB configuration file (grub.cfg) but does not install or reinstall the GRUB bootloader to the ESP. It is useful after changing kernel parameters or adding new operating systems, but it will not fix a missing bootloader.

  • sudo fdisk -l

    This command lists the partition table of the disk. It is useful for verifying that the ESP exists and is mounted, but it does not install or repair the bootloader.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Candidates might be tempted by `sudo grub-install /dev/sda` because it's a common GRUB command, but it's incorrect for UEFI systems.

Technical deep dive

How to think about this question

The core concept tested here is the proper reinstallation of the GRUB bootloader in a UEFI environment, specifically when a dual-boot setup fails to present the GRUB menu. In UEFI systems, bootloaders are not written to the Master Boot Record (MBR) but rather as EFI applications within a special FAT32 formatted partition called the EFI System Partition (ESP). The correct command, `sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB`, explicitly instructs GRUB to compile itself for a 64-bit EFI target, specifies the mount point of the ESP (typically `/boot/efi` in Ubuntu), and assigns an identifier for the boot entry in the UEFI firmware. This process creates the necessary `.efi` file within the ESP and registers it with the motherboard's firmware, ensuring that GRUB is recognized as a bootable option and can then load its configuration to present the operating system choices. This differs significantly from legacy BIOS booting, where `sudo grub-install /dev/sda` would write GRUB to the MBR. Attempting the MBR installation on a UEFI system will not create a functional boot entry and will not resolve the issue. Similarly, `sudo update-grub` is used to rebuild the `grub.cfg` file, which lists the available operating systems and their boot parameters, but it does not install the bootloader itself to the ESP or register it with the UEFI firmware. If the GRUB bootloader is missing or corrupted in the ESP, simply updating its configuration file will not make it bootable. `sudo fdisk -l` is a diagnostic tool to view partition tables and is entirely unrelated to installing or repairing bootloaders.

KKey Concepts to Remember

  • UEFI systems use an EFI System Partition (ESP) for bootloaders, not the MBR.
  • `grub-install --target=x86_64-efi` specifies the UEFI architecture.
  • `--efi-directory` points to the mounted ESP, usually `/boot/efi`.
  • `--bootloader-id` creates a recognizable entry in the UEFI firmware.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

UEFI systems use an EFI System Partition (ESP) for bootloaders, not the MBR.

Related practice questions

Related 220-1102 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

Question 1

A change advisory board (CAB) approved a standard change to update antivirus definitions on all servers. The technician completes the update on a file server and verifies the server is functioning normally. According to change management best practices, what documentation should the technician complete?

Question 2

A company's change management policy requires all server changes to be approved by the Change Advisory Board (CAB). A technician discovers that a critical database server's operating system needs a security patch to comply with a new regulatory requirement that takes effect in one week. The patch has a known risk of causing service downtime. The next scheduled CAB meeting is in two weeks. What should the technician do FIRST?

Question 3

A company is implementing a bring-your-own-device (BYOD) policy and needs to ensure that corporate data on employee mobile devices is protected. Which of the following is the MOST important technical control to implement?

Question 4

A company requires employees to present both a smart card and a PIN to log into their workstations. Which authentication principle is being implemented?

Question 5

A company requires all Windows 10 workstations to be able to join an Active Directory domain. Which edition of Windows 10 must be installed on these workstations?

Question 6

A company wants to allow employees to securely access internal resources from home via the internet. Which method provides the highest level of security for remote desktop connections?

Practice this exam

Start a free 220-1102 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this 220-1102 question test?

UEFI systems use an EFI System Partition (ESP) for bootloaders, not the MBR.

What is the correct answer to this question?

The correct answer is: sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB — The correct command is 'sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB'. This command installs GRUB to the EFI system partition (ESP) and registers it as a boot option in the UEFI firmware. Option A ('grub-install /dev/sda') targets the MBR, which is not used in UEFI/GPT systems. Option B ('update-grub') only regenerates the configuration file but does not install the bootloader to the ESP. Option D ('fdisk -l') lists partitions and does not modify the bootloader.

What should I do if I get this 220-1102 question wrong?

Review uEFI systems use an EFI System Partition (ESP) for bootloaders, not the MBR., then practise related 220-1102 questions on the same topic to reinforce the concept.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More 220-1102 practice questions

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This 220-1102 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 220-1102 exam.