Operating procedures how to restore Ubuntu LVM (BIOS)

Booting system restored from backup image of Ubuntu (BIOS) LVM environment fails in GRUB error.
This error is caused because LV UUID is replaced with the original UUID when configuring the restored LVM, therefore, the original LV UUID does not match with LV UUID of grub.cfg and cannot be identified.

Workaround

1) Boot up the system by using AIPBE (Linux-based boot media).

2) Go to [Utilities] – [Local Mount] in BE and mount [ / ] of LVM.
* In case of Ubuntu LVM, [ / ] of LVM is mounted in “/mnt/vgubuntu-root” folder.

3) Mount 3 directories in terminal.

# 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



?akb&p=3979

Table of Contents