# Issues with Raspberry Pi 0 WiFi Raspbian

**URL:** https://hub.mender.io/t/issues-with-raspberry-pi-0-wifi-raspbian/2619
**Category:** General Discussions
**Created:** [September 17, 2020, 10:46am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-0-wifi-raspbian/2619 "2020-09-17T10:46:52Z")
**Posts on this page:** 8
**Page:** 2

<div class="post-metadata">

### Author: ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)
#### Post date: [September 30, 2020, 4:53pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-0-wifi-raspbian/2619/21 "2020-09-30T16:53:18Z")

</div>

I think using ${PWD} will fail because mender-convert normally runs in a container and the working directory has a different path inside the container.

---

<div class="post-metadata">

### Author: ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)
#### Post date: [September 30, 2020, 4:57pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-0-wifi-raspbian/2619/22 "2020-09-30T16:57:04Z")

</div>

The free space is determined by the value of MENDER\_STORAGE\_TOTAL\_SIZE\_MB that is in your configuration file. You can increase that and you should see more space. We set the default low for quicker demo purposes.

You should probably setup a [custom configuration file](https://docs.mender.io/system-updates-debian-family/convert-a-mender-debian-image/customization#configuration-files) for your own settings that modify the defaults.

You may also want to investigate the [MENDER\_DATA\_PART\_GROWFS variable](https://docs.mender.io/system-updates-debian-family/variables#mender_data_part_growfs) which will, on first boot, expand the data partition to the end of the drive.

---

<div class="post-metadata">

### Author: ![nishad1092](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@nishad1092](https://hub.mender.io/u/nishad1092)
#### Post date: [October 1, 2020, 8:28am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-0-wifi-raspbian/2619/23 "2020-10-01T08:28:38Z")

</div>

So in the [https://github.com/mendersoftware/mender-convert/blob/2.2.0/configs/mender\_convert\_config](https://github.com/mendersoftware/mender-convert/blob/2.2.0/configs/mender_convert_config),

1. If I have a 16GB SD card, should I mention 16GB = 16000 MB for the MENDER\_STORAGE\_TOTAL\_SIZE\_MB ? , So will I get complete 16 Gb ( after taking the 8GB for the Raspbian and other partitions) ?

2. So as you said, this [MENDER\_DATA\_PART\_GROWFS] variable is related to the mentioned MENDER\_STORAGE\_TOTAL\_SIZE\_MB variable ??

---

<div class="post-metadata">

### Author: ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)
#### Post date: [October 1, 2020, 5:51pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-0-wifi-raspbian/2619/24 "2020-10-01T17:51:09Z")

</div>

The size of the root partition is calculated. Basically it’s (MENDER\_STORAGE\_TOTAL\_SIZE\_MB - MENDER\_BOOT\_PART\_SIZE\_MB - MENDER\_DATA\_PART\_SIZE\_MB)/2.

If you specify MENDER\_STORAGE\_TOTAL\_SIZE \_MB as the full size of your disk then you likely want to tweak the data partitions size as well. If you specify it as smaller, then using MENDER\_DATA\_PART\_GROWFS will automatically use the rest of the disk for the data partition.

Drew

---

<div class="post-metadata">

### Author: ![nishad1092](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@nishad1092](https://hub.mender.io/u/nishad1092)
#### Post date: [October 6, 2020, 6:42am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-0-wifi-raspbian/2619/25 "2020-10-06T06:42:31Z")

</div>

Hi @drewmoseley

I have been building and testing out this image,

I wanted to test the system update, so I flashed this image with default size parameters into the RPi, and I have build another mender RPi zero image with slight change and then uploaded the .mender artifact and deploying it to the RPi ( this mender also flashed with same default parameters), But the deployment is stuck at 69%, and no errors or warnings in the deployment logs.

IFYI: I tried base image as 8GB storage\_size and tried deploying a system updated (the .mender of another custom build with 8GB storage parameters), and also tried 12Gb as storage\_size parameters.

---

<div class="post-metadata">

### Author: ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)
#### Post date: [October 6, 2020, 5:27pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-0-wifi-raspbian/2619/26 "2020-10-06T17:27:34Z")

</div>

Please post the output from `$ sudo journalctl -u mender-client` run from your device.

Drew

---

<div class="post-metadata">

### Author: ![nishad1092](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@nishad1092](https://hub.mender.io/u/nishad1092)
#### Post date: [October 6, 2020, 5:34pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-0-wifi-raspbian/2619/27 "2020-10-06T17:34:28Z")

</div>

Hi @drewmoseley

I don’t have the device right now, its in remote location, So i can give this output tmrw,  
I have the failed deployment log, Shall I share that?

---

<div class="post-metadata">

### Author: ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)
#### Post date: [October 6, 2020, 8:51pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-0-wifi-raspbian/2619/28 "2020-10-06T20:51:41Z")

</div>

Yes please do.

[Previous page](https://hub.mender.io/t/issues-with-raspberry-pi-0-wifi-raspbian/2619.md?page=1)
