whiskerz007 / proxmox_hassos_install

MIT License
881 stars 192 forks source link

Disk crash after latest os upgrade? #96

Open olibuijr opened 3 years ago

olibuijr commented 3 years ago
image

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

Mister-Espria commented 3 years ago

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!?

olibuijr commented 3 years ago

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

mj-sakellaropoulos commented 3 years ago

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)

olibuijr commented 3 years ago

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 commented 3 years ago
image

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

mj-sakellaropoulos commented 3 years ago

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

fyrmangeoff commented 3 years ago

Tired a clean install and got this failure:

Screen Shot 2020-12-23 at 1 58 28 PM
mj-sakellaropoulos commented 3 years ago

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)

fyrmangeoff commented 3 years ago

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

olibuijr commented 3 years ago

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.