System unbootable - grub error: disk lvmid not found

It won't work unless you have at least 1G empty space. You can try the opposite of that by first running
lvreduce -L -1G /dev/pve/root
then
lvextend -L +1G /dev/pve/root
but that can cause data loss if your drive is almost full or your data is scattered all over your drive.
How can I find out if it could work error free?
I have 12 VMs running that I definitely don't want to break.


Code:
# lsblk
NAME                                      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda                                         8:0    0 13.1T  0 disk
├─sda1                                      8:1    0 1007K  0 part
├─sda2                                      8:2    0  512M  0 part /boot/efi
└─sda3                                      8:3    0 13.1T  0 part
  ├─pve-swap                              253:0    0    8G  0 lvm  [SWAP]
  ├─pve-root                              253:1    0    2T  0 lvm  /
  ├─pve-data_tmeta                        253:2    0  100M  0 lvm 
  │ └─pve-data-tpool                      253:4    0 24.2T  0 lvm 
  │   ├─pve-data                          253:5    0 24.2T  1 lvm 
  │   ├─pve-vm--100--disk--0              253:6    0  500G  0 lvm 
  │   ├─pve-vm--101--disk--0              253:7    0    1G  0 lvm 
  │   ├─pve-vm--101--disk--1              253:8    0  300G  0 lvm 
  │   ├─pve-vm--101--disk--2              253:9    0  300G  0 lvm 
  │   ├─pve-vm--999--disk--0              253:10   0   32G  0 lvm 
  │   ├─pve-vm--102--disk--0              253:11   0  128G  0 lvm 
  │   ├─pve-vm--102--disk--1              253:12   0  100G  0 lvm 
  │   ├─pve-vm--200--disk--1              253:13   0  100G  0 lvm 
  │   ├─pve-vm--200--disk--0              253:14   0  100G  0 lvm 
  │   ├─pve-vm--103--disk--0              253:15   0   25G  0 lvm 
  │   ├─pve-vm--104--disk--0              253:16   0   25G  0 lvm 
  │   ├─pve-vm--105--disk--0              253:17   0   50G  0 lvm 
  │   ├─pve-vm--106--disk--0              253:18   0    8G  0 lvm 
  │   ├─pve-vm--300--disk--1              253:19   0   20G  0 lvm 
  │   ├─pve-vm--105--state--Upgrade_1_4_8 253:20   0 16.5G  0 lvm 
  │   ├─pve-vm--107--disk--0              253:21   0  300G  0 lvm 
  │   ├─pve-vm--108--disk--0              253:22   0  100G  0 lvm 
  │   ├─pve-vm--109--disk--0              253:23   0    1G  0 lvm 
  │   ├─pve-vm--109--disk--1              253:24   0   20G  0 lvm 
  │   ├─pve-vm--110--disk--0              253:25   0   24G  0 lvm 
  │   ├─pve-vm--111--disk--0              253:26   0   32G  0 lvm 
  │   └─pve-vm--112--disk--0              253:27   0   32G  0 lvm 
  └─pve-data_tdata                        253:3    0 24.2T  0 lvm 
    └─pve-data-tpool                      253:4    0 24.2T  0 lvm 
      ├─pve-data                          253:5    0 24.2T  1 lvm 
      ├─pve-vm--100--disk--0              253:6    0  500G  0 lvm 
      ├─pve-vm--101--disk--0              253:7    0    1G  0 lvm 
      ├─pve-vm--101--disk--1              253:8    0  300G  0 lvm 
      ├─pve-vm--101--disk--2              253:9    0  300G  0 lvm 
      ├─pve-vm--999--disk--0              253:10   0   32G  0 lvm 
      ├─pve-vm--102--disk--0              253:11   0  128G  0 lvm 
      ├─pve-vm--102--disk--1              253:12   0  100G  0 lvm 
      ├─pve-vm--200--disk--1              253:13   0  100G  0 lvm 
      ├─pve-vm--200--disk--0              253:14   0  100G  0 lvm 
      ├─pve-vm--103--disk--0              253:15   0   25G  0 lvm 
      ├─pve-vm--104--disk--0              253:16   0   25G  0 lvm 
      ├─pve-vm--105--disk--0              253:17   0   50G  0 lvm 
      ├─pve-vm--106--disk--0              253:18   0    8G  0 lvm 
      ├─pve-vm--300--disk--1              253:19   0   20G  0 lvm 
      ├─pve-vm--105--state--Upgrade_1_4_8 253:20   0 16.5G  0 lvm 
      ├─pve-vm--107--disk--0              253:21   0  300G  0 lvm 
      ├─pve-vm--108--disk--0              253:22   0  100G  0 lvm 
      ├─pve-vm--109--disk--0              253:23   0    1G  0 lvm 
      ├─pve-vm--109--disk--1              253:24   0   20G  0 lvm 
      ├─pve-vm--110--disk--0              253:25   0   24G  0 lvm 
      ├─pve-vm--111--disk--0              253:26   0   32G  0 lvm 
      └─pve-vm--112--disk--0              253:27   0   32G  0 lvm 
