Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..E: /etc/kernel/proxmox-boot-uuids does not exist.

iprigger

Renowned Member
Sep 5, 2009
190
43
93
earth!
Hi All,

I did receive the message in the topic today after applying the latest updates when running

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.

When I run proxmox-boot-tool refresh I get...

Code:
# proxmox-boot-tool refresh
Running hook script 'proxmox-auto-removal'..
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.

... any idea?

On another system I got:
Code:
Configuring grub-pc
-------------------

GRUB failed to install to the following devices:

/dev/sda /dev/sdb

Do you want to continue anyway? If you do, your computer may not start up
properly.

Writing GRUB to boot device failed - continue? [yes/no]

Version is:
Code:
proxmox-ve: 7.2-1 (running kernel: 5.15.39-4-pve)
pve-manager: 7.2-7 (running version: 7.2-7/d0dd0e85)
pve-kernel-5.15: 7.2-9
pve-kernel-helper: 7.2-9
pve-kernel-5.13: 7.1-9
pve-kernel-5.15.39-4-pve: 5.15.39-4
pve-kernel-5.15.39-1-pve: 5.15.39-1
pve-kernel-5.15.35-1-pve: 5.15.35-3
pve-kernel-5.13.19-6-pve: 5.13.19-15
pve-kernel-5.13.19-2-pve: 5.13.19-4
pve-kernel-4.15: 5.4-8
pve-kernel-4.15.18-20-pve: 4.15.18-46
pve-kernel-4.15.18-12-pve: 4.15.18-36
ceph-fuse: 14.2.21-1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: residual config
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve1
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.2-4
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.2-2
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-3
libpve-storage-perl: 7.2-8
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.0-3
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.2.5-1
proxmox-backup-file-restore: 2.2.5-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.1
pve-cluster: 7.2-2
pve-container: 4.2-2
pve-docs: 7.2-2
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-5
pve-firmware: 3.5-1
pve-ha-manager: 3.4.0
pve-i18n: 2.7-2
pve-qemu-kvm: 7.0.0-2
pve-xtermjs: 4.16.0-1
qemu-server: 7.2-4
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1~bpo11+1
vncterm: 1.7-1
zfsutils-linux: 2.1.5-pve1

Thanks
Tobias
 
Last edited:
... any idea?
the output usually just indicates that you're not using proxmox-boot-tool to boot your system - this usually means:
* you either are not using ZFS on '/'
* you setup the system before PVE 6.4 and are booting from zfs directly from grub
** this is explained in the wiki-page:
https://pve.proxmox.com/wiki/ZFS:_Switch_Legacy-Boot_to_Proxmox_Boot_Tool

in any case - on what filesystem is your '/' and do you have any issues apart from these warning messages on that system?

On another system I got:
Code:
Configuring grub-pc
-------------------

GRUB failed to install to the following devices:

/dev/sda /dev/sdb

Do you want to continue anyway? If you do, your computer may not start up
properly.

Writing GRUB to boot device failed - continue? [yes/no]
that seem quite unrelated to me - please post more of the logs/terminal output that lead to that issue
 
Hi,

I am using zfs on that system:
Code:
# zpool list
NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
rpool   232G  9.92G   222G        -         -     8%     4%  1.00x    ONLINE  -

The error (grub-pc) was showing up when I did an apt-get dist-upgrade

Tobias
 
Then I assume you setup this system sometime before PVE 6.4 (where proxmox-boot-tool support for legacy booted systems was introduced)
How to migrate to proxmox-boot-tool (in case you want to upgrade your pool - but also as a general recommendation) is explained in the wiki-article I linked

I hope this helps!
 
Then I assume you setup this system sometime before PVE 6.4 (where proxmox-boot-tool support for legacy booted systems was introduced)
How to migrate to proxmox-boot-tool (in case you want to upgrade your pool - but also as a general recommendation) is explained in the wiki-article I linked

I hope this helps!
Hi,

That might be... will probably re-set-up those servers sometime soon.

Tobias
 
any chance you still have the terminal output from the system where grub-install failed? (there might be an issue with proxmox-boot-tool)
 
I sent a patch for the issue I managed to reproduce:
https://lists.proxmox.com/pipermail/pve-devel/2022-September/053894.html

as a mitigation - you can apply it or - run `grub-install.real /dev/sda; grub-install.real /dev/sdb`

