Changing Boot Drive or Operating System within an Operating System

Abstract: Resolve issues where the computer boots from the wrong drive or operating system by configuring the one-time boot menu or permanent BIOS/UEFI boot order.

Created: 2026-09-24 by

To change your boot drive or operating system while already running one, you must access the firmware settings (BIOS/UEFI) or use the OS-specific boot menu. In Windows, press F12 or Esc during startup to select a device, or configure the Boot Order in BIOS. For persistent changes, modify the default boot entry in UEFI settings or use the bcdboot command to repair and set the active partition.

Understanding the Boot Process

When you power on a computer, the Basic Input/Output System (BIOS) or Unified Extensible Firmware Interface (UEFI) takes control before any operating system loads. This firmware is responsible for initializing hardware and locating the bootloader stored on a specific storage device. If you have multiple hard drives, SSDs, or partitions with different operating systems installed, the firmware needs explicit instructions on which one to prioritize. Changing the boot drive from within an active operating system does not mean you can simply click a button in the desktop interface; instead, you are altering how the pre-boot environment selects the kernel to load.

This distinction is critical because modern systems often use Fast Startup features that skip certain initialization steps. Consequently, accessing these settings requires a reboot. The process involves either temporarily overriding the boot order for a single session or permanently changing the default selection. Understanding this flow helps users avoid common pitfalls where the system continues to load the wrong drive despite configuration attempts.

Using the One-Time Boot Menu

The quickest method to switch operating systems without permanent changes is using the One-Time Boot Menu. This feature allows you to select a boot device for the current session only. After the next restart, the system will revert to its original default setting. This is ideal if you need to run diagnostics on a secondary drive or test a different OS installation occasionally.

  1. Restart your computer: Save all work and initiate a reboot through your current operating system.
  2. Watch for the prompt: As soon as the manufacturer logo appears, repeatedly press the designated key. Common keys include F12, F11, Esc, or F8, depending on the motherboard or laptop manufacturer.
  3. Select the desired drive: A menu will appear listing available bootable devices. Use the arrow keys to highlight the drive containing the OS you wish to launch.
  4. Press Enter: The system will proceed to boot from the selected device. If the drive contains a valid operating system, it will load normally.

If you cannot find the correct key, consult your computer’s manual or look for small text at the bottom of the screen during the initial splash screen. Many modern laptops also allow access to this menu by holding the Fn key while pressing the function key. Note that some newer UEFI implementations may disable this feature if Secure Boot is enabled, requiring you to disable Secure Boot first in the main setup utility.

Changing the Default Boot Order in BIOS/UEFI

For a permanent solution, you need to modify the boot priority list in the firmware settings. This ensures that your preferred drive is always checked first when the computer powers on. Accessing these settings requires entering the Setup Utility during the POST (Power-On Self-Test) phase.

  • Enter Setup: Restart the machine and press Del, F2, or F10 immediately after powering on. Avoid waiting until the operating system begins to load.
  • Navigate to Boot Settings: Use the arrow keys to find the "Boot," "Startup," or "Advanced" tab. The exact location varies by manufacturer.
  • Adjust Priority: Look for "Boot Option Priorities" or "Hard Drive BBS Priorities." Move your desired drive to the top of the list using the +/- keys or F5/F6 as indicated on-screen.
  • Save and Exit: Press F10 to save changes and exit. The system will reboot and attempt to start from the new primary drive.

Be cautious when editing these settings. Incorrectly disabling essential components like SATA controllers or NVMe drives can render your system unbootable. Always ensure that the drive you are setting as primary actually contains a valid bootloader. If you are dual-booting Linux and Windows, you may also need to adjust the order of EFI entries rather than just physical drives.

Modifying Boot Configuration from Within Windows

In some cases, you can influence the boot process from within Windows itself, particularly if you are trying to repair a broken boot sector or set a specific partition as active. The Command Prompt provides tools like diskpart and bcdboot for these tasks. However, this method is more technical and typically used for recovery rather than simple switching.

To mark a partition as active, open Command Prompt as Administrator and type diskpart. Then use list disk and select disk X to identify your target drive. Select the volume with list vol, select vol Y, and finally active. This marks the partition as bootable for legacy BIOS systems. For UEFI systems, you generally do not need to mark partitions as active; instead, you rely on the EFI System Partition. You can use bcdboot C:\Windows /s S: /f ALL to copy boot files to the EFI partition, ensuring the system recognizes the installation.

Another option is the System Configuration tool. Type msconfig in the Run dialog to open System Configuration. Under the "Boot" tab, you can see all installed operating systems and set the default timeout. While this does not change the physical boot order, it controls which OS loads if a multi-boot menu is presented. This is useful if you have a GRUB or Windows Boot Manager menu appearing but want to streamline the choice.

Troubleshooting Common Issues

Users often encounter situations where the system ignores their boot preferences. This can happen if the drive is not detected by the firmware due to loose connections or failed cables. Ensure all SATA and power cables are secure. Additionally, if you recently installed a new drive, check if it is set to AHCI mode in the BIOS, as IDE mode may prevent detection on modern SSDs.

Another common issue is the "No Boot Device Found" error. This indicates that the selected drive lacks a valid bootloader. If you switched drives but still get this error, verify that the target drive has an operating system installed and that the bootloader was correctly written. Sometimes, cloning a drive without updating the UUID or GUID can cause conflicts. In such cases, rebuilding the BCD store on the new drive is necessary.

If you are unsure about your current boot status, you can check the event viewer for disk-related errors or use third-party tools to inspect partition flags. For more information on managing startup items that might interfere with the boot process, you might find Identifying Mystery Apps on Windows 11 Startup helpful. Similarly, if your computer is taking too long to reach the boot menu, reviewing Computer Takes 5 Minutes to Start - Suddenly could resolve timing issues that obscure your ability to select a drive.

Frequently Asked Questions

What happens if I select the wrong boot drive?

If you select a drive without an operating system, the computer will display an error message such as "No bootable device found" and stop. It will not damage the hardware, but you will be unable to log in. Simply restart and choose a different drive from the boot menu.

Can I change the boot order in Linux?

Yes, you can change the boot order in Linux using the efibootmgr command in the terminal. This tool allows you to add, delete, or reorder EFI boot entries. You can also access the BIOS/UEFI settings via the GRUB menu or by restarting and pressing the appropriate key during boot.

Why doesn't my new SSD show up in the boot menu?

Your new SSD might not be detected because it is not properly connected, disabled in BIOS, or lacks a valid bootloader. Check cable connections, ensure the SATA/NVMe port is enabled in BIOS settings, and verify that the drive is recognized in the main storage list. If it is recognized but not bootable, install an OS or clone your existing drive.

Is it safe to disable Secure Boot to access older drives?

Disabling Secure Boot allows legacy operating systems and unsigned drivers to boot, which can be necessary for older hardware or specific Linux distributions. However, it reduces security against bootkit malware. Only disable it if required for compatibility, and consider re-enabling it afterward if you return to a standard Windows installation.

How do I make Windows boot from a USB drive permanently?

You cannot make Windows boot permanently from a USB drive in the traditional sense, as USB drives are removable. However, you can set the USB drive as the first priority in the BIOS boot order. If you disconnect the internal drives, the system will then boot from the USB. Alternatively, use bcdboot to install the bootloader onto the USB drive's EFI partition.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More