×

INDI Library v1.9.9 Released (30 Nov 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

RPi4 now has booting from SSD (beta)

  • Posts: 237
  • Thank you received: 25
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 two Raspberry Pi 4Bs 4GByte under Raspberry Pi OS thanks to Astroberry
Two mounts, two Fracs, a Newt and a Mak and a couple of OSC cameras.
2 years 8 months ago #54317

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

  • Posts: 1118
  • Thank you received: 182
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
2 years 8 months ago #54327

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

  • Posts: 237
  • Thank you received: 25
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 two Raspberry Pi 4Bs 4GByte under Raspberry Pi OS thanks to Astroberry
Two mounts, two Fracs, a Newt and a Mak and a couple of OSC cameras.
2 years 8 months ago #54435

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

  • Posts: 1067
  • Thank you received: 137


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, FS60cb & 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 all scopes
The following user(s) said Thank You: Avocette
2 years 8 months ago #54437

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

  • Posts: 237
  • Thank you received: 25
Perfect! Many thanks
Currently running KStars/Ekos/Indi on two Raspberry Pi 4Bs 4GByte under Raspberry Pi OS thanks to Astroberry
Two mounts, two Fracs, a Newt and a Mak and a couple of OSC cameras.
2 years 8 months ago #54441

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

  • Posts: 61
  • Thank you received: 12
This new beta applies all the same to a USB3 thumb drive, yeah?
Losmandy Gemini II, 250mm custom newt @ f/3.8, Parracorr,
ZWO OAG, ASI174MM Mini, Astrodon LRGBHa, ASI EFWx8,
[Rokinon 85mm f/1.4 AF, AstromechFoc, ASI EFWx5, ASI1600MM Pro (Piggy back)]
Astroberry latest on RPi4 && KStars 3.6.2 Build 2022-12-04T03:35:06Z on Win10
2 years 8 months ago #54658

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

  • Posts: 237
  • Thank you received: 25
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 two Raspberry Pi 4Bs 4GByte under Raspberry Pi OS thanks to Astroberry
Two mounts, two Fracs, a Newt and a Mak and a couple of OSC cameras.
2 years 8 months ago #54662

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

  • Posts: 318
  • Thank you received: 13
I have a 128G Sandisk Extreme USB 3.1 flashdrive, will it expand to all that memory or is there a limit?

thanks,
Ron
2 years 8 months ago #54685

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

  • Posts: 391
  • Thank you received: 116
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.
2 years 8 months ago #54698

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

  • Posts: 318
  • Thank you received: 13
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
2 years 8 months ago #54704

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

  • Posts: 983
  • Thank you received: 375
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 | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
2 years 5 months ago #57964

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

  • Posts: 1
  • Thank you received: 0
The amount of memory is not that important if you're not going to save large fails at it, speed is more important. If you will need to save files at some points, you could just use an external HDD, and it will be okay. Just try to not mess up anything, and there should not be any problems. Even if something happens, don't panic because the files can be recovered. You can always contact DATA RECOVERY SERVICES , they know how to recover all the lost or deletes files from your computer.
Last edit: 9 months 1 week ago by inmatez.
9 months 2 weeks ago #82397

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

Moderators: Radek Kaczorek
Time to create page: 0.812 seconds