×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

RPi4 now has booting from SSD (beta)

2 months 2 weeks ago
Avocette
Expert Boarder
Expert Boarder
Posts: 142
More
Topic Author
RPi4 now has booting from SSD (beta) #54317
It seems that the RPi foundation has issued a beta version of the USB bootloader (which does not require a microSD card in addition). I presume I could install Astroberry onto my USB SSD after setting the SSD up as the (only) boot device. But is there a way of using the Astroberry 2.0.1 image file directly?

Currently running KStars/Ekos/Indi on a Raspberry Pi 4B 2GByte under Raspbian thanks to Astroberry
Sky-Watcher ED80 Pro with 0.85x FR/Corrector with Canon DSLR on AZ-EQ5 GT mount
Other Sky-Watcher scopes - SkyMax 150 Pro Maksutov Cassegrain and Explorer 150p Newtonian

Please Log in or Create an account to join the conversation.

2 months 2 weeks ago
El Corazon
Platinum Boarder
Platinum Boarder
Posts: 804
Karma: 3
More
RPi4 now has booting from SSD (beta) #54327
Saw that yesterday as well. Have not tried it yet. It involves flashing the firmware on the Pi4, I believe. Will try out soon and report back.

www.raspberrypi.org/documentation/hardwa...errypi/booteeprom.md

Atlas Pro AZ-EQ, ASI1600MM-Pro, ASI120MM-S, ES102ED, WO-Z61, Nikon D3300, ASI-EFW, ZWO LRGB,Ha,O3,S2 filter set
The following user(s) said Thank You Avocette

Please Log in or Create an account to join the conversation.

2 months 2 weeks ago
Avocette
Expert Boarder
Expert Boarder
Posts: 142
More
Topic Author
RPi4 now has booting from SSD (beta) #54435
Progress !
So I now have Astroberry 2.0.1 running on my RPi4 directly from a Sandisk Extreme SSD. I followed a couple of videos on Youtube (
and
). Once I had Raspbian Buster running from the SSD with no microSD card, then using Balena Etcher, I burned the Astroberry 2.0.1 image to my SSD. I copied into the boot partition the 14 .elf and .dat files which are on the GitHub repository (as described in the second YouTube video, and as I had already found successful with the plain Raspbian) . So Astroberry now boots at lightening speed from the SSD. Only one small problem yet to solve - I need to expand the file system to occupy the whole of the SSD. At present I have access only to around 8GB of the much larger SSD. I tried using raspi-config Menu item 7 Advanced Options Menu item A1 Expand Filesystem but get the message "sda2 is not an SD card. Don't know how to expand".
I guess I need to seek some help from the experts on the RPi forum!

Currently running KStars/Ekos/Indi on a Raspberry Pi 4B 2GByte under Raspbian thanks to Astroberry
Sky-Watcher ED80 Pro with 0.85x FR/Corrector with Canon DSLR on AZ-EQ5 GT mount
Other Sky-Watcher scopes - SkyMax 150 Pro Maksutov Cassegrain and Explorer 150p Newtonian

Please Log in or Create an account to join the conversation.

2 months 2 weeks ago
AstroNerd
Moderator
Moderator
Posts: 831
Karma: 1
More
RPi4 now has booting from SSD (beta) #54437

Avocette wrote: Progress !
So I now have Astroberry 2.0.1 running on my RPi4 directly from a Sandisk Extreme SSD. I followed a couple of videos on Youtube (

and
). Once I had Raspbian Buster running from the SSD with no microSD card, then using Balena Etcher, I burned the Astroberry 2.0.1 image to my SSD. I copied into the boot partition the 14 .elf and .dat files which are on the GitHub repository (as described in the second YouTube video, and as I had already found successful with the plain Raspbian) . So Astroberry now boots at lightening speed from the SSD. Only one small problem yet to solve - I need to expand the file system to occupy the whole of the SSD. At present I have access only to around 8GB of the much larger SSD. I tried using raspi-config Menu item 7 Advanced Options Menu item A1 Expand Filesystem but get the message "sda2 is not an SD card. Don't know how to expand".
I guess I need to seek some help from the experts on the RPi forum!



This may help...there are instructions in here about expanding the drive space...

www.stewright.me/2019/10/run-raspbian-fr...on-a-raspberry-pi-4/

Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85 & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on both scopes
The following user(s) said Thank You Avocette

Please Log in or Create an account to join the conversation.

2 months 2 weeks ago
Avocette
Expert Boarder
Expert Boarder
Posts: 142
More
Topic Author
RPi4 now has booting from SSD (beta) #54441

AstroNerd wrote:
This may help...there are instructions in here about expanding the drive space...

www.stewright.me/2019/10/run-raspbian-fr...on-a-raspberry-pi-4/

Perfect! Many thanks

