proxmox_hassos_install icon indicating copy to clipboard operation
proxmox_hassos_install copied to clipboard

Disk crash after latest os upgrade?

Open olibuijr opened this issue 4 years ago • 10 comments

image

Is this a random proxmox fail or could this have anything to do with this installation method?

olibuijr avatar Dec 22 '20 13:12 olibuijr

I have the same error. I did update the OS and everything was working until a reboot of the host. See also this issue: https://github.com/home-assistant/operating-system/issues/1092 Hopefully this can be fixed!?

Mister-Espria avatar Dec 22 '20 22:12 Mister-Espria

Tried recreating the VM, but script failed, was running Proxmox 6.1, upgraded to 6.3-3 and that fixed the problem. Am now up and running again after loading a backup configuration .yaml

olibuijr avatar Dec 23 '20 01:12 olibuijr

Same problem here, have the disk attached to an ubuntu VM and from what I can tell the EFI folder is corrupted after 5.9 update image

@olibuijr Did you recreate the VM to get it working, or only updated proxmox and existing VM started working?

(I don't think this has anything to do with the installation method)

mj-sakellaropoulos avatar Dec 23 '20 01:12 mj-sakellaropoulos

Same problem here, have the disk attached to an ubuntu VM and from what I can tell the EFI folder is corrupted after 5.9 update image

@olibuijr Did you recreate the VM to get it working, or only updated proxmox and existing VM started working?

(I don't think this has anything to do with the installation method)

i recreated the whole thing.

olibuijr avatar Dec 23 '20 01:12 olibuijr

image i'll be holding off the upgrade until we get a hint of a solution

olibuijr avatar Dec 23 '20 01:12 olibuijr

UPDATE : I have posted the procedure to manually recover corrupted EFI partition after 5.9 update @olibuijr If you still have your VM disk, you can try this for full recovery if EFI is corrupt

https://github.com/home-assistant/operating-system/issues/1125#issuecomment-750457231

mj-sakellaropoulos avatar Dec 23 '20 20:12 mj-sakellaropoulos

Tired a clean install and got this failure: Screen Shot 2020-12-23 at 1 58 28 PM

fyrmangeoff avatar Dec 23 '20 21:12 fyrmangeoff

It seems the script no longer works (*for older versions of proxmox)

instead you can create a VM, remove the disk that it created by default and then do the following for a fresh install :

cd /tmp
wget https://github.com/home-assistant/operating-system/releases/download/5.9/hassos_ova-5.9.qcow2.xz
xz -d -v hassos_ova-5.9.qcow2.xz
qm importdisk <vmid> hassos_ova-5.9.qcow2 <storage-name>
# example:
# qm importdisk 100 ./hassos_ova-5.9.qcow2 local-lvm

then go in the web UI, attach the disk as scsi0 (hardware tab) and make sure it has a boot entry (settings tab)

mj-sakellaropoulos avatar Dec 23 '20 23:12 mj-sakellaropoulos

MJ thanks for what you do for the community..I will give it a try!

fyrmangeoff avatar Dec 23 '20 23:12 fyrmangeoff

It seems the script no longer works

instead you can create a VM, remove the disk that it created by default and then do the following for a fresh install :

cd /tmp
wget https://github.com/home-assistant/operating-system/releases/download/5.9/hassos_ova-5.9.qcow2.xz
xz -d -v hassos_ova-5.9.qcow2.xz
qm importdisk <vmid> hassos_ova-5.9.qcow2 <storage-name>
# example:
# qm importdisk 100 ./hassos_ova-5.9.qcow2 local-lvm

then go in the web UI, attach the disk as scsi0 (hardware tab) and make sure it has a boot entry (settings tab)

The script worked for me. Just had to upgrade to latest version of proxmox.

olibuijr avatar Dec 24 '20 16:12 olibuijr