Octopi-stretch-lite-0.15.1 16gb Sd Card

Hi all,
Please can someone help, i have a 16gb sd card and when i install octopi-stretch-lite-0.15.1 with Etcher it only uses 24mb of the card,how do i get it to use the full card??
please can someone help.

Hi @John_Davis!

You may login via SSH and use sudo raspi-config
Advanced Options -> Expand Filesystem
More info you can find here. Advanced Options -> Expand Filesystem

But how you come to just 24 MB used of the SD card?
OctoPi.zip (0.15.1) alone is 567 MB.

2 Likes

If it was installed properly per the instructions, then there should be two partitions on that microSD. If you insert it into either a Windows/OSX computer though, you'll only see the first tiny boot partition but not the other ext4-formatted one.

Expand Filesystem as suggested will expand that second partition but you still won't be able to see it unless you're running Raspbian or you've mounted that into a Linux box of some kind.

Remote into the Raspberry Pi and run df -h to see what's what.

pi@octopi:~ $ df -h

Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.1G  3.0G  3.8G  44% /
devtmpfs        434M     0  434M   0% /dev
tmpfs           438M     0  438M   0% /dev/shm
tmpfs           438M  6.2M  432M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           438M     0  438M   0% /sys/fs/cgroup
/dev/mmcblk0p1   42M   22M   20M  54% /boot
tmpfs            88M  8.0K   88M   1% /run/user/1000

In my case, I'm staring at 7.1GB on an 8GB microSD. Notice how the /boot paritition then is that mysterious 42MB partition.

3 Likes

@Ewald_Ikemann It's no longer necessary to manually expand the filesystem, octopi has a script that does it for you on the first boot.

3 Likes

@PythonAteMyPerl - that's quite noice! :+1: