Rpi-imager: [Documentation] Advanced Options only known to work with RasPiOS images

Created on 20 Apr 2021  ·  11Comments  ·  Source: raspberrypi/rpi-imager

A documentation suggestion. Perhaps mention somewhere that the Advanced Options image customisation tool is probably only tested with Raspberry Pi RasPiOS images?

(Two instances to date in the Raspberry Pi forums of users trying to customise an Ubuntu image in this way and being disappointed and confused when it results in a failed installation.)

Most helpful comment

A documentation suggestion.

I just spent a couple hours on this one... Instead of documentation, why not just remove the advanced options from being available when Ubuntu is selected. Perhaps a dialog box when hitting ctrl-shift-x that says "Advance options for pi images only".

All 11 comments

"failed installation"? I'd assume that anything that isn't RPiOS would just ignore the files that RPi Imager creates? :confused:

"failed installation"? I'd assume that anything that isn't RPiOS would just ignore the files that RPi Imager creates?

Failed is expected.

We force systemd to start /boot/firstrun.sh
And if some OS decides to mount the FAT partition not at /boot but likes say /boot/EFI better, that do is fatal.

Ahhhh. @maxnet I wonder if there should maybe be something in the JSON file that RPiImager reads, to know if the image it's flashing is "compatible" with the customisation options? (although that wouldn't work if the user selects a RaspiOS image from their hard-drive, hmmm...)

although that wouldn't work if the user selects a RaspiOS image from their hard-drive, hmmm...

Can have all kinds of heuristics e.g. based on issue.txt on FAT partitions.

But long term it may be better to add cloud-init support to RPI OS.
(Ubuntu does already support that).

Indeed that is what we discussed. I think moving to cloud-init is the right solution here...

Sorry, didn't mean to close!

So apparently there are other people with the same issue as me and i understand that they might be technical limitations on what the program can set before flashing the OS. But the problem is there is no way to know before starting to use rpi - imager that's only fully compatible with Raspberry OS it would be very helpful for a new user to state clearly that the advanced settings only work with Raspberry OS

A documentation suggestion.

I just spent a couple hours on this one... Instead of documentation, why not just remove the advanced options from being available when Ubuntu is selected. Perhaps a dialog box when hitting ctrl-shift-x that says "Advance options for pi images only".

A documentation suggestion.

I just spent a couple hours on this one... Instead of documentation, why not [...]

Also document it please, I just ran across this issue and I had to resort to Google (instead of my default DuckDuckGo) by actually quoting "command from kernel command line" which brought me to https://github.com/raspberrypi/linux/issues/4458 which then searching on raspberrypi/rpi-imager's issues from that issue's date on, pointed me to #273 which finally brought me here through #242...

Maybe some more SEO with a quick drafted article explaining that this error is normal and the reasons (we're not using RPiOS hence customizations through CTRL+SHIFT+X brick our installation), would be really, really needed! 😄

(also now that I mentioned all those issues here on GH, at least they all have a point-of-reference at the end of the page to click and quickly know what's going on... so thanks GitHub for already providing a small amout of SEO and alleviating the headake that figuring this issue out has been 😅)

Hi guys
I just disabled all the advanced options like this

image

And now is working as expected and using the default ubuntu user and password (ubuntu:ubuntu) I have access with ssh

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JRHeaton picture JRHeaton  ·  12Comments

AubsUK picture AubsUK  ·  21Comments

meteyou picture meteyou  ·  9Comments

CaskAle picture CaskAle  ·  23Comments

dividuum picture dividuum  ·  7Comments