Currently running KStars/Ekos/Indi on a Raspberry Pi 4B 2GByte under Raspbian thanks to Astroberry
Sky-Watcher ED80 Pro with 0.85x FR/Corrector with Canon DSLR on AZ-EQ5 GT mount
Other Sky-Watcher scopes - SkyMax 150 Pro Maksutov Cassegrain and Explorer 150p Newtonian

Please Log in or Create an account to join the conversation.

2 months 2 weeks ago
jnowat
Senior Boarder
Senior Boarder
Posts: 54
Karma: 1
More
RPi4 now has booting from SSD (beta) #54658
This new beta applies all the same to a USB3 thumb drive, yeah?

Losmandy G11, Gemini II, 10" f/3.8 Newt (Ostahowski Optics),
TV Paracorr-2, 2" Starlight FT, HSM20, Pegasus UPBv2,
ASI1600MM Pro, ASI174MM Mini, ZWO LRGB, EFW, & OAG,
StellarMate on RPi3 and/or Astroberry on RPi4
KStars 3.4.1 Build 2020-02-24T07:38:50Z on Win10 (updated 20200506)
Indi ver....

Please Log in or Create an account to join the conversation.

2 months 2 weeks ago
Avocette
Expert Boarder
Expert Boarder
Posts: 142
More
Topic Author
RPi4 now has booting from SSD (beta) #54662

jnowat wrote: This new beta applies all the same to a USB3 thumb drive, yeah?

Yes - you can boot directly from ‘any’ USB storage device. My Astroberry implementation now resides on a Sandisk Extreme SSD which is super fast. I have also tried out a 1TB 2.5” hard drive in an IcyBox USB3 carrier. It works pretty well although RPi agnostics tests gives an overall FAIL due to random read /write speed being a little below the test threshold score.

Currently running KStars/Ekos/Indi on a Raspberry Pi 4B 2GByte under Raspbian thanks to Astroberry
Sky-Watcher ED80 Pro with 0.85x FR/Corrector with Canon DSLR on AZ-EQ5 GT mount
Other Sky-Watcher scopes - SkyMax 150 Pro Maksutov Cassegrain and Explorer 150p Newtonian

Please Log in or Create an account to join the conversation.

2 months 1 week ago
CapnRon
Gold Boarder
Gold Boarder
Posts: 184
More
RPi4 now has booting from SSD (beta) #54685
I have a 128G Sandisk Extreme USB 3.1 flashdrive, will it expand to all that memory or is there a limit?

thanks,
Ron

Please Log in or Create an account to join the conversation.

2 months 1 week ago
dmsummers
Gold Boarder
Gold Boarder
Posts: 219
Karma: 2
More
RPi4 now has booting from SSD (beta) #54698
yes...you can resize to capture the full disk.

RASA11, Celestron CGX-L, ASI183mc Pro, 60mm guider + ASI290mm mini, ASI EAF focuser, PPB, Rpi4-4Gb+SSD, Powered USB3 hub, hardwire Ethernet.

Please Log in or Create an account to join the conversation.

2 months 1 week ago
CapnRon
Gold Boarder
Gold Boarder
Posts: 184
More
RPi4 now has booting from SSD (beta) #54704
Ok, great to know. Now the next question; is that really a smart thing to do!? I bought the extreme for the purpose of downloading images from the camera to it rather than the SD card. I have it plugged into a Ankor USB 3.0 powered hub along with most of the equipment and I have had no issues with that arrangement. Other than I have to run a symlink command to link that drive to a 'nice' name in the system. I tried adding a command to the 'fstab' file (and the rules file), but the system hung; I think because it tried booting before that drive was recognized (mounted). Anyway that is not a big deal. I guess I am worried about mixing operating system and data on the same 'big' drive (not that we don't do that all the time, but if it goes for some reason you loose both!) There is a second USB 3.0 port on the Rpi 4, would it make more sense to use that with a smaller flash drive for the Astroberry Server System and keep the large one just for data (it makes it easy to transfer images to my PC where I process the data)?

And now the real question is if I do have a flash drive as the boot device can I also use some of that memory for a 'swap' file?
thanks,
Ron

Please Log in or Create an account to join the conversation.

1 day 18 hours ago
Kaczorek
Moderator
Moderator
Posts: 931
Karma: 6
More
RPi4 now has booting from SSD (beta) #57964
My experience is that SD card is less reliable that SSD drive, when used as a main system drive. So I believe running from SSD is not only faster but also more reliable.
This also applies to swap partition. You can set a dedicated partition and use it as swap. You would need to add it to /etc/fstab so system uses it at boot time.

--
Radek Kaczorek
Astroberry Server | NEQ6 | Atik 460EX | Atik EFW2 | ASI 120MM

Please Log in or Create an account to join the conversation.

Moderators: Kaczorek
Time to create page: 0.437 seconds