The boot is gurb can't get into the system.

Source: Internet
Author: User
Tags file system administrator password

lower/523200k Upper Memory)

[Minimal bash-like line editing

Supproted. For the the very word. TAB lists possiable commmand comepetion. Anywhere

else TAB list the possoble competions of a dievce/filename.] Now remove a key or appear GNU GRUB

Version 0.97 (639K lower/523200k Upper memory)

[Minimal Bash-like Line

Editing is supproted. For the the very word. TAB lists possiable Commmand

Comepetion. Anywhere Else TAB list the possoble competions of a dievce/filename.]

Grub>_

It's estimated that you have a linux+windows dual system ..., after the reload, grub didn't erase it.

The workaround is to rewrite the MBR:

After you remove Linux, use Ghost to restore a Windows

After mirroring 2000, you will not be able to enter the Windows boot interface normally, always have Grub's boot interface, and then toss up the MBR to solve the problem. Today in Germa83 this machine to catch up with the same problem, on the Internet first check, how to quickly deal with similar problems.

LILO (or GRUB) is the boot manager for Linux. Most current Linux distributions default to mount Lilo to the master Boot Record (MBR) of the primary hard disk. This is when Linux is installed, the first screen that the machine starts becomes Linux

The reason for Lilo.

When installing Linux, we can ask the installer to install the Linux boot Manager to another hard drive or boot floppy disk to prevent the Linux initiator from overwriting the MBR. However, for a user who installs Linux for the first time, or who uses automatic installation mode, it is likely that the Linux boot Manager will not be able to overwrite the MBR problem. After the MBR is overwritten, Windows itself's boot module is still not lost, but it now needs to be accessed through the Linux boot manager lilo or GRUB.

So how can you clear lilo or grub and return to the startup interface of Windows itself? For a system with only one windows, it's simple: make a boot floppy containing the FDISK program, start the machine with a floppy disk, and then execute FDISK at the command line.

/mbr. This command resets the MBR to allow the system to start Windows directly. However, if the system has more than one windows before installing Linux, run Fdisk in this way

The/MBR command overrides the Windows multiple boot menu, allowing the machine to start only from the default primary operating system.

The quickest and most reliable way to clear Lilo or grub back to the previous Windows startup interface is to use the Recovery Console for Windows. The Recovery Console can

Windows CD access, or it can be installed on the system. If you are running the Recovery Console from a CD, assume that the main operating system of the machine is Windows XP, first with the WinXP

CD Boot machine, when prompted, select Manual restore (press R).

Installing the Recovery Console directly onto the system can speed up processing. First, Open win

XP Command Line window (select Menu "Start" → "Run", execute cmd); then, insert the WinXP disc on the CD-ROM and run it on the command line d:i386

Winnt32.exe/cmdcons command, where D: is the CD-ROM drive letter. After the installation is complete, the Recovery Console can be selected from the Windows startup screen the next time you start.

If more than one win is installed on the machine

XP system, the Recovery Console prompts you to fix which win XP. At this point, you should select the last installed system and enter the administrator password to log in to the WinXP. On the command line, enter the Fixboot

, press ENTER. Enter fixmbr and press ENTER. The system prompts that there is already an illegal startup record exists, do not bother, just confirm continue operation. Reboot, and the Windows boot menu is back again.

Or:

Do you want the system to boot directly to Windows without the presence of the Linux grub (or LILO) boot interface (Solution

1~3, or is it not possible to start Windows correctly after you remove the Linux partition in Windows, and stay at the "grub>" prompt (Solution 4)?

Look down, here are a few practical ways to do this:

Solution 1

Use DOS command fdisk to recover the main boot sector MBR (main/master

Boot record)

---Boot the system to a pure DOS prompt with a Win98 boot disk or a DOS boot disk, execute: "FDISK/MBR".

Solution 2

In a Linux system, restore the MBR. (If you can still log in to Linux system)

---at the command prompt at the terminal, enter:

"DD If=/boot/boot." NNNN Of=/dev/hda bs=446 count=1 "

Note that the BS (buffer

Size) refers to the number of bytes overridden. Why not 512? The primary boot sector is a sector (512 bytes) because we just want to fix the boot or remove Grub/lilo boot of the system MBR through the fan commands instead of restoring the entire primary boot sector. So we just boot the backup file for the main boot sector. The first 446 bytes of the nnnn override the master boot sector.

Boot. NNNN is the backup of our entire primary boot partition before installing Linux. If we write all 512 bytes to the main boot sector, we may be able to destroy the DPT table of the hard disk that has been installed with Linux. That would be a bad thing!!!

(The first 446 bytes of the MBR's 512 bytes are the bootstrapper, followed by the 64-byte partition table followed by the trailing 2-byte end tag)

Solution 3

If your fdisk is not good, or Linux is up, don't worry, God closes all the doors, but he'll leave you a window, and the following tools will help you:

Clear MBR 0.9:http://jelle.go.nease.net/resource/clsmbr.exe

---run directly to execute "clear MBR" can, I have tested, absolutely safe, please rest assured that use.

Solution 4

The Linux partition has been removed from windows and stopped at the "grub>" prompt at the start of the system. (Method One: According to the method of solution 1, method two: as follows)

---at the grub> prompt, enter the rootnoverify (hd0,0) carriage return.

Set the first partition (0) of the first hard disk (hd0) as the root partition/root device, but not the file system.

---at the "grub>" prompt, enter: "Chainloader +1"

Enter. Forwards the boot boot to the first sector of the current partition (the first sector of the partition on which the Windows system resides).

---at the "grub>" prompt, enter: "Boot"

Enter. The system will start Windows. If it is unsuccessful, it means (hd0,0) is not the partition where the Windows system is located, and then start with the first step "root (hd0,1)/root

(hd0,2)/root (hd0,3)/... "In short, this will certainly lead to booting your Windows system.

---Well, into Windows, please use the solution 3 method, easy to handle!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.