# Eeprom edits stops ubuntu from booting

**URL:** <https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961>\
**Category:** General\
**Created:** [March 31, 2025, 11:53pm UTC](https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961 "2025-03-31T23:53:57Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dav1966](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@Dav1966](https://forum.sunfounder.com/u/Dav1966)\
**Post date:** [March 31, 2025, 11:53pm UTC](https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961/1 "2025-03-31T23:53:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [April 1, 2025, 12:50pm UTC](https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961/2 "2025-04-01T12:50:45Z")

</div>

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?

 ![image (16)](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/c/cb79263118cdb92f30f21d3772c62285f1bc11a5.png)  
 ![image (15)](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/3/367b8cd9ae3a74a6f98f111781b454fca8aa3586.png)

---

<div class="post-metadata">

**Author:** ![Dav1966](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@Dav1966](https://forum.sunfounder.com/u/Dav1966)\
**Post date:** [April 1, 2025, 6:50pm UTC](https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961/3 "2025-04-01T18:50:58Z")

</div>

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

 ![Screenshot from 2025-04-02 05-41-05](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/4/452ac56b8bfc299afceabdb54fa734d01b867649.jpeg)  
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

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [April 2, 2025, 8:58am UTC](https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961/5 "2025-04-02T08:58:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Dav1966](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@Dav1966](https://forum.sunfounder.com/u/Dav1966)\
**Post date:** [April 2, 2025, 7:14pm UTC](https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961/6 "2025-04-02T19:14:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [April 3, 2025, 3:29am UTC](https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961/7 "2025-04-03T03:29:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Dav1966](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@Dav1966](https://forum.sunfounder.com/u/Dav1966)\
**Post date:** [April 3, 2025, 6:07am UTC](https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961/8 "2025-04-03T06:07:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Dav1966](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@Dav1966](https://forum.sunfounder.com/u/Dav1966)\
**Post date:** [April 3, 2025, 9:01am UTC](https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961/9 "2025-04-03T09:01:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [April 3, 2025, 1:33pm UTC](https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961/10 "2025-04-03T13:33:05Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![hoods-plains9y](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@hoods-plains9y](https://forum.sunfounder.com/u/hoods-plains9y)\
**Post date:** [April 8, 2025, 7:18pm UTC](https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961/11 "2025-04-08T19:18:27Z")

</div>

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 !

---

<div class="post-metadata">

**Author:** ![marosss](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@marosss](https://forum.sunfounder.com/u/marosss)\
**Post date:** [May 11, 2025, 2:23pm UTC](https://forum.sunfounder.com/t/eeprom-edits-stops-ubuntu-from-booting/2961/12 "2025-05-11T14:23:51Z")

</div>

@Dav1966 I’m just here to say thank you! I almost lost hope with this issue.
