Help Center > > FAQs> After Migration> What Can I Do If the Server Cannot Be Started After Migration Due to an Earlier GRUB Version?

What Can I Do If the Server Cannot Be Started After Migration Due to an Earlier GRUB Version?

Updated at: Jun 12, 2020 GMT+08:00

Symptom

The server cannot be started after the migration.

Figure 1 Failed to start

Causes

The GRUB2 version of the source server is old and has bugs that are not fixed. (The bugs do not affect the system running, but GRUB fails to be reinstalled.)

Procedure

  1. Log in to the source server as user root and run the grub2-install command to install GRUB2.

    If the error message "not a correct XFS inode" is displayed during the installation, GRUB fails to be installed.

  2. Run the following command to check the installed GRUB2 version:

    rpm -qa |grep grub2
    Figure 2 Checking the GRUB2 version

  3. Run the following command to upgrade the GRUB2 version:

    yum update grub2

  4. Run the following command to check the upgraded GRUB2 version. Check whether GRUB is successfully upgraded by comparing the version numbers in Figure 2 and Figure 3.

    rpm -qa |grep grub2

    Figure 3 Checking the upgraded GRUB2 version

  5. After GRUB2 is installed on the source server, perform the migration task again.

    After the migration is complete, the server can be started properly.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel