Today, I am playing my computer, I don't know what is moving, and there is such a character grub in the envelope. Later, I learned that the system cannot be guided normally. After checking some information, finally solved, the method is as follows:
GRUB> We can enter GRUB> root (hdx, y) grub> setup (HD0) if success will have a success ... Here is a disk, it is 0, If the root partition of Linux you install is on the second hard disk, that x is 1; Y, is the root partition where Linux system is located. Setup (HD0) is to write GRUB to the MBR of the hard disk.
Take my hard drive as an example. I installed XP and RH9.0. I lost GRUB and found this way. If you don't know which partition is installed in your Linux, that is, don't know how much this Y is, this is not tight, first enter root (hdx, then use [Tab] to view, you will understand ...
The operation is as follows: SH # GRUB will appear on the following words GRUB> and then do this, if I know my Linux is on the first hard disk, but I don't know which partition is installed, you can enter root (HD0) , Then use the [Tab] button to make up, then understand.
GRUB> root (HD0, 8) GRUB> Setup (HD0)
The partition situation of my hard drive is like this. . / DEV / HDA1 primary partition NTFS / DEV / HDA2 extension partition / dev / hda5 NTFS / DEV / HDA6 FAT / DEV / HDA7 FAT / DEV / HDA8 / BOOT EXT3 / DEV / HDA9 / EXT3 / DEV / HDA10 / SWAP EXT3
Finally, press Reboot, restart, and OK. . . . This step should be the easiest. . . what. . . .