You need to edit rc.local which runs commands on boot. Test and confirmed working on my pi4:
sudo nano /etc/rc.local to open rc.local
Then add the following above the comment line about IP's:
sudo sh -c 'echo 1024 > /sys/module/usbcore/parameters/usbfs_memory_mb' & (the ampersand is important!)
CTRL+X and Y to save. sudo reboot to test, then confirm ...
I just solved it! I'm not 100% certain if this is the only solution, but I tried the version of the imager from the KDE Discover store, I tried the version downloaded from the Raspberry Pi website, and both did the same thing. However, I then tried the Snap version snap install rpi-imager and it worked! It prompted me for admin access (something the other's ...
I think a similar thing happened to me a while ago and the problem maybe the SD has decided it has written to its memory too many times. When it thinks this has happened it will not write data to the memory any more. With my card no errors were reported when a file was writen to the card but it was not writen. The card I had you could read but you could not ...
I would try adding the following to /boot/firmware/syscfg.txt (or usercfg.txt):
Ubuntu 20.04 won't boot properly to the desktop by default on tty1. This will allow the boot sequence to complete, and it may fix your issue.
I ran into the same situation today
Although it is already 7 months from @Kevin's question this is how I solved it.
Once you have your Ubuntu (20.04 in my case) installation ready in your USB, edit the user-data file
Under the section ## Install additional packages on first boot,
Uncomment packages, and add a new entry for the openssh-server package.
I have had to search the armhf (I used pkgs.org for this) builds of these dependencies, but note that libmozjs185-dev depends on libmozjs185-1.0 which depends on libffi6.
# Download libffi6
# Download the libmozjs185-1.0
Using Andbdrew's tips above I was able to make this work headless (and with a head) consistently without disabling Cloud-Init. Thanks to @enconn, for brainstorming and a link to https://cloudinit.readthedocs.io/en/latest/topics/examples.html#reboot-poweroff-when-finished.
Image the SD Card using Raspberry Pi Imager v 1.3 selecting the 'UNBUNTU 20.04 LTS (...
The camera preview most likely writes directly to the frame buffer. This is not captured by the VNC server application.
you can solve this issue using fbcp in order to capture the HDMI output; adafruit used this method to run mine-craft pi using their TFT hat.