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

[Documentation] OS Customisation only known to work with RasPiOS images in 'Use custom' #213

Closed
DeeJay opened this issue Apr 20, 2021 · 16 comments
Labels
enhancement New feature or request

Comments

@DeeJay
Copy link

DeeJay commented Apr 20, 2021

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.)

@lurch
Copy link
Contributor

lurch commented Apr 20, 2021

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

@maxnet
Copy link
Collaborator

maxnet commented Apr 20, 2021

"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.

@lurch
Copy link
Contributor

lurch commented Apr 20, 2021

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...)

@maxnet
Copy link
Collaborator

maxnet commented Apr 20, 2021

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).

@ghollingworth
Copy link
Contributor

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

@ghollingworth
Copy link
Contributor

Sorry, didn't mean to close!

@ConstantMan
Copy link

ConstantMan commented Sep 15, 2021

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

@madfusker
Copy link

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".

@bryanpedini
Copy link

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 raspberrypi/linux#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! 😄

@bryanpedini
Copy link

(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 😅)

@SupineDread
Copy link

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

@cillian64
Copy link
Collaborator

With the built-in OS list we now only allow customisation to be applied to images which should support it. But you can still attempt to apply customisation if you load a custom .img file and we have no way of knowing whether or not it will work. I'd like to add a warning in this case to make it clear that it probably won't work if your custom image isn't rpi-os

@cillian64 cillian64 added the enhancement New feature or request label Oct 19, 2023
@tdewey-rpi tdewey-rpi changed the title [Documentation] Advanced Options only known to work with RasPiOS images [Documentation] OS Customisation only known to work with RasPiOS images in 'Use custom' Feb 6, 2024
@tdewey-rpi
Copy link
Collaborator

Closing as resolved.

We don't present OS Customisation at all if you're using 'Use Custom' - but you can apply customisations using the Raspberry Pi Imager CLI.

This is a deliberate posture - if you're using a custom image, you are expected to carry a certain amount of technical competence which allows you to drive CLI tools.

@taylorkline
Copy link

We don't present OS Customisation at all if you're using 'Use Custom' - but you can apply customisations using the Raspberry Pi Imager CLI.

@tdewey-rpi Can you elaborate? I intentionally downloaded the imager version 1.9.0 for Windows to ensure I had a version newer than your comment, but I continue to be prompted for OS Customization settings for a Fedora 40 Server "Use custom" image I have selected in the GUI:

image

And, at the very least, the SSH configuration does not appear to work, so my attempt at a headless Fedora 40 Server configuration through the imager fails.

@tdewey-rpi
Copy link
Collaborator

We don't present OS Customisation at all if you're using 'Use Custom' - but you can apply customisations using the Raspberry Pi Imager CLI.

@tdewey-rpi Can you elaborate? I intentionally downloaded the imager version 1.9.0 for Windows to ensure I had a version newer than your comment, but I continue to be prompted for OS Customization settings for a Fedora 40 Server "Use custom" image I have selected in the GUI:

image

And, at the very least, the SSH configuration does not appear to work, so my attempt at a headless Fedora 40 Server configuration through the imager fails.

Sure - as covered on #941, it appears that OS customisation is still being offered in custom scenarios in spite of the intent that it shouldn't be.

I'm currently holding 1.9.2 back while I enforce the break.

@taylorkline
Copy link

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests