Tipps: Pi4 boot from SSD

Just some tips for people trying to get Pi4 booting directly from SSD.
I am using here the newest image file v1.6-alpha dated on 30July2020.

Generally You can follow these updated instructions
https://www.tomshardware.com/how-to/boot-raspberry-pi-4-usb

Now important:
The *.elf and *.dat files provided by the Openhabian v1.6-alpha image are too old, and your Pi4 won´t boot with these files. I think these are dated on 17May2020 and won´t work!

Solution is simple just replace these 16 *.elf and *.dat files on your boot partition with the file versions from 25May2020. I just extracted the files from an raspian OS file dating on 25May2020 (e.g. github)

The only trouble I was facing not all USB3 adapters will work here!
The first adapter I tried wasn´t working now I just bought a very cheap startech USB3 adapter
and it works with my Kingston 960GB/SSD perfectly without extra power supply.

This is what I was searching for:-)

One wish, can we please update these elf/dat files for the provided openhabian image file?

I tested the beta 64bit openhabian image file a few days ago. I did not have to update the .dat and .elf files.
My Rpi4 4GB Ram just boote without.
I dont know if this has changed since though.

OK I used the 32bit version cause I thought I remember somebody said we will have trouble using the 64bit version together with openhab.
So maybe the 64bit version does use the newer file versions, can you check the date?
And does the raspian 64bit version works now with openhab?

All files dated: 27.05.2020

I assume the 64bit image include the raspian 64bit… So I would say yes.

1 Like

@mstormi can verify

No, we don’t support USB boot and have no plans to do so for the time being because there is no benefit in doing so.
And everything we provide to the community is based on proven, reviewed code and has passed a reasonable amount of quality control before we release it (unless stated otherwise).
So even if that was something we consider to be valuable, we for sure won’t provide any image on a ‘hacky’ basis like that.

Nope. That you need to do yourself.

@Bruce_Osborne stop pinging me please.

2 Likes

Might be you can decide, but nevertheless I completely disagree in what you are stating.

it also doesn´t explain why these “important” files
are dated 27 of May in the 64bit image and
are dated 17 of May in the 32bit image

and we all know that the files dated on 25th of May (I assume these are the files used
by the 64bit image) makes the thing working.

Sorry to say but I also don´t agree that the openhab image shouldn´t offer a bit more functionality
and adds a huge benefit to the community when being able to boot from SSD.

But maybe this is too “hacky”, right?

It’s news to me that we have to justify or explain ourselves to users why a certain functionality we never promised isn’t available, even more so in an alpha(!) version explicitly tagged to be a ‘pre-release’.
But yes it does explain it: as USB boot is not a development target, noone looked after it, tested anything about it or cares about in any other way.
So the image contains whatever the upstream source (Raspi OS, that is) contained at the time of build, nothing less or more. Maybe you’re lucky next (build) time.

To be frank: this is only your personal opinion at best and clearly no majority pov or that of openHABian maintainers.
And the code is on Github and everyone including yourself is free to implement whatever new functionality and to contribute it back to the community, so feel free.
But unless you have been contributing yourself substantially, that’s pretty thick to claim and demand. You mustn’t be trying to tell openHABian devs (or volunteers in general) what and how they should be handling things or what they should be prioritizing in terms of their work.

1 Like

Why beeing so rude/rude ? The same thing can be explained without being rude .Just do little introspection and I wont’t have to explain you why you look rude .

I’ll stop that here .

3 Likes

I am not sure who you are referring to.

If it is mstormi feel free to use somebody else’s software. We will even refund the price you paid for OpenHABian. Marcus develops this on a volunteer basis and owes us nothing.

Me neither. @summerguy please clarify. And those who liked your post, what was your understanding who it refers to ?

1 Like

I assumed they may have been referring to you but they did not directly reply to your post.

Update:
Even when using the latest 1.5 version from openhabian for the PI, you can apply the same thing I described above, and change as the last step the *.elf and *.dat files to the version from 25th of May2020 and your PI will boot completely from SSD (or USB).
Just booting from it :slight_smile:

1 Like