Recovering from the grub2 update issue

Due to the latest grub2 update, there may be some instances, when updating a Proxmox node through the GUI, that cause issues by breaking packages. This is especially true for an earlier release, such as Proxmox 3.4. All the newer versions of Proxmox seem to have this issue fixed. To prevent this issue from happening, it is best to upgrade a node through SSH or the console by logging in directly on the node and not through the GUI. If the upgrade has already been applied through the GUI and there are unconfigured packages due to issues, perform the following steps to fix the issue:

  1. Check package status:
        # pveversion -v  
  1. Before configuring grub, we need to know the device where Proxmox is installed. We can find the device by running the following command:
        # parted -l   
  1. If there are incorrect packages, run the following commands to kill the background dpkg process and configure all the packages, including the new grub2:
        # killall dpkg
        # dpkg --configure -a  
  1. Select the Proxmox device name when prompted during the grub2 installation.
  2. Reboot the node.
  3. It is also possible to manually install grub2 on the Master Boot Record (MBR). Run the following command to install grub2 on the boot device:
       # grub-install /dev/sdX  
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.172.115