rpi-imager
rpi-imager copied to clipboard
Bug in keyboard setup
I choose US keyboard in the setting before installation, but after boot it was set to GB.
Thanks for the report, @solskogen. I'll update this issue once we've got a diagnosis.
@maxnet Another if you want it.
Which OS image are you writing? Did you configure username/password as well, or just locale/keyboard?
And is it a plain standard USB keyboard? NOT a Pi 400, or the red/white Raspberry Pi brand keyboard? (As I recall there is some keyboard layout auto-detection/override stuff in RPI OS for Pi keyboards. Not sure if that may not trump on Imager's setting.)
I used the desktop image (not full) on a Rpi400.
I used the desktop image (not full) on a Rpi400.
Unable to reproduce, when selecting both the checkboxes for "set user" and "set locale", like this:
If I only select "Set locale setting", and not user, I do get the piwiz first-usage-wizard thingy, that could make different decisions about keyboard.
It happen to me when using the network boot, so it's quite possible that it only happens there.
Ah, that explains things. Imager version currently offered through netinstall is old, and doesn't support the imager_custom script customization method for RPI OS Bookworm.
Older RPI OS versions and operating systems using cloud-init for customization such as Ubuntu Server do should work.
Should be fixed once the netboot image is updated.
Is there any way to see what version of rpi-imager is used in netboot?
Is there any way to see what version of rpi-imager is used in netboot?
As long as it still shows 2022 at https://downloads.raspberrypi.com/net_install/ you have the old one. ;)
There's another issue about the lack of version number. #408
I experienced the same issue on my Raspberry Pi 400 with Italian keyboard when doing a network boot. I'm afraid I don't remember all the details as I burned the microSD card 3 times before realizing what was going on and fixing the installation, but here's an outline of how things went.
First off, I configured every option accessible from the cogs icon of the Imager.
I picked the 64-bit Bookworm "Raspberry Pi OS with desktop and recommended software" image, then set the country to Italy and the language to English. But, when booting into Raspberry Pi OS after the installation, I got wrong password errors every time the password was requested (e.g. to install system updates). This made me realize something was off with the locale. In the end I set the country to Italy and the language to Italian and everything worked fine.
If all password fields in the Imager (e.g. user and Wi-Fi password) allowed showing the password, I would have immediately spotted the language mismatch. You may consider adding such an option whereever it's missing.
Finally, I'm beyond positive I configured Wi-Fi access in the Imager, yet when booting into Raspberry Pi OS after the installation no Wi-Fi was configured in the system.
In the end I set the country to Italy and the language to Italian and everything worked fine.
Actually, now that I think about it, setting the country and language wasn't enough to fix the issue.
What I did in the Imager was to enter a user password that contained only lowercase letters and no other letters or symbols. Then, when I booted into the installed system, I immediately changed the password from the shell with the passwd
command, after typing a few test characters in the shell and checking the terminal displayed the expected letters and symbols.