Using Minibian with the Raspberry Pi Zero

Having logged into the Raspberry Pi zero with username root and password raspberry I was ready for the next step.

Running the command df -h returned the following:

Filesystem      Size  Used Avail Use% Mounted on
/dev/root       705M  431M  224M  66% /
devtmpfs        237M     0  237M   0% /dev
tmpfs           242M     0  242M   0% /dev/shm
tmpfs           242M  8.3M  233M   4% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           242M     0  242M   0% /sys/fs/cgroup
/dev/mmcblk0p1   61M   20M   42M  32% /boot

I know I'm using a 16GB micro SD card and it's not showing up in the available storage space. Therefore I need to run the raspi-config command which of course isn't installed by default because this is Minibian which is a minimal distro.

Resizing the SD

type fdisk /dev/mmcblk0

Observed the following:

Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy

The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

Now to reboot the device.

Discovered I can no longer SSH into the Raspberry Pi Zero which is why I have decided not to continue with using Minibian, and will use Raspbian-lite instead.

04-01-2016 15:35