Trying to set up an rpi3 with DietPi_RPi-ARMv6-Bullseye. Flashes to micro SD card and boots. When I get to dietpi-config > Advanced Options, the USB boot support is [On]. How do I change it to [Off]?
I am running as root, so no priv issues.
Everything else on that menu page toggles with the space bar. Pressing the space bar when USB boot support is highlighed just refreshes that page without updating anything.
I assume I may have caused this problem by trying to turn on USB boot support by adding “program_usb_boot_mode=1” to the end of the /boot/config.txt file yesterday when I was trying to get USB boot working. I ran into problems. I have reflashed the micro SD card and I want to go back to micro SD card boot all the time, even when I connect an external USB HD to hold my media files.
Any suggestions how to toggle that setting in DietPi-Config > Advanced Settings?
I guess there is no reason to turn off that setting. Boot will look to the SD card first. If that fails the setting is checked to determine whether to try booting from the USB devices. So as long as I keep my SD card in, and working, I don’t need to worry about this setting.
We should add an informational prompt when it’s on already:
This option does not set the boot order but only enables USB boot support (as fallback if no bootable SD card is attached) on RPi 3 permanently by programming the respective ROM. If that has been done already, it cannot be reverted. On RPi 3+ and 4 this is enabled by default. Only on RPi 4 where the bootloader is stored on an EEPROM, the boot order can be changed as well.
I have problems with rebooting on my RPI3b, even with a fresh install it boots if power is connected, but when I run reboot, it will give output on the TV then it will just hang, and won’t ever boot up. I use a 128GB SSD connected via USB. It’s good because I didn’t have this problem a while ago when I first did it, started happening randomly. I thought I could use RPI bootloader software on an SD card, but still doesn’t work. Though maybe if I turn off USB boot it might work. No avail. I have to cut power manually to reboot it, which is difficult when I’m not in the same house as it is most of the week.
It makes sense to create a new topic for this . If only reboot hangs, I guess bootup and hence the bootloader or storage is not causing the issue, but some process might hang on shutdown. What is the last output you see on screen?
@MichaIng I just ran shutdown -h now and I saw one output that said failure, then something about unable to unmount but the screen went black too quick