Last active
July 31, 2025 10:07
-
-
Save imerr/bca943326a7d777e2578dbb05b94b118 to your computer and use it in GitHub Desktop.
proxmox zfs boot repair
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| zpool import | |
| zpool import -f rpool | |
| mount --bind /proc /mnt/proc | |
| mount --bind /sys /mnt/sys | |
| mount --bind /run /mnt/run | |
| mount --bind /dev /mnt/dev | |
| mount -t efivarfs efivarfs /mnt/sys/firmware/efi/efivars | |
| chroot /mnt | |
| proxmox-boot-tool status | |
| # see https://pve.proxmox.com/wiki/ZFS:_Switch_Legacy-Boot_to_Proxmox_Boot_Tool#Switching_to_proxmox-boot-tool | |
| # e.g. proxmox format /dev/nvme0n1p1 | |
| # e.g. proxmox init /dev/nvme0n1p1 | |
| # if /etc/kernel/cmdline does NOT exist, you'll have to create it (adjust pool naming if needed, but this is the "default"): | |
| # echo "root=ZFS=rpool/ROOT/pve-1 boot=zfs" > /etc/kernel/cmdline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment