deleted bios boot partition how to recover?

hhamama

New Member
Apr 23, 2023
9
0
1
I accidentally deleted the bios boot partition trying to follow the troubleshooting steps here: https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#sysboot
The section "Changing a failed bootable device"

I had sgdisk copy the wrong partition table. Here's a screenshot of what the drive partition table looks like:
Screenshot 2024-11-22 180547.png

Is there any hope to recover without deleting the data in the ZFS partitions or would I have to do a fresh install?
I think this is the exact command I typed before rebooting: sgdisk /dev/nvme0n1 -R /dev/nvme1n1
 
Just realized my terminal emulator saved the session. Here's what happened and the message I received:

root@pve:~# sgdisk /dev/nvme0n1 -R /dev/nvme1n1
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
root@pve:~# sgdisk -G /dev/nvme1n1
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
root@pve:~#
Broadcast message from root@pve (Fri 2024-11-22 17:43:29 PST):
 

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!