System boot failure occurs in GRUB error after restoring a backup image of Ubuntu (BIOS) LVM environment. This issue arises because the LV UUID is replaced with the original UUID during the configuration of the restored LVM. Consequently, the original LV UUID does not match the LV UUID in grub.cfg, leading to identification issues.
Workaround
1) Boot the system using AIPBE (Linux-based boot media).
2) Navigate to [Utilities] – [Local Mount] in BE and mount [ / ] of LVM.
* For Ubuntu LVM, [ / ] of LVM is mounted in the "/mnt/vgubuntu-root" folder.
3) Use the terminal to mount three directories.
# mount --bind /dev /mnt/vgubuntu-root/dev # mount --bind /proc /mnt/vgubuntu-root/proc # mount --bind /sys /mnt/vgubuntu-root/sys
4) Replace [/] with “/mnt/vgubuntu-root” on terminal.
# chroot /mnt/vgubuntu-root
5) Run the following command under “chroot”.
# grub-install --root-directory=/ /dev/sda * Please make sure "Installation Finished. No error reported." message is displayed at the end of command execution result, indicating that restore process successfully completed.
6) Boot up the system.
Target Product
– ActiveImage Protector 2022 Linux
(13451228334489)
Comments
0 comments
Article is closed for comments.