Unfortunatly: no, sorry.
If you could also check /var/log/apt/term.log (and rotated variant) it would be great! (just so that we do not overlook another issue) - thanks!

for completeness sake - another thread in our forum is also discussing this issue:
https://forum.proxmox.com/threads/proxmox-update-from-7-2-4-grub-update-failure.114951/
 
I sent a patch for the issue I managed to reproduce:
https://lists.proxmox.com/pipermail/pve-devel/2022-September/053894.html

as a mitigation - you can apply it or - run `grub-install.real /dev/sda; grub-install.real /dev/sdb`


If you could also check /var/log/apt/term.log (and rotated variant) it would be great! (just so that we do not overlook another issue) - thanks!

for completeness sake - another thread in our forum is also discussing this issue:
https://forum.proxmox.com/threads/proxmox-update-from-7-2-4-grub-update-failure.114951/
thank you for the information.
I also ran into the same issue and I rebooted my system. It's stuck at grub rescue .. can't get anything out of ls and the drives or partitions.
I also tried a bootable USB device with 7.1 and 7.2 and the rescue mode and it get's the error:


Code:
error: no
such device: rpool.
ERROR:
unable to find boot disk automatically.

any help on this one?
 
I sent a patch for the issue I managed to reproduce:
https://lists.proxmox.com/pipermail/pve-devel/2022-September/053894.html

as a mitigation - you can apply it or - run `grub-install.real /dev/sda; grub-install.real /dev/sdb`


If you could also check /var/log/apt/term.log (and rotated variant) it would be great! (just so that we do not overlook another issue) - thanks!

for completeness sake - another thread in our forum is also discussing this issue:
https://forum.proxmox.com/threads/proxmox-update-from-7-2-4-grub-update-failure.114951/
yep, here you go:

