iFly GPS Forum

We have a new Forum!  Go here to get started: https://adventurepilot.community.forum.  
The new forum is easier to use and much more capable than the old, we hope you will join our community! 

Below is a copy of the old forum. This will remain available for a short period so you can access and review the information contained here. To continue a conversation, or start a new one, please register and create a post at our new forum location.
HomeHomeDiscussionsDiscussionsADS-B Discussio...ADS-B Discussio...Stratux partion helpStratux partion help
Previous
 
Next
New Post
4/9/2018 12:14 PM
 

We're running the AHRS beta of Stratux and occasionally the SD card locks up requiring a reformat and reload of the OS.  I've swapped SD cards in the past after reading about some issues with SD card failures so I hope that has been ruled out. 

There was a discussion last May in which Jeff Clark referred to increasing the partition size to deal with saving log files, but I haven't been able to figure out how to do that.  I have logging set to off in the Stratux GUI, but wonder if the beta version still logs some data for debugging by the developers.

Can anyone point me in the right direction?

Mark

Jeff Clark wrote:

If you're going to use logging, be sure to expand the partition size on the SD card else it runs out of room fast.  When I accidently left logging on and it filled the card, the only indication was that UAT dropped out occasionally and a reboot was required to get it back.  By then it was just a rinse, repeat loop.  Regardless of what size card you use, the flashed image stays the same size on the disk (2+G?) and does not use the rest of the disk until you manually expand the partition size.

 
New Post
4/9/2018 12:48 PM
 

SSH is enabled on the Stratux image by default, so if you're familiar with ssh you can log into the Pi with user pi password raspberry.  Then type sudo raspi-config and select the option to expand the card.  (It may have been moved to the "Advanced" option).

Another alternative is to connect an HDMI monitor (tv) to the HDMI port on the Pi, connect a keyboard and mouse to the USB port(s), and power up the Pi.  On the screen you see a bunch of stuff scroll up the screen as it boots up, and eventually you'll be at a prompt.  Log in with user pi password raspberry.  Then type sudo raspi-config and select option (one?) and you're done!  Exit/reboot and the partition will be expanded.  I suggest using an 8G card, as the original image nearly consumes a 2G card already, so expanding it doesn't buy you much additional space.  If expanding the card renders it useless, it was a counterfeit card and you can get a genuine one at WalMartWalMart.  I use the SanDisk brand.

  From https://elinux.org/RPi_raspi-config :

Using raspi-config

It has the following entries (this is the layout from raspi-config version 20160108, January 2016). It may be different on other Raspbian images:

     Raspberry Pi Software Configuration Tool (raspi-config)

1 Expand Filesystem             Ensures that all of the SD card storage is av...
2 Change User Password          Change password for the default user (pi)
3 Boot Options                  Choose whether to boot into a desktop environ...
4 Wait for Network at Boot      Choose whether to wait for network connection...
5 Internationalisation Options  Set up language and regional settings to matc...
6 Enable Camera                 Enable this Pi to work with the Raspberry Pi ...
7 Add to Rastrack               Add this Pi to the online Raspberry Pi Map (R...
8 Overclock                     Configure overclocking for your Pi
9 Advanced Options              Configure advanced settings
0 About raspi-config            Information about this configuration tool

                 <Select>                   <Finish>

 

 

 


Jeff Nokomis Clark, Mooney M20G, iFly app on ASUS ZenPad Z8s, ASUS ZenFone AR, ASUS Windows 10 tablet, Stratux ADS-B w AHRS
 
New Post
4/9/2018 6:24 PM
 

Thanks Jeff for the info.  We're flying cross country the next few days (can you believe the weather - no rain for three whole days!) so I'll work on this once we're back on the ground.

 
Previous
 
Next
HomeHomeDiscussionsDiscussionsADS-B Discussio...ADS-B Discussio...Stratux partion helpStratux partion help