URGENT "grub_disk_native_sectors not found"

Uruk

Member
Feb 15, 2021
12
0
21
32
France
Hello,

I'm having a problem right now, after a grub failure form another problem I tried the tutorial from https://pve.proxmox.com/wiki/Recover_From_Grub_Failure
But I did all of that with the wrong path, the good being nvme0n1p2 and the wrong nvme0n1p1, now I have this error and tried to do the same tutorial but with the correct nvme0n1p2 but i'm blocked on this and really I don't know what to do, it's been 6 hour straight doing this right now so if anyone have any advice to resolve this problem you're welcome !

The command I did :

  • sudo vgscan
  • sudo vgchange -ay
  • sudo mkdir /media/RESCUE
  • sudo mount /dev/pve/root /media/RESCUE/
  • sudo mount /dev/nvme0n1p2 /media/RESCUE/boot/efi/EFI # Couldn't just put /boot/efi error message was shown
  • sudo mount -t proc proc /media/RESCUE/proc
  • sudo mount -t sysfs sys /media/RESCUE/sys
  • sudo mount -o bind /dev /media/RESCUE/dev
  • sudo mount -o bind /run /media/RESCUE/run
  • chroot /media/RESCUE
  • lvextend -L +900M /dev/pve/root # Didn't have enough for 1G
  • resize2fs /dev/pve/root
  • update-grub
  • grub-install /dev/nvme0n1p2 # Having error from grub-install.real: EFI variables are not supported on this system

IMG_5288.jpegIMG_5289.jpg
 
Last edited: