RHEL5.1, linux is not displayed after XP is reinstalled. Because the windows system has put the MBR partition out and put it into its own boot program, you have to re-put the GRUB program back into the MBR zone. Restored with a boot Disc
Insert the first installation disc
Start from the optical drive, enter the interface, select F5, enter rescue, enter "linux rescue" at the prompt, and press Enter,
Enter some interfaces, confirm the hardware information such as the mouse and keyboard, and enter "grub" at the prompt and press Enter,
Enter the grub prompt and enter the following
Grub> root (hd0, x) // In the input 'root (hd0, press the TAB key to display the partition. My display is 6 (x is the Partition Number of linux)
Grub> setup (hd0)
Prompt for successful operation
Grub> quit
Return to the prompt page and enter reboot and press enter to restart.
Note: In the first root (hd0, x), there is a space behind the root, and x is determined based on the actual situation. You can enter "root (hd0, then press the tab key to view the partition information and select the corresponding symbol of the disk where the linux primary partition is located.