Not enaough space following instructions at https://beagleboard.org/upgrade

53 views
Skip to first unread message

aerob...@gmail.com

unread,
Nov 16, 2020, 6:44:26 PM11/16/20
to BeagleBoard
I just got a new BeagleBone Black wireless.
I'm not (yet) using an external SSD card.
After connecting the WiFi interface, I carefully followed the instructions at https://beagleboard.org/upgrade

In section "Update distribution components", when executing

sudo apt upgrade

I get

[...]
The following packages will be upgraded:
[... 24 lines of package names ...]
179 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 376 MB of archives.
After this operation, 158 MB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.


Indeed, there's little space remaining in the internal eMMC:

debian@beaglebone:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            216M     0  216M   0% /dev
tmpfs            49M  5.4M   44M  12% /run
/dev/mmcblk1p1  3.4G  3.0G  268M  92% /
tmpfs           243M     0  243M   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           243M     0  243M   0% /sys/fs/cgroup
tmpfs            49M     0   49M   0% /run/user/1000

So, following the advice in https://beagleboard.org/upgrade: "This documentation is very new and your feedback is requested", here's my feedback.

Is there any way to make some additional room in the eMMC filesystem?

Thank you.

Ivan Riol

unread,
Nov 16, 2020, 8:32:44 PM11/16/20
to BeagleBoard
I think the emmc is only 4GB..... So you either use bigger SD card or you can flash emmc with a 2GB image

set_

unread,
Nov 18, 2020, 7:49:45 PM11/18/20
to BeagleBoard
Hello,

in /opt/scripts/tools/, make sure you have wifi enabled via connmanctl or whatever way you get wifi working, use the command "git pull" and then the script to run is grow_partition.sh.

sudo ./grow_partition.sh should do it. But like the other fellow stated, use the SD Card w/ more space or use a smaller image.

Seth

Reply all
Reply to author
Forward
0 new messages