Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

LINX installer can draw the wrong conclusion about Linux partition sizes

I just used LabVIEW 2020 + the NI LINX Toolkit to set up my Raspberry Pi 4 Model B

 

I selected Tools > MakerHub > LINX > LINX Target Configuration..., logged in, and then ran Installation. This dialog appeared:

 

linx-installation-partition-warning.png

 

It says, "The target's Linux partition is only using 0 GB of the available 15 GB. It is recommended that you expand the Linux partition before continuing to install LabVIEW."

 

However, my main Linux partition is plenty big. I had used NOOBS to install Raspbian Full, and it made full use of all available space on my SD card. This is what fdisk -l shows:

 

Device         Boot   Start      End  Sectors  Size Id Type
/dev/mmcblk0p1         8192  4990234  4982043  2.4G  e W95 FAT16 (LBA)
/dev/mmcblk0p2      4990235 31116287 26126053 12.5G  5 Extended
/dev/mmcblk0p5      4997120  5062653    65534   32M 83 Linux
/dev/mmcblk0p6      5062656  5586941   524286  256M  c W95 FAT32 (LBA)
/dev/mmcblk0p7      5586944 31116287 25529344 12.2G 83 Linux

 

I'm guessing that LINX assumed that the 32 MB partition is the main system partition, when it's actually the 12.2 GB one. This issue has been affecting devices initialized by NOOBS for years: https://www.labviewmakerhub.com/forums/viewtopic.php?f=12&t=1436

 

Anyway, I ignored the dialog and clicked "Continue". The rest of the setup proceeded just fine and I can now use LabVIEW to connect to my Raspberry Pi.

 

Summary

The LINX installer has 2 issues:

  1. It shouldn't assume that the first Linux partition is one to be used.
  2. It shouldn't ask the user to expand the partition when there is no room for expansion.
Certified LabVIEW Developer
0 Kudos
Message 1 of 1
(2,064 Views)