-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Flashing with Etcher results in faulty DNS behavior. #28706
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
Comments
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved. |
The issue still persists regarding the documentation, suggesting the use of Balena Etcher. |
Not stalled. |
I had this exact issue. Flashing got to 32% for me, but as HAOS appeared to boot fine, it looked like the flashing completed, and perhaps it was just a graphics issue that meant the screen wasn't updating. In fact it absolutely didn't complete. The most noticeable issue was DNS not working properly, but adding DNS servers didn't fix it. Note that this guide seems to install a different (older) version of Balena Etcher, and despite a number of errors during install, it works fine and writes the image to the disk without any errors. Definitely worth mentioning it in the guide that if you do not see Balena Etcher flash to 100% and verify, then it likely hasn't worked, even though the OS may boot and look ok. I suspect there are quite a few people out there with slightly knackered installs due to this one. |
@DamianosS I was able to reproduce the problem and this is really very curious 😅 So I think for one, it just seems that balenaEtcher is not a good fit for Ubuntu 22.04, at least when using the Live version. It requires libfuse2, and then crashes as it seems 🙈 The outcome of the whole situation is really interesting, it seems that balenaEtcher corrupted the CoreDNS binary inside the DNS plug-in on Home Assistant, which lead to those DNS issues people have reported 🤯 . In any case, It think the better approach here is to use the built-in "Disks" utility of Ubuntu. The main reason the guide is using balenaEtcher is since it is available on all platform (in case people flash it from a host using USB-to-S-ATA adapter) and it supports verify (however, that is moot point since it crashes 🙈 ). So this means we have to split the guides in two separate flows. USBimager does look interesting. What don't like too much is that it doesn't support AppImage and uses x11 by default on Linux. |
- to use restore disk image from Ubuntu instead of using Balena Etcher to install HAOS - Restructure procedures to favor the live Operating System from USB over the Balena Etcher method - Reason: according to the issue tracker, there seem to be recurring issues with the Balena Etcher method - Adresses feedback provided in #29684, #28961, and #28706
@agners, I see your point. However, since the documentation suggests Ubuntu Live as the jump-off point, and Balena Etcher gives userd a hard time, shouldn’t it suggest the USBimager alternative? |
@DamianosS USBImager would probably work too, but Ubuntu has a built-in tool called Disks which even can handle xz images directly. Initially we did not use that tool because it adds another flow to document. But given the problems, I think this is the best option as it doesn't require installing anything additionally. @c0ffeeca7 created a PR adjusting the documentation in #29997. |
Agree. If there’s a build-in tool, so the user wouldn’t need to download anything, it’s of course the preferable way! Thanks a lot, @agners! |
* Installation generic x86: add steps - to use restore disk image from Ubuntu instead of using Balena Etcher to install HAOS - Restructure procedures to favor the live Operating System from USB over the Balena Etcher method - Reason: according to the issue tracker, there seem to be recurring issues with the Balena Etcher method - Adresses feedback provided in #29684, #28961, and #28706 * fix formatting * Add notice, fix step numbers * Apply suggestions from code review Co-authored-by: Stefan Agner <stefan@agner.ch> * Apply suggestions from code review Co-authored-by: Stefan Agner <stefan@agner.ch> * Fix structure * Update procedure and screenshots * Fix formatting * Small rephrase * Tweaks * Fix typo * Add note to decompress image file if installation fails - as indicated by #28961 * Apply suggestions from code review Co-authored-by: Stefan Agner <stefan@agner.ch> * Update source/_includes/installation/operating_system.md Co-authored-by: Stefan Agner <stefan@agner.ch> * Rephrase caution statement * Apply suggestions from code review Co-authored-by: Stefan Agner <stefan@agner.ch> --------- Co-authored-by: Stefan Agner <stefan@agner.ch>
Resolved by #29997 |
Feedback
Several users encountered DNS related problems after incomplete Balena Etcher flashing.
When using USBimager as an alternative we didn't have problems so far.
Maybe this is worthwhile to be mentioned in the dcoumentation.
You can find documentation and comments regarding that issue in the community forum:
[Flashing hard drive get stuck at 31% (balena fetcher)](https://community.home-assistant.io/t/flashing-hard-drive-get-stuck-at-31-balena-fetcher/604336)](https://community.home-assistant.io/t/flashing-hard-drive-get-stuck-at-31-balena-fetcher/604336/44)
URL
https://www.home-assistant.io/installation/generic-x86-64/
Version
2023.8.4
Additional information
No response
The text was updated successfully, but these errors were encountered: