When an SMC migration task fails with the "Client.SystemConfigure.Grub2InstallFailed" error, the GRUB 2 bootloader installation on the target disk has failed. Install the missing GRUB modules and retry the migration.
Problem description
During SMC migration, the migration task fails with the error message "Client.SystemConfigure.Grub2InstallFailed".
Cause
A system configuration error on the target disk prevented the GRUB 2 tool from installing the bootloader.
Solution
-
Check the
Logs/p2vs_tool.logfile in the client folder for do_grub_install errors, for example:
2024-11-15 03:21:03.818 [Error] [tool::do_grub_install] do grub install failed.
2024-11-15 03:21:03.819 [Error] [tool::do_linux_grub] fix os grubs failed
2024-11-15 03:21:03.815 [Error] [tool::do_grub_install] grub v2 install return: 1, error_msg: grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
-
If the log shows that the file path containing
doesn't existincludes i386-pc-
CentOS/Redhat/Aliyun/Anolis/Rocky Linux/AlmaLinux: Run
yum -y install grub2-pc-modulesto install the grub2 module. -
Ubuntu/Debian: Run
apt-get -y install grub-pc-binto install the grub2 module.
-
-
If the log shows that the file path containing
doesn't existincludes x86_64-efi-
CentOS/Redhat/Aliyun/Anolis/Rocky Linux/AlmaLinux: Run
yum -y install grub2-efi-x64-modulesto install the grub2 module. -
Ubuntu/Debian: Run apt-get -y install grub-efi-amd64-bin to install the grub module.
-
-
If the log shows that the file path containing
doesn't existincludes arm64-efi-
CentOS/Redhat/Aliyun/Anolis/Rocky Linux/AlmaLinux: Run
yum -y install grub2-efi-aa64-modulesto install the grub2 module. -
Ubuntu/Debian: Run
apt-get -y install grub-efi-arm64-binto install the grub2 module.
-
-
In the SMC client installation directory, run the
./go2aliyun_client --rerun --forcesynccommand to retry the migration. -
If the issue persists, collect the
/smc/go2aliyun_client*/Logslogs and contact us.