I want the system to boot directly to Windows, there is no Linux Grub (or LILO) boot interface (Solution 1~3), or it is not correct after deleting the Linux partition in Windows. Start Windows and stay at the “grub>” prompt, what should I do? (Solution 4)? Look down, here are a few practical ways to get you:
Solution 1
Use the DOS command fdisk to restore the main boot sector MBR (Main /Master Boot Record)
--- Use win98 boot disk or DOS boot disk to boot the system to a pure DOS prompt, execute: " Fdisk /mbr"
Solution 2 In a Linux system, restore the MBR. (If you can still log in to the Linux system)
--- At the command prompt of the terminal, type: "dd if=/boot/boot.NNNN of=/dev/hda bs=446 Count=1"
Note that bs(buffer size) refers to the number of bytes rewritten. Why isn't 512? The main boot sector is a sector (512 bytes) because we just want to fix the system MBR boot or delete the Grub/LILO boot through the fan command; instead of restoring the entire master boot sector. So we only rewrite the first 446 bytes of the backup file boot.NNNN of the primary boot sector to the primary boot sector. boot.NNNN is the backup of the entire primary boot partition before we installed Linux. If we write all 512 bytes to the main boot sector, it may destroy the hard disk DPT table that has been changed after installing Linux. That's a bad thing!!! (The first 446 bytes of the MBR's 512 bytes are the bootloader, followed by the next 64 bytes for the partition table, and the last 2 bytes for the end tag)
Solution 3
If your fdisk is not good, or if Linux is already upturned, don't worry, God closes all the doors, but he will leave a window for you. The tools below can help. You:
Clear MBR 0.9:clsmbr.exe
---Run directly to execute “Clear MBR”, I have tested it, it is absolutely safe, please feel free to use it.
Solution 4
The Linux partition has been removed from Windows and stopped at the “grub>” prompt after the system boots. (Method 1: Follow the Solution 1 method, Method 2: below)
--- At the “grub>” prompt, type: <;rootnoverify (hd0,0)” Enter. //Set the first partition (0) of the first hard disk (hd0) as the root partition/root device, but do not load the file system.
--- At the “grub>” prompt, type: <;chainloader +1” Enter. //Transfer the bootstrapping authority to the first sector of the current partition (the first sector of the partition where the Windows system is located).
--- At the “grub>” prompt, type: <;boot” Enter. The system will start Windows. If it is unsuccessful, it means that (hd0,0) is not the partition where the Windows system is located, and then try the first step from the first step (root (hd0,1)/root (hd0,2)/root (hd0,3)/.. .”, in short, this will definitely boot your Windows system.
--- Well, enter Windows, please use Solution 3 method, easy to get!
First look at the TCP server side of the program: #include <stdlib.h> #include <stdio.h>
Linode VPS default time zone is US, which is inconvenient for performing some scheduled tasks. There
The Linux command line is useful, efficient, and fun, but sometimes dangerous, especially if you are
When compiling the program today, the error: storage class specified for parameter is not found in
How low the configuration can run Linux
Ten Linux operating system security management skills experience summary
Do not blame the actual Linux operating system dual screen display
How to modify ssh default 22 port number
Linux planning tasks Introduction
Automatically monitor and restart Apache service scripts under Linux
Nginx uses ssl module to configure HTTPS support
Copy and paste shortcuts under Linux
Discussion on GUEST OS Clock (TIMEKEEP) in Virtual Machine
How do I view the specific release version of Red Hat Enterprise Linux?
Apache configuration independent domain name method
How to use USB portable storage under Win 2003
Win10 upgrade error error code 0x8024001e solution
Server technology minicomputer and cluster server simple comparison
Win8 set and modify system power
Windows 8.1 pop-up auto-dial window solution
No software to manage Windows 8 startup items
[Newbie] Let QQ and Maxthon go hand in hand to