Eeprom edits stops ubuntu from booting

Hi i have install the ubuntu image from raspi-imager after i edit the eeprom
BOOT_UART=1
POWER_OFF_ON_HALT=1
NET_INSTALL_AT_POWER_ON=1
BOOT_ORDER=0xf416
and install Pironman 5 software Ubuntu will not boot led on pi5 stays red
im using a nvme ssd can you help?
the new eeprom has not got POWER_OFF_ON_HALT=1 so adding cause not to work.
If you add POWER_OFF_ON_HALT=1 it auto update the bootloader to the newest version and wipes POWER_OFF_ON_HALT=1.

Which version of Ubuntu are you currently using?

We verified two Ubuntu versions and executed the sudo rpi-eeprom-config -e command. The file content is as follows:

BOOT_UART=1
POWER_OFF_ON_HALT=1
BOOT_ORDER=0xf461
If you remove POWER_OFF_ON_HALT=1 from the file, will the SSD boot normally afterward?


Ive tryed both them as well as other earlier builds of ubuntu POWER_OFF_ON_HALT=1 is not in all builds screen shoot is 24.04.2LTS


so i don’t have the option to POWER_OFF_ON_HALT=1 but have
[all]
BOOT_UART=1
BOOT_ORDER=0xf146
NET_INSTALL_AT_POWER_ON=1

I noticed that you incorrectly modified the /boot/config.txt file. To modify the EEPROM, you need to boot the system and execute the command sudo rpi-eeprom-config -e. I recommend that you reflash the system and perform the operation again.

i have done this a number of time it like the pi5 on reboot overwrite the change been made on reboot.
in the above post show the option i have when i use rpi-eeprom-config -e and POWER_OFF_ON_HALT=1 is not one of them it not there but if i add it and install your software as in guild the pi5 reboot and no OS shows on screen and a red led on pi5 i then have to re install the eeprom from a SD card and reinstall Ubuntu to NVMe and start over again it just not working.

Was your SSD image cloned from an SD card? After cloning, did you modify the PARTUUID? If not, having both the SD card and SSD inserted simultaneously might cause the Raspberry Pi to fail determining the correct boot partition. You could try removing the SD card and booting with only the SSD connected.

steps ive taking

  • List item

flash eeprom with SD card remove sd card
install Ubuntu onto NVMe via a PC via a M.2 NVMe SSD Enclosure Adapter
install NVMe into case boot up
do the setup for Ubuntu
start install of your software by rpi-eeprom-config -e add POWER_OFF_ON_HALT=1 to config as it not there CTRL X then Y then ENTER
sudo apt-get update sudo apt-get install git -y sudo apt-get install python3 python3-pip python3-setuptools -y
then
cd ~ git clone https://github.com/sunfounder/pironman5.git cd ~/pironman5 sudo python3 install.py
reboot then red led and not booting into Ubuntu.

howto fix
install Bookworm on SD card with NVMe out
update eeprom with these cmd
sudo apt update
sudo apt full-upgrade
sudo reboot
sudo rpi-eeprom-update
You should see that the bootloader is up-to-date

Upgrade to the newer “latest” EEPROM version.

sudo nano /etc/default/rpi-eeprom-update
Change the word “critical” or “stable” to “latest” and save the file.My was set to “default”
sudo rpi-eeprom-update
sudo rpi-eeprom-update -a
sudo reboot -n
You can check the running eeprom version again to ensure the correct version.
vcgencmd bootloader_version
sudo -E rpi-eeprom-config --edit
BOOT_UART=1 POWER_OFF_ON_HALT=1 BOOT_ORDER=0xf146 NET_INSTALL_AT_POWER_ON=1
Write your changes (Ctrl-O) and exit (Ctrl-X)
Reboot Raspberry Pi
sudo reboot
shut down pi remove SD card
install NVMe SSD
turn on pi
it should boot into Ubuntu
sudo apt-get update
sudo apt-get install git -y
sudo apt-get install python3 python3-pip python3-setuptools -y

cd ~
git clone https://github.com/sunfounder/pironman5.git
cd ~/pironman5
sudo python3 install.py
reboot pi
done should now boot Ubuntu
i think something should come may way it took me 3 days to work this out.

Based on your description, your steps appear correct.Is your Raspberry Pi connected to a screen?If yes, does it show any output?After rewriting the system image to the SSD, were you able to achieve a successful boot?

I had this same issue. When I followed @Dav1966 workflow, it resolved the issue and my system now boots in Ubuntu with the Pironman5 software running. Thank you @Dav1966 !