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
Boot from USB Raspberry pi Menu Option #3752
Comments
Hi, many thanks for your question. There isn't such an option available via DietPi options. There are different ways described by Raspberry Foundation depending on your devices. https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md |
The easiest way is to flash the image to the USB drive directly, on RPi3+ and RPi4 this works OOTB. All ways to move the boot partition afterwards are not that save, best is dd cloning the SD card from an external system. On RPi3 non-plus as described on the RPi docs, this OTP bit needs to be set to allow USB boot. This can be done via |
Has dietpi been updated so that stable will update when running the
update?
Ive tried following https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711_bootloader_config.md#usbmassstorageboot
but it never updates.
root@DietPi:~# sudo rpi-eeprom-update -d -f /lib/firmware/raspberrypi/bootloader /stable/pieeprom-2020-06-15.bin
/usr/bin/rpi-eeprom-update: 271: /usr/bin/rpi-eeprom-update: hexdump: not found
```
root@DietPi:/usr/bin# sudo apt update
Hit:1 https://downloads.plex.tv/repo/deb public InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:3 https://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:4 https://archive.raspberrypi.org/debian buster/main armhf Packages [331 kB]
Fetched 378 kB in 2s (163 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@DietPi:/usr/bin# sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
rpi-eeprom rpi-eeprom-images
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 359 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://archive.raspberrypi.org/debian buster/main armhf rpi-eeprom all 7.12-1 [353 kB]
Get:2 https://archive.raspberrypi.org/debian buster/main armhf rpi-eeprom-images all 7.12-1 [6372 B]
Fetched 359 kB in 1s (316 kB/s)
(Reading database ... 55885 files and directories currently installed.)
Preparing to unpack .../rpi-eeprom_7.12-1_all.deb ...
Unpacking rpi-eeprom (7.12-1) over (7.11-1) ...
Preparing to unpack .../rpi-eeprom-images_7.12-1_all.deb ...
Unpacking rpi-eeprom-images (7.12-1) over (7.11-1) ...
Setting up rpi-eeprom (7.12-1) ...
Job for rpi-eeprom-update.service failed because the control process exited with error code.
See "systemctl status rpi-eeprom-update.service" and "journalctl -xe" for details.
Setting up rpi-eeprom-images (7.12-1) ...
root@DietPi:/usr/bin#
…On Wed, Sep 2, 2020, 6:08 AM Joulinar ***@***.***> wrote:
Hi,
many thanks for your question. There isn't such an option available via
DietPi options. There are different ways described by Raspberry Foundation
depending on your devices.
https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3752 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACHXEP43CTIP5UWMLZV4AITSDYKRTANCNFSM4QSR7H6A>
.
|
|
|
@davidjmorin |
raspberry pi4 4gb |
|
hmm on my RPi4B 4GB it's working fine
Question: Are you using 32bit or 64bit image? |
[EDIT] 32-bit |
|
I have installed version
But it's offered as update.
Maybe some bug on latest version of |
Odd mine is different |
Looks like 7.12 is buggy one? |
Very possible. Gonna squash this attempt for now. Hopefully this gets fixed soon. |
I should prolly not update the eeprom so often, this is what you get :[ |
Unfortunately something we can't influence from DietPi side. 😢 |
found this issue. But not sure if this exactly same or similar raspberrypi/rpi-eeprom#211 |
Do you guys actually have the hexdump command?
|
@MichaIng
🤔 At least on my test it was working. But you are the expert 😄
|
Bug reported: raspberrypi/rpi-eeprom#215 |
@MichaIng we are on 32bit not 64bit. As far as I can see you linked following. Does it makes a difference
|
It's the same for armhf and all other architectures and the same for Raspbian as well, but Raspbian doesn't have such a nice online portal to view package details 😉. From Bullseye on, the command has been moved into the But just to be sure there is not second issue, installing the package solves it, right? |
as I don't want to play that much on my RPi4 (prod), I was testing it on my RPi3B+. And yes it seems to be fixed by installing
|
Although on RPi3 there is no EEPROM, this RPi4 only 😉. |
I know 😉 but I could have it installed anyway. Just to play around with this. |
Yes, also I cannot see an explicit exit path for non-RPi4 models, I guess some of the EEPROM firmware version checks will give an empty output to make the script exit gracefully without applying something. |
correct, it's running but don't do anything on the RPi3B+ |
I just opened a PR to add the dependency: raspberrypi/rpi-eeprom#216 |
ok
|
Great, thanks to the RPi devs for the quick release. Also the final solution was IMO the best possible, moving to a command that is part of essential |
Would love to see this option in the config menu. I updated today and no joy.
Does dietpi have a step by step on how to do this with current Version?
I have looked all around and only found ones for raspberry os.
The text was updated successfully, but these errors were encountered: