Re: Core 3 Diskspace
Posted: 14 May 2019, 14:09
Bump to a really old thread, but it seems the shrink-image.sh is no longer in the imagebakery git. Has in been included into the customize-image.sh somehow? I'm trying to get Ignition Edge running on a Core 3 and need every MB of flash I can free, was really hoping this was the answer, but can't get the image ready to flash.dirk wrote: ↑21 Aug 2018, 14:33 Hi, you may use the imagebakery GitHub repository to create a minimal image that contains all the KUNBUS drivers as well.
Here is a step-by-step guide for you. I have used a Ubuntu 18.04 virtual machine to create the image.
Download RASPBIAN STRETCH LITE https://www.raspberrypi.org/downloads/raspbian/
http://media.kunbus.de/media/images/2018-10-09-raspbian-stretch.zip
http://downloads.raspberrypi.org/raspbian/images/raspbian-2018-03-14/2018-03-13-raspbian-stretch.zip
You have to be root and have access to the internet to create the image.
When you write the image you have about 2.3GB free space:Code: Select all
git clone https://github.com/RevolutionPi/imagebakery.git cd imagebakery unzip ../Download/2018-10-09-raspbian-stretch.zip apt-get install qemu-user-static binfmt-support ./shrink-image.sh 2018-10-09-raspbian-stretch-lite.img `date +%F`-raspian-shrunk.img # on Ubuntu change #!/bin/sh => #!/bin/bash in customize_image.sh ./customize_image.sh `date +%F`-raspbian-shrunk.img
Code: Select all
pi@RevPi:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/root 3.5G 1.1G 2.3G 33% /