sdb                                         8:16   0 13.1T  0 disk
└─sdb1                                      8:17   0 13.1T  0 part
  ├─pve-root                              253:1    0    2T  0 lvm  /
  └─pve-data_tdata                        253:3    0 24.2T  0 lvm 
    └─pve-data-tpool                      253:4    0 24.2T  0 lvm 
      ├─pve-data                          253:5    0 24.2T  1 lvm 
      ├─pve-vm--100--disk--0              253:6    0  500G  0 lvm 
      ├─pve-vm--101--disk--0              253:7    0    1G  0 lvm 
      ├─pve-vm--101--disk--1              253:8    0  300G  0 lvm 
      ├─pve-vm--101--disk--2              253:9    0  300G  0 lvm 
      ├─pve-vm--999--disk--0              253:10   0   32G  0 lvm 
      ├─pve-vm--102--disk--0              253:11   0  128G  0 lvm 
      ├─pve-vm--102--disk--1              253:12   0  100G  0 lvm 
      ├─pve-vm--200--disk--1              253:13   0  100G  0 lvm 
      ├─pve-vm--200--disk--0              253:14   0  100G  0 lvm 
      ├─pve-vm--103--disk--0              253:15   0   25G  0 lvm 
      ├─pve-vm--104--disk--0              253:16   0   25G  0 lvm 
      ├─pve-vm--105--disk--0              253:17   0   50G  0 lvm 
      ├─pve-vm--106--disk--0              253:18   0    8G  0 lvm 
      ├─pve-vm--300--disk--1              253:19   0   20G  0 lvm 
      ├─pve-vm--105--state--Upgrade_1_4_8 253:20   0 16.5G  0 lvm 
      ├─pve-vm--107--disk--0              253:21   0  300G  0 lvm 
      ├─pve-vm--108--disk--0              253:22   0  100G  0 lvm 
      ├─pve-vm--109--disk--0              253:23   0    1G  0 lvm 
      ├─pve-vm--109--disk--1              253:24   0   20G  0 lvm 
      ├─pve-vm--110--disk--0              253:25   0   24G  0 lvm 
      ├─pve-vm--111--disk--0              253:26   0   32G  0 lvm 
      └─pve-vm--112--disk--0              253:27   0   32G  0 lvm

Code:
# df -h
Filesystem                Size  Used Avail Use% Mounted on
udev                      504G     0  504G   0% /dev
tmpfs                     101G  6.3M  101G   1% /run
/dev/mapper/pve-root      2.0T   89G  1.8T   5% /
tmpfs                     504G   46M  504G   1% /dev/shm
tmpfs                     5.0M     0  5.0M   0% /run/lock
/dev/sda2                 511M  328K  511M   1% /boot/efi
/dev/fuse                 128M   24K  128M   1% /etc/pve
x.x.x.x:/pve-share  5.4T  2.0T  3.4T  38% /mnt/pve/pve-share
tmpfs                     101G     0  101G   0% /run/user/0
 
Here, we solved this problem using this steps:

- Booting the server (Dell PowerEdge) using a live USB with LVM (we used proxmox install)
- Running # vgscan
- Creating a 4MB logical volume named grubtemp in the pve volume group: # lvcreate -L 4M pve -n grubtemp
- Rebooting the server!
After, PVE booted normally now! (Yeah!)

From this link: https://pve.proxmox.com/wiki/Recover_From_Grub_Failure
 
Here, we solved this problem using this steps:

- Booting the server (Dell PowerEdge) using a live USB with LVM (we used proxmox install)
- Running # vgscan
- Creating a 4MB logical volume named grubtemp in the pve volume group: # lvcreate -L 4M pve -n grubtemp
- Rebooting the server!
After, PVE booted normally now! (Yeah!)

From this link: https://pve.proxmox.com/wiki/Recover_From_Grub_Failure
Thank you, but I switched all to zfs... And now 0 problems.
 
Here, we solved this problem using this steps:

- Booting the server (Dell PowerEdge) using a live USB with LVM (we used proxmox install)
- Running # vgscan
- Creating a 4MB logical volume named grubtemp in the pve volume group: # lvcreate -L 4M pve -n grubtemp
- Rebooting the server!
After, PVE booted normally now! (Yeah!)

From this link: https://pve.proxmox.com/wiki/Recover_From_Grub_Failure
We had same issue after adding more RAM in our 7.4-16 server. The above fixed it. Thank you.
 
Here, we solved this problem using this steps:

- Booting the server (Dell PowerEdge) using a live USB with LVM (we used proxmox install)
- Running # vgscan
- Creating a 4MB logical volume named grubtemp in the pve volume group: # lvcreate -L 4M pve -n grubtemp
- Rebooting the server!
After, PVE booted normally now! (Yeah!)

From this link: https://pve.proxmox.com/wiki/Recover_From_Grub_Failure
This is giving me issues.. still.. When running the lvcreate command I get:

Code:
Volume group "pve" has insufficient free space (0 extents): 1 required.

EDIT: even after resize (reducing) the disk and introducing new 4MB (temporally) volume group didn't fix the grub bootloader issue. I followed all the steps on the Proxmox wiki without any luck. I still have the same issue..

I'm forced to reinstall Proxmox ;(
 
Last edited:
This is giving me issues.. still.. When running the lvcreate command I get:

Code:
Volume group "pve" has insufficient free space (0 extents): 1 required.

EDIT: even after resize (reducing) the disk and introducing new 4MB (temporally) volume group didn't fix the grub bootloader issue. I followed all the steps on the Proxmox wiki without any luck. I still have the same issue..

I'm forced to reinstall Proxmox ;(
i have exactly the same issue, several months ago i had solved this issue by the way above. But today i don't get luck and still stuck.
 
  • Like
Reactions: melroy89
Same issue, PVE & Grub version below.
Code:
❯ pveversion
pve-manager/7.2-7/d0dd0e85 (running kernel: 5.15.39-4-pve)

❯ grub-install --version
grub-install.real (GRUB) 2.04-20

I just booted up an Ubuntu Live ISO and ran the following command to extend the LVM size by 1GB.
Code:
❯ sudo lvextend -L +1G /dev/pve/root

Rebooted the system and Proxmox booted just fine. So I booted back into the Ubuntu Live ISO again and ran the following command to reduce the LVM size.
Code:
❯ sudo lvreduce -L -1G /dev/pve/root
Thank you! This just saved me from hours of pain ❤️
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!