Skip to content
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

[BUG]: Unable to instantiate a Home Assistant for Raspberry Pi 5 on Windows #888

Closed
1 task
qrnch-jan opened this issue Jun 30, 2024 · 3 comments
Closed
1 task
Labels
bug Something isn't working

Comments

@qrnch-jan
Copy link

What happened?

Using the Windows version to instantiate a Raspberry Pi 5 micro-SD card yielded an unbootable SD card. We tried a different micro-SD card but got the same result. We retried three or four times with the same results. We had a Raspberry Pi 3 laying around, so we tried to instantiate Home Assistant for that instead, which worked fine (it booted).

Last week I successfully built a Raspberry Pi 5 image of Home Assistant from a mac, so I knew it should work.

We switched to a mac, and that built the RaspberryPi 5 variant of Home Assistant that would boot correctly.

There seems to be a Windows-specific bug that causes instantiated Home Assistant images for Raspberry Pi 5 to not be bootable.

("Not bootable" means that the first stage bootloader complains that it can't detect a bootable image)

Version

1.8.5 (Default)

What host operating system were you using?

Windows

Host OS Version

10

Selected OS

Home Assistant

Which Raspberry Pi Device are you using?

Raspberry Pi 5

What kind of storage device are you using?

microSD Card in an internal reader

OS Customisation

  • Yes, I was using OS Customisation when the bug occurred.

Relevant log output

No response

@qrnch-jan qrnch-jan added the bug Something isn't working label Jun 30, 2024
@lurch
Copy link
Contributor

lurch commented Jul 1, 2024

Sounds like this might be the same thing as raspberrypi/rpi-eeprom#585 which says "Turned out the Imager itself isn't to blame, but the Windows kernel (presumably on Windows 10+, Windows 7 don't show that behavior), which alters the partition table even when a drive is just plugged into the computer."

@qrnch-jan
Copy link
Author

Yeah, that definitely looks like it could be the same issue.

What an odd thing for the kernel to do -- would be interesting to learn what the origin of that is.

@tdewey-rpi
Copy link
Collaborator

Closing as 'Won't Fix'.

Unfortunately, I don't have the power to convince Redmond to change Windows system behaviour - though if anyone is aware of a workaround or change that I'm not aware of I'm prepared to review a PR.

@tdewey-rpi tdewey-rpi closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants