Hardware

Black Screen With White Text on Boot: What It Means and How to Fix

A black screen with white text on boot means the PC's firmware or Windows boot loader started, but could not find or load an operating system, and the text is the reason. Read the exact message, then use the table below to find the cause and the fix.

The steps apply to Windows PCs, with examples from Microsoft and Dell documentation. Other makers word their messages differently, but the underlying causes are the same. Messages are quoted as the vendors document them, so your screen may differ slightly in capitalization or wording.

What the white text is telling you

Microsoft divides Windows startup into phases: PreBoot (firmware), Windows Boot Manager, the Windows OS Loader, and the kernel. A text-only error on a black background almost always comes from the first two. In the PreBoot phase the firmware runs a power-on self test (POST) and looks for a valid system disk. If it finds one, it starts Windows Boot Manager, which locates the loader on the Windows partition.

That gives you two broad groups of messages. The first group comes from the firmware and says it cannot find anything to boot from. The second group comes from the boot loader and says the files it needs are missing or damaged. Fixes differ, so start by sorting your message into one of them.

Match the message to the cause

Message on screenWhere it comes fromMost likely cause
No Boot Device Found or Boot Device Not FoundFirmwareDrive not detected, wrong boot order, or wrong boot mode (Legacy vs UEFI)
Operating System Not FoundFirmware or boot loaderDrive found but no usable Windows boot files on it
Boot Configuration Data (BCD) missing or corruptedBoot loaderDamaged BCD store
Bootmgr missing or corruptedBoot loaderDamaged or missing Windows Boot Manager file
Boot file or MBR corruptedBoot loaderDamaged master boot record or boot sector
Unable to boot due to system hive missing or corruptedBoot loaderDamaged registry system hive
INACCESSIBLE_BOOT_DEVICE (stop code 0x7B)Windows kernelStorage driver or SATA mode problem, often after a settings change

Microsoft's guide lists the boot loader messages in the table above, with the blinking cursor on a black screen as a related symptom of the same phase. Dell's no-boot guide lists the same family of messages and adds the firmware wording.

First steps for any of these messages

Do these before changing any setting. They take a few minutes and they rule out the most common causes.

  1. Disconnect external devices. Unplug USB drives, memory cards, printers and other peripherals, then restart. A removable device that sits ahead of the internal drive in the boot order can produce a "no boot device" style error.
  2. Do a hard reset. Dell's steps are to shut down, disconnect power (and remove the battery if it is removable), hold the power button for 15 to 20 seconds, reconnect and power on. For a longer walkthrough, see computer won't turn on: a step-by-step diagnosis.
  3. Open the firmware setup. On Dell systems, press F2 repeatedly as the PC starts. Other makers use Del, F1, F10 or Esc; the key is usually shown briefly on the first screen.
  4. Check that the drive is listed. This is the single most useful test. If the drive is in the firmware's device list, the problem is boot order, boot mode or boot files. If it is missing, the problem is the drive or its connection.

If the message is No Boot Device Found

Inside the firmware setup, confirm the system drive appears, then set it first in the boot sequence and load the default settings. Dell's FAQ for this message also tells you to set Boot Mode to UEFI and SATA Operation to AHCI, then confirm the drive is first in the boot order.

The boot mode matters more than most people expect. Dell's knowledge base explains that the error appears when the boot sequence is set to Legacy mode, or when the operating system was installed under Legacy mode. Two cases follow from that:

  • If Windows was installed in UEFI mode and the setting was changed to Legacy (by you, a BIOS update, or a reset), switching back to UEFI in the setup screen recovers the computer.
  • If Windows was installed in Legacy mode, switching to UEFI will not fix it, and Dell says the OS must be reinstalled after the BIOS is set to UEFI. Back up your files first if you can reach the drive.

A BIOS reset can also change these settings without you noticing. A board that forgets its settings every time it loses power may have a dead coin cell, so see the symptoms of a failing CMOS battery. To check which firmware version you are on before you change anything, see how to check your BIOS version.

If the drive is missing from the firmware setup

When the drive is not listed at all, Windows cannot be the cause. Dell's guide says to make sure the data and power cables are secure, and for a laptop to reseat the drive. Run the built-in diagnostics as well: press F12 at startup on a Dell system, choose Diagnostics and run the pre-boot system assessment. If a test fails, note the error code, the validation code and the Service Tag. If the drive still does not appear after reseating, it has most likely failed and needs replacing.

