Fix GRUB after LinuxRedHat9.0 is reinstalled

Source: Internet
Author: User
If the host is installed with Windows and then Linux, you will be prompted to install grub when installing Linux. on the contrary, the MBR will be rewritten in the Windows system. At this time, boot will not recognize the Linux system. how can this problem be solved? The following describes how to fix GRUB with LinuxRedHat9.0 and Windows operating system installed on the machine: 1. find the first installation disk of RedHat or Fedora. 2. start from the CD. When the first installation interface appears, press

If the host is installed with Windows and then Linux, you will be prompted to install grub when installing Linux.

On the contrary, the MBR will be rewritten in the Windows system, and the Linux system cannot be identified when the system is started. How can this problem be solved?

The following describes how to fix GRUB in the Linux RedHat9.0 and Windows operating systems mounted on the machine:

1. Find the first installation disk of RedHat or Fedora.

2. Start from the CD. When the first installation interface appears, press Linux rescue mode to enter

3. Enter Linux rescue

4. When # is displayed, Enter chroot/mnt/sysimage and press Enter.

5. Enter grub-install/dev/hda.

6. Restart OK.

Related Article

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.