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]: Blank Device and OS tabs if corrupted SD is mounted #984

Open
1 task done
HitLuca opened this issue Jan 2, 2025 · 5 comments
Open
1 task done

[BUG]: Blank Device and OS tabs if corrupted SD is mounted #984

HitLuca opened this issue Jan 2, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@HitLuca
Copy link

HitLuca commented Jan 2, 2025

What happened?

I recently installed rpi OS on an SD card, inserted it into my raspberry and it was corrupted. So I plugged it back in my PC and started raspberry pi imager: this time both the device and os tabs were blank, suggesting some kind of issue with the program. Reinstalling didn't help, and everything got back working as soon as I formatted the SD card from Windows.

Version

1.8.5

What host operating system were you using?

Windows

Host OS Version

Windows 10

Selected OS

RPI OS 64bit

Which Raspberry Pi Device are you using?

Raspberry Pi Zero 2 W

What kind of storage device are you using?

microSD Card in a USB reader

OS Customisation

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

Relevant log output

No response

@HitLuca HitLuca added the bug Something isn't working label Jan 2, 2025
@tdewey-rpi
Copy link
Collaborator

Thanks for the report, @HitLuca

I'd expect the 'Device' and 'OS' windows to be populated regardless of the state of the 'Media' window.

Your report implies a network failure - as the only critical path for this data is a network fetch and a UI update. It's also possible that there's an undocumented dependency between the UI update and the media detection. I'll attempt to reproduce this failure to confirm.

@HitLuca
Copy link
Author

HitLuca commented Jan 7, 2025

My guess is that the imager fails to load up the media devices due to a weird/corrupt partition on the sd card, and this breaks the rest of the population steps. I have thrown away the faulty sdcard so I cannot reproduce the issue, but happy to help out in some other ways

@lurch
Copy link
Contributor

lurch commented Jan 7, 2025

I have thrown away the faulty sdcard

So the card became corrupted again? In your earlier message you said "everything got back working as soon as I formatted the SD card".

@HitLuca
Copy link
Author

HitLuca commented Jan 7, 2025

@lurch sorry I misworded my first message. The sdcard was still faulty as in the raspberry couldn't boot off of it (and the data verification process failed after writing), but the imager itself worked (all panels loaded properly) if the card was freshly formatted

@lurch
Copy link
Contributor

lurch commented Jan 7, 2025

Ahhh, it might have been a "fake capacity" microSD card? https://rmprepusb.com/tutorials/007-all-about-fake-sd-cards-and-usb-flash-drives/

If it failed verification, then it's not much of a surprise that the Raspberry Pi failed to boot from it! 😂

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