whiskerz007/proxmox_hassos_install

proxmox main os disk crashed - how to restore the haasos disks on new proxmox VM?

Opened this issue · 5 comments

thk70 commented

Hi I tried to make a new hassos install and and all started just fine. The I replaced the EFI and sata0 disk with the original ones (residing on a different disk than Proxmox OS) but now it boots to EFI prompt. Anyone know about this UEFI boot stuff?

Do you have backup of entire VM ?
do have following :
under hardware : Bios OVMF (UEFI) ?
Under options boot order : Disk 'sata0'

thk70 commented

Do you have backup of entire VM ? No (yes, but it vanished along with the OS disk)
do have following :
under hardware : Bios OVMF (UEFI) ? Yes
Under options boot order : Disk 'sata0' Yes

It was a hassos try-out, but eventually became quite useful with pretty advanced automations. The VM disk was luckily placed on another disk. It's frustrating the VM disks are there right in front of me, but I cant get to them.

Thanks

You could try this. it worked for me:

ha-manager set vm:<VMID> --state disabled
# Open GDISK to modify disk partition map
gdisk /dev/zvol/rpool/vm-<VMID>-disk-<DISK#>
# Once GDISK opens, then just use the W command to re-write the partiion map
# Re-enable (start) VM to verify the VM boots using the disk
ha-manager set vm:<VMID> --state enabled```

@meichthys I could kiss you right now! This solved my problem after a failed hassova update!

No need for a kiss. A good hearty thank you will do 👍