Use the installation disk to fix the grub [linuxsir.com] 1. Problem to solve this solution: We may clear the GRUB or LILO from the MBR when we install WIN. If there is no system boot floppy disk with only the installation disk, the solution is taken. There is also a way to use an upgrade system for the Upgrade system. This method is extremely unreliable. After nearly two or thirty-ten practice, we prove that there is almost very few, this method is used to not install GRUB or is also possible. If you have installed the GRUB installation, later reinstall the LILO with the Window or other operating system, it will not be able to guide the system normally, which is invalid. Therefore, this program is best suited for GRUB recovery. Second, the resolution process [Take RedHat 7.3 as an Example] 1. Put the first place to the mounting disk in the optical drive, then restart the machine, and boot the system in Bois. 2. After the installation interface comes out, press the [F4] button, which is Linux Rescue mode. 3. A series of keyboards and several simple formulations, [Continue] afterwards. . . This process, I don't say it, it is relatively simple. 4. Then there will be such characters SH # 5. We can operate GRUB. . . what. . . As long as there is such an example, it is a small Kiss, I just don't say, no one can understand, the earth people know. . . . SH # GRUB will appear in the character grub> We can enter the GRUB> root (hdx, y) GRUB> Setup (HD0) if successfully there is a successful ... here X, If it is a disk, it is 0, if you installed Linux's root partition 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. Let me give an example, if I take my hard drive as an example. I installed XP on the first hard drive, put RH73 in the first hard disk. I have two hard drives. If I lost GRUB, I used this way to find it. If you don't know which partition your Linux is installed, that is, don't know how much this is, this is not tight, first enter root (HDX, then use [Tab] to view, you will understand ... As follows: [There is a description of the previous boot start] SH # grub will appear the following words GRUB> and then do this, if I know that my Linux is put on the first hard disk, but I don't know which partition is put on? You can first enter root (HD0, then use the [Tab] button to make up, then understand.
Code: GRUB> root (HD0, 8) GRUB> Setup (HD0)
Please let the brothers combine the articles and this example, think about it carefully. The partition of my first hard disk 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 is the last thing Press the [RESET] button and restart, it is OK. . . . This step should be the easiest. . . what. . . .