If the message is about BCD, Bootmgr or the MBR

These come from the Windows boot loader, which means the firmware found the drive and Windows files are damaged. Microsoft's guide says to start the PC from Windows installation media and use Startup Repair first:

  1. Start from the installation media for your version of Windows.
  2. On the Install Windows screen, select Next > Repair your computer.
  3. Select Troubleshoot > Advanced options > Startup Repair.
  4. When it finishes, select Shutdown, then turn the PC on again.

Startup Repair writes a log to %windir%\System32\LogFiles\Srt\Srttrail.txt. If it does not fix the problem, press Shift + F10 in the recovery environment to open a command prompt. Microsoft documents these commands for boot code and BCD problems. Run them one at a time and check the result of each:

BOOTREC /FIXMBR
BOOTREC /FIXBOOT
Bootrec /ScanOS

Microsoft notes that /FIXMBR overwrites only the master boot code, so it will not repair corruption that reaches the partition table. If /ScanOS does not help, the same guide gives a longer sequence that backs up and renames the BCD store, then rebuilds it. Example commands, assuming Windows is on drive C:

bcdedit /export c:\bcdbackup
attrib c:\boot\bcd -r -s -h
ren c:\boot\bcd bcd.old
bootrec /rebuildbcd

Drive letters often differ inside the recovery environment, so confirm which letter holds your Windows folder before typing anything. If the message mentions the system hive, Microsoft's guide says a restore point is the recommended route in current Windows, because Windows no longer backs up the registry to the RegBack folder (since Windows 10, version 1803).

If Windows starts the loader and then shows a stop code

A message such as INACCESSIBLE_BOOT_DEVICE comes after the logo, from the kernel phase. Dell's FAQ suggests toggling SATA Operation between AHCI and RAID On in the firmware, and if that fails, restoring the BIOS defaults. The common trigger is a storage mode change, so undo any recent firmware change before anything else. If you can reach recovery options, Safe Mode can help find the cause, as described in how to boot into Safe Mode.

If the white text is a Windows recovery screen instead

Some black screens with white text are Windows' own recovery messages, such as Windows Failed to Start or Automatic Repair couldn't repair your PC, which Dell also lists. They mean Windows tried and failed to repair itself. Interrupt the startup three times to reach the Windows Recovery Environment, then go to Troubleshoot > Advanced options > Startup Repair. Have your BitLocker recovery key ready, because the PC may ask for it.

If the computer keeps landing on the recovery screen, Microsoft gives a command that breaks the loop, which you run from a command prompt:

Bcdedit /set {default} recoveryenabled no

Use it only to see the underlying error, and set it back to yes afterwards. For the case where the screen is black with no text at all, see how to fix a black screen on startup in Windows.

When to stop and get the drive checked

If the drive vanishes from the firmware setup, fails the manufacturer's diagnostics, or the PC works for a while and then loses the drive again, stop repairing and copy off what you can. Repair commands write to the drive, and a failing drive can get worse with every attempt. Pull the drive and read it from another computer or an external enclosure if you cannot reach it any other way.

Frequently asked questions

Why does my PC show a black screen with white text instead of starting Windows?
The firmware or the Windows boot loader ran, but could not hand control to a working operating system. The white text is the error. It usually means the drive is not detected, the boot order or boot mode is wrong, or the boot files (BCD, Bootmgr, MBR) are damaged. The exact wording tells you which one.
Does a black screen with white text mean my data is lost?
Not by itself. Most of these messages are about boot settings or boot files, not about your files. The exception is a drive that no longer appears in the firmware setup screen at all, which points to a failed drive or loose connection. If you can reach the drive in another PC or an enclosure, copy your files off before attempting repairs.
What is the difference between this and a plain black screen?
A plain black screen with no text, or only a blinking cursor, can be a display, graphics driver or boot loader problem. White text means something is running and reporting a specific error, which is easier to act on. Microsoft groups the blinking cursor together with the boot loader error messages.
Should I reinstall Windows when I see No Boot Device Found?
Only as a last step. First unplug USB devices, open the firmware setup, confirm the drive is listed, and set it first in the boot order. Dell notes that a reinstall is required only when the OS was installed in Legacy mode and the machine is now set to UEFI, or when boot-file repair fails.

Sources