Code:
Log started: 2022-09-12  10:11:58
(Reading database ... 86630 files and directories currently installed.)
Preparing to unpack .../base-files_11.1+deb11u5_amd64.deb ...
Unpacking base-files (11.1+deb11u5) over (11.1+deb11u4) ...
Setting up base-files (11.1+deb11u5) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 86630 files and directories currently installed.)
Preparing to unpack .../dpkg_1.20.12_amd64.deb ...
Unpacking dpkg (1.20.12) over (1.20.11) ...
Setting up dpkg (1.20.12) ...
(Reading database ... 86630 files and directories currently installed.)
Preparing to unpack .../libc-devtools_2.31-13+deb11u4_amd64.deb ...
Unpacking libc-devtools (2.31-13+deb11u4) over (2.31-13+deb11u3) ...
Preparing to unpack .../libc6-dev_2.31-13+deb11u4_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-13+deb11u4) over (2.31-13+deb11u3) ...
Preparing to unpack .../libc-dev-bin_2.31-13+deb11u4_amd64.deb ...
Unpacking libc-dev-bin (2.31-13+deb11u4) over (2.31-13+deb11u3) ...
Preparing to unpack .../linux-libc-dev_5.10.140-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.10.140-1) over (5.10.136-1) ...
Preparing to unpack .../libc6_2.31-13+deb11u4_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Unpacking libc6:amd64 (2.31-13+deb11u4) over (2.31-13+deb11u3) ...
Setting up libc6:amd64 (2.31-13+deb11u4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
(Reading database ... 86631 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.31-13+deb11u4_amd64.deb ...
Unpacking libc-bin (2.31-13+deb11u4) over (2.31-13+deb11u3) ...
Setting up libc-bin (2.31-13+deb11u4) ...
(Reading database ... 86631 files and directories currently installed.)
Preparing to unpack .../libnss-systemd_247.3-7+deb11u1_amd64.deb ...
Unpacking libnss-systemd:amd64 (247.3-7+deb11u1) over (247.3-7) ...
Preparing to unpack .../libsystemd0_247.3-7+deb11u1_amd64.deb ...
Unpacking libsystemd0:amd64 (247.3-7+deb11u1) over (247.3-7) ...
Setting up libsystemd0:amd64 (247.3-7+deb11u1) ...
(Reading database ... 86631 files and directories currently installed.)
Preparing to unpack .../systemd-timesyncd_247.3-7+deb11u1_amd64.deb ...
Unpacking systemd-timesyncd (247.3-7+deb11u1) over (247.3-7) ...
Preparing to unpack .../libpam-systemd_247.3-7+deb11u1_amd64.deb ...
Unpacking libpam-systemd:amd64 (247.3-7+deb11u1) over (247.3-7) ...
Preparing to unpack .../systemd_247.3-7+deb11u1_amd64.deb ...
Unpacking systemd (247.3-7+deb11u1) over (247.3-7) ...
Preparing to unpack .../udev_247.3-7+deb11u1_amd64.deb ...
Unpacking udev (247.3-7+deb11u1) over (247.3-7) ...
Preparing to unpack .../libudev1_247.3-7+deb11u1_amd64.deb ...
Unpacking libudev1:amd64 (247.3-7+deb11u1) over (247.3-7) ...
Setting up libudev1:amd64 (247.3-7+deb11u1) ...
Setting up systemd (247.3-7+deb11u1) ...
(Reading database ... 86631 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_247.3-7+deb11u1_amd64.deb ...
Unpacking systemd-sysv (247.3-7+deb11u1) over (247.3-7) ...
Preparing to unpack .../libk5crypto3_1.18.3-6+deb11u2_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.18.3-6+deb11u2) over (1.18.3-6+deb11u1) ...
Setting up libk5crypto3:amd64 (1.18.3-6+deb11u2) ...
(Reading database ... 86631 files and directories currently installed.)
Preparing to unpack .../libkrb5support0_1.18.3-6+deb11u2_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.18.3-6+deb11u2) over (1.18.3-6+deb11u1) ...
Setting up libkrb5support0:amd64 (1.18.3-6+deb11u2) ...
(Reading database ... 86631 files and directories currently installed.)
Preparing to unpack .../libkrb5-3_1.18.3-6+deb11u2_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.18.3-6+deb11u2) over (1.18.3-6+deb11u1) ...
Setting up libkrb5-3:amd64 (1.18.3-6+deb11u2) ...
(Reading database ... 86631 files and directories currently installed.)
Preparing to unpack .../libgssapi-krb5-2_1.18.3-6+deb11u2_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.18.3-6+deb11u2) over (1.18.3-6+deb11u1) ...
Setting up libgssapi-krb5-2:amd64 (1.18.3-6+deb11u2) ...
(Reading database ... 86631 files and directories currently installed.)
Preparing to unpack .../libpcre2-8-0_10.36-2+deb11u1_amd64.deb ...
Unpacking libpcre2-8-0:amd64 (10.36-2+deb11u1) over (10.36-2) ...
Setting up libpcre2-8-0:amd64 (10.36-2+deb11u1) ...
(Reading database ... 86631 files and directories currently installed.)
Preparing to unpack .../00-krb5-locales_1.18.3-6+deb11u2_all.deb ...
Unpacking krb5-locales (1.18.3-6+deb11u2) over (1.18.3-6+deb11u1) ...
Preparing to unpack .../01-libc-l10n_2.31-13+deb11u4_all.deb ...
Unpacking libc-l10n (2.31-13+deb11u4) over (2.31-13+deb11u3) ...
Preparing to unpack .../02-locales_2.31-13+deb11u4_all.deb ...
Unpacking locales (2.31-13+deb11u4) over (2.31-13+deb11u3) ...
Preparing to unpack .../03-curl_7.74.0-1.3+deb11u3_amd64.deb ...
Unpacking curl (7.74.0-1.3+deb11u3) over (7.74.0-1.3+deb11u2) ...
Preparing to unpack .../04-libcurl4_7.74.0-1.3+deb11u3_amd64.deb ...
Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u3) over (7.74.0-1.3+deb11u2) ...
Preparing to unpack .../05-grub-efi-amd64-bin_2.06-3~deb11u1_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.06-3~deb11u1) over (2.04-20) ...
Preparing to unpack .../06-grub2-common_2.06-3~deb11u1_amd64.deb ...
Unpacking grub2-common (2.06-3~deb11u1) over (2.04-20) ...
Preparing to unpack .../07-grub-pc_2.06-3~deb11u1_amd64.deb ...
Unpacking grub-pc (2.06-3~deb11u1) over (2.04-20) ...
Preparing to unpack .../08-grub-pc-bin_2.06-3~deb11u1_amd64.deb ...
Unpacking grub-pc-bin (2.06-3~deb11u1) over (2.04-20) ...
Preparing to unpack .../09-grub-efi-ia32-bin_2.06-3~deb11u1_amd64.deb ...
Unpacking grub-efi-ia32-bin (2.06-3~deb11u1) over (2.04-20) ...
Preparing to unpack .../10-grub-common_2.06-3~deb11u1_amd64.deb ...
Unpacking grub-common (2.06-3~deb11u1) over (2.04-20) ...
Preparing to unpack .../11-libavahi-client3_0.8-5+deb11u1_amd64.deb ...
Unpacking libavahi-client3:amd64 (0.8-5+deb11u1) over (0.8-5) ...
Preparing to unpack .../12-libavahi-common3_0.8-5+deb11u1_amd64.deb ...
Unpacking libavahi-common3:amd64 (0.8-5+deb11u1) over (0.8-5) ...
Preparing to unpack .../13-libavahi-common-data_0.8-5+deb11u1_amd64.deb ...
Unpacking libavahi-common-data:amd64 (0.8-5+deb11u1) over (0.8-5) ...
Preparing to unpack .../14-libcurl3-gnutls_7.74.0-1.3+deb11u3_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.74.0-1.3+deb11u3) over (7.74.0-1.3+deb11u2) ...
Preparing to unpack .../15-libhttp-daemon-perl_6.12-1+deb11u1_all.deb ...
Unpacking libhttp-daemon-perl (6.12-1+deb11u1) over (6.12-1) ...
Preparing to unpack .../16-libproxmox-rs-perl_0.2.0_amd64.deb ...
Unpacking libproxmox-rs-perl (0.2.0) over (0.1.2) ...
Preparing to unpack .../17-libpve-rs-perl_0.7.1_amd64.deb ...
Unpacking libpve-rs-perl (0.7.1) over (0.6.2) ...
Preparing to unpack .../18-libpve-storage-perl_7.2-8_all.deb ...
Unpacking libpve-storage-perl (7.2-8) over (7.2-7) ...
Preparing to unpack .../19-pve-edk2-firmware_3.20220526-1_all.deb ...
Unpacking pve-edk2-firmware (3.20220526-1) over (3.20210831-2) ...
Preparing to unpack .../20-pve-qemu-kvm_7.0.0-2_amd64.deb ...
Unpacking pve-qemu-kvm (7.0.0-2) over (6.2.0-11) ...
Preparing to unpack .../21-qemu-server_7.2-4_amd64.deb ...
Unpacking qemu-server (7.2-4) over (7.2-3) ...
Setting up systemd-sysv (247.3-7+deb11u1) ...
Setting up libc-l10n (2.31-13+deb11u4) ...
Setting up linux-libc-dev:amd64 (5.10.140-1) ...
Setting up libnss-systemd:amd64 (247.3-7+deb11u1) ...
Setting up libcurl3-gnutls:amd64 (7.74.0-1.3+deb11u3) ...
Setting up krb5-locales (1.18.3-6+deb11u2) ...
Setting up locales (2.31-13+deb11u4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.
Setting up grub-common (2.06-3~deb11u1) ...
Installing new version of config file /etc/grub.d/10_linux ...
Installing new version of config file /etc/grub.d/20_linux_xen ...
Installing new version of config file /etc/grub.d/30_os-prober ...
Installing new version of config file /etc/grub.d/30_uefi-firmware ...
Installing new version of config file /etc/grub.d/41_custom ...
Setting up libpve-rs-perl (0.7.1) ...
Setting up libavahi-common-data:amd64 (0.8-5+deb11u1) ...
Setting up systemd-timesyncd (247.3-7+deb11u1) ...
Setting up udev (247.3-7+deb11u1) ...
Setting up libpve-storage-perl (7.2-8) ...
Setting up libhttp-daemon-perl (6.12-1+deb11u1) ...
Setting up libproxmox-rs-perl (0.2.0) ...
Setting up libpam-systemd:amd64 (247.3-7+deb11u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libcurl4:amd64 (7.74.0-1.3+deb11u3) ...
Setting up curl (7.74.0-1.3+deb11u3) ...
Setting up grub-efi-amd64-bin (2.06-3~deb11u1) ...
Setting up libc-dev-bin (2.31-13+deb11u4) ...
Setting up pve-edk2-firmware (3.20220526-1) ...
Setting up libc-devtools (2.31-13+deb11u4) ...
Setting up grub-efi-ia32-bin (2.06-3~deb11u1) ...
Setting up grub2-common (2.06-3~deb11u1) ...
Installing new version of config file /etc/kernel/postinst.d/zz-update-grub ...
Installing new version of config file /etc/kernel/postrm.d/zz-update-grub ...
Setting up pve-qemu-kvm (7.0.0-2) ...
Setting up libavahi-common3:amd64 (0.8-5+deb11u1) ...
Setting up qemu-server (7.2-4) ...
Setting up grub-pc-bin (2.06-3~deb11u1) ...
Setting up grub-pc (2.06-3~deb11u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
/usr/sbin/grub-install: 14: warn: not found
/usr/sbin/grub-install: 14: warn: not found
Configuring grub-pc
-------------------

GRUB failed to install to the following devices:

/dev/sda /dev/sdb

Do you want to continue anyway? If you do, your computer may not start up
properly.

Writing GRUB to boot device failed - continue? [yes/no] Log ended: 2022-09-12  10:26:04

Log started: 2022-09-12  10:27:39
Setting up grub-pc (2.06-3~deb11u1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package grub-pc (--configure):
 installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 grub-pc
Log ended: 2022-09-12  10:27:39

Log started: 2022-09-12  10:28:05
Setting up grub-pc (2.06-3~deb11u1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package grub-pc (--configure):
 installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 grub-pc
Log ended: 2022-09-12  10:28:05

Log started: 2022-09-12  10:28:54
Setting up grub-pc (2.06-3~deb11u1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
/usr/sbin/grub-install: 14: warn: not found
/usr/sbin/grub-install: 14: warn: not found
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.39-4-pve
Found initrd image: /boot/initrd.img-5.15.39-4-pve
Found linux image: /boot/vmlinuz-5.15.39-1-pve
Found initrd image: /boot/initrd.img-5.15.39-1-pve
Found linux image: /boot/vmlinuz-5.13.19-6-pve
Found initrd image: /boot/initrd.img-5.13.19-6-pve
Found linux image: /boot/vmlinuz-5.13.19-3-pve
Found initrd image: /boot/initrd.img-5.13.19-3-pve
Found linux image: /boot/vmlinuz-5.4.162-1-pve
Found initrd image: /boot/initrd.img-5.4.162-1-pve
Found linux image: /boot/vmlinuz-5.4.34-1-pve
Found initrd image: /boot/initrd.img-5.4.34-1-pve
Found memtest86+ image: /ROOT/pve-1@/boot/memtest86+.bin
Found memtest86+ multiboot image: /ROOT/pve-1@/boot/memtest86+_multiboot.bin
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
Log ended: 2022-09-12  10:29:03
 
thank you for the information.
I also ran into the same issue and I rebooted my system. It's stuck at grub rescue .. can't get anything out of ls and the drives or partitions.
I also tried a bootable USB device with 7.1 and 7.2 and the rescue mode and it get's the error:
that should not happen due to the failing grub-install ...
in any case the section in the linked wiki-page might help in that case:
https://pve.proxmox.com/wiki/ZFS:_S...iring_a_System_Stuck_in_the_GRUB_Rescue_Shell

make sure to create a backup of everything on the system!
 
Thank you!
I tried the solution and when I try:

zpool import -f -R /mnt rpool

within the debugg mode I get the error:

cannot import 'rpool': no such pool available
this sounds odd - is your system using zfs on / at all? - I currently doubt that what you're seeing is related to the issue of this thread - and would suggest to open a new thread for it (feel free to notify me with @Stoiko Ivanov so that I don't overlook the thread)
if you open the thread please post (if not possible as plain-text then as screenshots):
* `lsblk`
* `zpool import`
* the grub-screen you're seeing when trying to boot
 
Thank you!
I tried the solution and when I try:

zpool import -f -R /mnt rpool

within the debugg mode I get the error:

cannot import 'rpool': no such pool available
I also had this issue after fixing the /etc/kernel/proxmox-boot-uuids file with the EFI partition UUID found in blkid. I found this other post that helped me fix it and get booting normally again https://forum.proxmox.com/threads/problem-with-starting-pve-with-root-on-zfs-pool.160742/post-739441

I ran these commands from the initramfs environment right after I got the "no such pool available" error and the suggestion to run "zpool import -f"

Code:
zpool import -a -f -d /dev/disk/by-id
df
zpool list
zpool export -a
reboot -f