If the operating system does not boot, then the first step for most users is to reinstall it. But every computer user knows how much trouble is connected with it. This is the reinstallation of drivers and the loss of part of the data. Meanwhile, there is another way out of the situation: booting the system from the command line, with which you can try to restore the normal operation of the operating system.
Necessary
Windows computer
Instructions
Step 1
You can boot the system from the command line regardless of whether your operating system is running or the computer is constantly rebooting. The main thing is that it starts loading. Even if the OS crashes, if the initial boot starts, you can boot from the command line.
Step 2
Turn on your computer. Immediately after turning it on, continuously press the Windows key + R keyboard shortcut. The Windows key on a standard keyboard is in the bottom row, second from the left (it shows the Microsoft logo). Instead of the standard boot of the operating system, you will find yourself in a menu where you can select the command line.
Step 3
Use the arrows on your keyboard to select Grub command Line from the list of suggested options and press Enter. The command line is now running. To find out the commands that you can use to try to restore normal operation of the operating system, enter the Help command at the prompt. A list of commands that you can enter will appear on the left side of the window, and a description of each of the commands on the right side.
Step 4
The most common commands you can use to try to restore your system. CHKDSK command. With it, you can test your hard drive for errors. Enter the CHKDSK command first, followed by the drive letter. Since the operating system is installed in the overwhelming majority of cases on the C drive, then, accordingly, you need to enter CHKDSK C. If you have a system drive called a different letter, then enter it.
Step 5
Also, using the command line, you can start the system restore process. To do this, enter the Rstrui.exe command. A console will appear, with which you can restore Windows to work. Also, for the recovery process, you may need a disc with the distribution of your operating system.