-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error updating versions higher than Home Assistant OS 8.0.dev20220321 #1830
Comments
So
What is it missing exactly? |
Btw, for Hyper-V OVA should be the preferred image as its made for virtualization environments. |
Sorry, yes. The OVA started as hassos_ova-5.10.vhdx. Also tried starting with haos_ova-7.6.vhdx.zip, and experienced the same issue. Wrote the error message from memory, so took screenshots of the grub loader and the error. Smart status and chkdsk says my drive is good, and using a new ova should have fixed the corruption if there was any. Also tried a clean vm and same issue. |
In a quick try I installed Hyper-V on Windows 11 and was able to upgrade from a new OS 7.6 to 8.0.dev20220331. Which version of Windows are you using? Can you reproduce this every time when upgrading from OS 7.6? |
Hm, 22H2 seems to be a insider preview, could it be a Hyper-V bug? I use 21H2, and just updated 7.6 again, this time to |
Could be, after getting the error updating from 7.6 directly to 8.0.dev20220321 I am looking at updates and changes that have happened since then. Also going to put the OVA on another hard drive and see if it is some type of corruption that neither checkdisk or full SMART diagnostic could find. |
Could also be on the read side, e.g. that the new GRUB2 binary triggers some Hyper-V bug which causes the read failure. |
I get the same problem with Intel Nuc when i updated it wouldnt boot into Hassio i plugged it in to monitor and it came up with grub error, i thought it was SSD failure so i bought a new one still had the same problem put 7.6 on the old SSD and worked straight away |
I have also had the same on intel nuc. Tried twice to upgrade. Booted with Live image and overwrote the first 5 partitions using the first 3 from the previous image and system back to working state. Upgrade attempt to 8.0 rc1 |
Hello, I’ve been using the standard generic x86-x64 Home Assistant image
directly on the nuc. Currently running 7.6. System has been upgrade several
times so cannot remember original install version.
Would have been built using the version at the time, but from equivalent
versioned url :
https://github.com/home-assistant/operating-system/releases/download/7.6/haos_generic-x86-64-7.6.img.xz
…On Tue, 12 Apr 2022 at 13:43, Stefan Agner ***@***.***> wrote:
@arikhris <https://github.com/arikhris> @nubicula
<https://github.com/nubicula> what operating systems are you using?
I tried again to reproduce this here, unfortunately unsuccessful. I need
to have exact configurations and steps to reproduce the issue on my end,
otherwise I won't be able to address this.
—
Reply to this email directly, view it on GitHub
<#1830 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7THP7K7UMEJ23BGEPJ3MLVEVOXLANCNFSM5SNSDVNA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I am still the exact opposite, and can reproduce it every time. |
Hm, I do have a Intel NUC Gen11 here which has upgraded to 8.0.rc1 fine. @nubicula was the failing sector number the same (0x149c9)? Can you share the exact model number and hard drive you are using on your Intel NUC? |
Not sure if its possible, but can you downgrade Windows 11 back to a stable (non-insider) version?
You can manually execute the update using the
|
I am receiving exact same error code on updating to 8.0rc1. Of note, I am also using a Samsung SSD 970 Evo Plus with same failed sector on hd0 |
The same as seen in which report? From What I can see the OP reported errors on sector @nubicula do those values change on every boot in your case? @pcartwright81 how is it in your case is it the same sector in every boot? It seems that GRUB2 has problems reading some sectors on those systems. I assume that all systems did work with HAOS 7.x, so it seems that there isn't a "hardware" problem per se, and its likely a software bug. That surprises me a bit since GRUB2 is the most widely used boot loader. |
One thing I've noticed is that all sectors reported here are in the kernel squashfs partition (
We use compressed squashfs file system, which might be not as well tested in GRUB2. I found a single bugfix in newest GRUB2 code in that area and added it with #1858. This is a rather long shot, but who knows 😅 I'll create a new development build today. |
The development build is available on the development channel and downloadable from here: Let me know if that fixes it for any one of you! |
just tagging along I just installed the most recent beta ( i think it's beta since I'm in the beta channel? i think it was rc3) anyways erro reading sector 0xa01c0 from 'hd0' |
@pcartwright81 it is interesting that you can reproduce this on Hyper-V but I don't see it here, despite the same configuration (like you I set it up as documented https://www.home-assistant.io/installation/windows). What kind of host system are you using? |
X570-A PRO board |
i updated from 7 again to 8rc3 thinking problem would be fixed but its
still the same ::(
…On Sat, Apr 30, 2022 at 4:14 AM Patrick Cartwright ***@***.***> wrote:
X570-A PRO board
AMD Ryzen 7 3700X 4 Processors dedicated to the VM
32 GB DDR4 2GB dedicated to the VM
Windows 11 22H2
VM Version 11
Main drive WDS100T1X0E-00AFY0
—
Reply to this email directly, view it on GitHub
<#1830 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQIJK6H6E3Q7AT4YHI5TW3LVHQRJZANCNFSM5SNSDVNA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@adonno and I tried with GRUB2 2.06 from this Debian package, however GRUB showed the same read error. So it really looks like a bug in upsream GRUB2. As soon as I have access to a system (probably sometime next week), I'll try to get to the bottom of it. |
WIth 8.0.rc4 GRUB2 now has a bug fix which should make it boot on all affected systems as well. Please speak up if 8.0.rc4 does not work f you! Thanks @nubicula for your help to get this fixed! |
Still having the same issue as previously mentioned. |
@derekcannady using HAOS 8.0.rc4? What system are you using and how is your disk drive attached? |
@pcartwright81 can you check if the latest release 8.0.rc4 works for you? |
Home Assistant OS 8.0.dev20220505 works 8.0.rc4 works also installed by rauc. |
Describe the issue you are experiencing
When trying to update my Hyper V image to a version higher than Home Assistant OS 8.0.dev20220321. It always gets stuck on the grub bootloader. If I select try 0 it says missing, try 1 is the old image. Tried updating from 7.6 and it failed also.
What operating system image do you use?
generic-x86-64 (Generic UEFI capable x86-64 systems)
What version of Home Assistant Operating System is installed?
8.0.dev20220321
Did you upgrade the Operating System.
Yes
Steps to reproduce the issue
...
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System Health information
System Health
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Additional information
No response
The text was updated successfully, but these errors were encountered: