Proxmox VE 7.1.8 Grub defekt

frank311

New Member
Dec 17, 2021
2
0
1
32
Hi zusammen,

habe mir leider versehentlich den Grub Boot zerschossen.

System ist Proxmox VE 7.1.8 mit LVM Thin.

Code:
grub-install /dev/sda
Installing for i386-pc platform.
grub-install.real: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.

Code:
update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.13.19-2-pve
Found initrd image: /boot/initrd.img-5.13.19-2-pve
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
Found linux image: /boot/vmlinuz-5.13.19-1-pve
Found initrd image: /boot/initrd.img-5.13.19-1-pve
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
Found linux image: /boot/vmlinuz-5.11.22-7-pve
Found initrd image: /boot/initrd.img-5.11.22-7-pve
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
Found linux image: /boot/vmlinuz-5.11.22-5-pve
Found initrd image: /boot/initrd.img-5.11.22-5-pve
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
Found linux image: /boot/vmlinuz-5.4.143-1-pve
Found initrd image: /boot/initrd.img-5.4.143-1-pve
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
Found linux image: /boot/vmlinuz-5.4.34-1-pve
Found initrd image: /boot/initrd.img-5.4.34-1-pve
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
/usr/sbin/grub-probe: error: disk `lvmid/NXaOe1-QMbr-Cy6O-U3GC-nRd3-8Nwa-b5OFun/9O96QN-ifcW-aDlL-hB4L-lNp5-9hhQ-6SVeet' not found.
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
done


Code:
vgs
  VG  #PV #LV #SN Attr   VSize  VFree
  pve   1 122   0 wz--n- <5.24t <16.38g

Code:
pvs
  PV         VG  Fmt  Attr PSize  PFree
  /dev/sda3  pve lvm2 a--  <5.24t <16.38g

Code:
lvs
  LV                                                VG  Attr       LSize    Pool Origin                                          Data%  Meta%  Move Log Cpy%Sync Convert
  base-401-disk-0                                   pve Vri---tz-k   20.00g data
  base-601-disk-0                                   pve Vri---tz-k   50.00g data
  data                                              pve twi-aotz--   <5.07t                                                      74.95  13.70
  root                                              pve -wi-ao----   96.00g


Code:
fdisk -l
Disk /dev/sda: 5.24 TiB, 5759450480640 bytes, 11248926720 sectors
Disk model: MR9460-8i
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disklabel type: gpt
Disk identifier: 67DB0DE5-BC52-4A06-9B02-FE441EF8603C

Device     Start     End Sectors  Size Type
/dev/sda1     34    2047    2014 1007K EFI System
/dev/sda2   2048 1050623 1048576  512M EFI System

Partition 1 does not start on physical sector boundary.


Disk /dev/mapper/pve-swap: 32 GiB, 34359738368 bytes, 67108864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes


Disk /dev/mapper/pve-root: 96 GiB, 103079215104 bytes, 201326592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes

Code:
gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.6

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.


Ist hier was zu retten? Reboot wurde bislang nicht durchgeführt.
 
Last edited:
Proxmox ab Installation 6.4 glaube ich war das, nutzt kein Grub mehr direkt. Alles geht über das Proxmox-Boot-Tool.
Was sagt denn bei dir ein
Code:
proxmox-boot-tool status
?
 
Code:
proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
E: /etc/kernel/proxmox-boot-uuids does not exist.

Sieht nicht gut aus :/
 
Hallo @frank311
Die Meldung bedeutet das dein System noch mit Grub läuft. Ist eine ältere Installation, was keinesfalls schlecht ist. Ich hab mir hier mal ein LVM System angesehen. Die Ausgaben die du gepostet hast, sind grundsätzlich richtig. Sieht hier bei mir genau so aus. Die Frage ist... warum bekommst du ein Error beim Grub Install? Was ist denn überhaupt passiert, wie hast du dir deiner Meinung nach den Grub zerschossen? Und fehlt dir ein LVM? Weil die eine ID wird ja nicht mehr gefunden, wobei dies ja root sein sollte.
 

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!