Raspberry Pi 4 Boot From USB SSD

Up til now, to boot a raspberry pi from SSD, you had to still boot from the slow SD card, with a small hack in the /boot directory. Now there are instructions to boot directly from the SSD. 

Doing this today to my RPi 4 / 4G with 500Mb SSD for my assistant (eventually talking glowing skull

Source: Raspberry Pi 4 Boot From USB – tynick.com | AWS, Linux, Raspberry Pi, and Home Automation

My configuration is a little bit different from his, I have Seeed’s X825 and X735 power management and SATA / USB drive adapter, all stuffed into a case. The tricky part of this was that to mount the hard drive on another system to flash it, you have to take it all apart to get the drive. The directions are not completely explicit, so I’ll spell it out:

If you have to take the whole thing apart, flash the SD and the SSD at the same time, put it all back together except for the part where you connect the USB ports between the drive and the Pi, Flash the EEprom as directed so it’ll change the boot order to SD > SSD . 

So when you boot from the SD card, it’s painfully slow if yo;u’ve gotten used to running your Pi from a normal recycled  laptop hard drive or even better a SSD. 

 

When you do the rpi-update command you get this scary-ish message:

pi@raspberrypi:~ $ sudo rpi-update 
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** We're running for the first time
*** Backing up files (this will take a few minutes)
*** Backing up firmware
*** Backing up modules 4.19.97-v7l+
#############################################################
WARNING: This update bumps to rpi-5.4.y linux tree
See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=269769

'rpi-update' should only be used if there is a specific
reason to do so - for example, a request by a Raspberry Pi
engineer or if you want to help the testing effort
and are comfortable with restoring if there are regressions.

DO NOT use 'rpi-update' as part of a regular update process.

########################################################
Would you like to proceed? (y/N)
*** Downloading specific firmware revision (this will take a few minutes)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 168 100 168 0 0 1024 0 --:--:-- --:--:-- --:--:-- 1030
100 115M 100 115M 0 0 419k 0 0:04:41 0:04:41 --:--:-- 607k
*** Updating firmware
*** Updating kernel modules


this follows with a long ish download and update

What it takes…

I’ve been trying to get a new job but it’s been a little daunting. Today I am starting something new. After watching a video that basically says you just need to have *something* out there that people can see, maybe with some videos talking about your process.

So today I deployed my first “hello world” type app to AWS just using the demo code. I have two projects I’m thinking of making for this:
1. Backgammon – I partially built a backgammon game in Javascript that was going to use a PHP backend.  https://github.com/rcanzlovar/backg

2. MyCalNotify – a simple webapp I wrote that accesses google calendar info in interesting ways and can also add events to the calendar. Currently in development with provisional approval from Google.

So yeah, I’ll be posting progress here.

https://github.com/rcanzlovar/myamplifyapp/

booking

Test of booking

[bookly-form]

whasup

500 words

i need 500 words a day about.. something.

i have many stubs of essays that pop through my mind from time to time. i used to like to journal, especially back in the day when I did it by hand. Doing it by keyboard has always been a little tricky, especially with regard to keeping track of it later.

I’ve been looking at the data that you can get Facebook to give you “your data” in the form of either a bunch of HTML files and jpgs or a bunch of JSON data along with pictures. The reason is that Soltahr wants to have a book based on her writings around the year, and it occurred to me that if i took all that she wrote on January 1 of all years and clumped it together, and then all she ever wrote on January 2, etc. It could be a half decent bad first draft of such a book.

so I have a book too. not sure what it’s aboout but recently i had the idea that something centered on my obsession with lines and state transtions. Other kinds of pedantry.

My apps before resetting my phone

Buckminster on design

https://www.bfi.org/dymaxion-forum/2018/09/what-i-learned-about-experience-design-buckminster-fuller

57 Raspberry Pi commands that everyone should know

https://raspberrytips.com/raspberry-pi-commands/

16 Things to Know If You Love an Over-Thinker | I Heart Intelligence.com

https://iheartintelligence.com/things-to-know-love-over-thinker/

Ethereum Denver: State of the Community

Ethereum Denver: State of the Community
byu/seven7hwave inethereum

Return top

Geek

I've seen things. Now I'm gonna write about them.