-
Notifications
You must be signed in to change notification settings - Fork 45
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
Implement booting from USB storage #5
Comments
Important info from Raspberry Pi Forum:
So if booting from MSD, the installer should create this file and stay away from other OTP bits than |
Functionality is given with 305196c. This should be working as soon as the firmware package is updated by package maintainers. Documentation is not completed yet. |
Is there any documentation on how to do this? |
You have to replace the |
Ordered a PiDrive and will test this. Also, support for raspberrypi-ua-netinst in https://github.com/maxnet/berryboot would be nice. It uses a Qt front-end, maybe I can hack it a little. This page also mentions a 4GB swap can be created and used as RAM which sounds awesome. |
You know, that you can use a simple USB flash drive, too? |
True, but they're much slower and more expensive (this disk was 30 euros for 250GB). Benchmarks here: http://www.legitreviews.com/wd-labs-pidrive-314gb-hard-drive-review_180301/4 |
👍 |
@FooDeas has it been updated, where to check? I just flashed my PiDrive with a raspberrypi-ua-netinst build but it's not booting without an SD-card.. |
It's still in beta. I'm testing if it is moved to stable from time to time. |
Alright, too bad. |
So according to this page the following steps are required:
Which I'll test now. |
Rebooted and checked the output of OTP but this didn't return the expected result (
So I did the recommended branch update instead:
And rebooted but still same result. Maybe it's because I'm using a RPi2 (the tutorial says it's for RPi3)? Tried it on a RPi3 (with master branch, not next) and gives the same According to this post: "however, I didn’t receive the correct output as stated (0x3020000a) but I decided to continue rather than investigate and as it turned out it made no difference to the outcome". So I'm moving to the next step. |
The first byte ( The Now |
completed the tutorial and my machine isn't booting from USB; most likely because of this otp_dump issue. Maybe I should hold off until it's officially supported.. |
It definitely works! Have you get the OTP setup working with my comment from above now? It's a strong requirement - and works with RPi 3 only! |
I meant this tutorial, I haven't used raspberrypi-ua-netinst for this yet; first I'd like to get it working without but this OTP returns the wrong nr. Will try with a raspberrypi 3 vs rpi2 |
Forget the RPi 2 - it only works with RPi 3:
(Source from post 1 above.) |
ah thanks, hopeful. |
What I wrote here has to work definitely! I'm confident that you'll get it working, too. (Stupid "Close and comment" button...) |
Alright this is better (on RPi 3):
And booting now works! Feels like it's running a lot slower though.. |
So raspberrypi-ua-netinst basically needs to:
The final step, preparing the USB device is more of a documentation thing I imagine. Thoughts? |
Everything else is already working! But I paused this topic because the main problem above - so at the moment the branch is a bit outdated (but should be mergable easily). |
I suppose this is something I can live with; I simply cannot update (the kernel using apt-get)? Until the |
And what about these instructions: raspberrypi-ua-netinst does most of that right? Create the boot and root file systems:
Mount the target file system and copy the running raspbian system to it:
|
Post 1: You can update, but you can't be sure that a reboot will work if the files got replaced. |
Starting with the 2017-04-10 release of Raspbian there finally is some progress here! (see raspberrypi/firmware@e44f66a) |
Awesome, will do! |
Results? |
Testing now with:
|
And it looks like it worked out of the box using a PiDrive. Nice work!
|
This
This
This notice should be in the documentation as well (if it's not already). And there's a typo: 'the system will be POWERED OFF after installation.' And later:
None of these lines have an |
The installer should implement the new feature to install and boot from USB storage as described here: PI 3 BOOTING PART I: USB MASS STORAGE BOOT BETA
The text was updated successfully, but these errors were encountered: