From f5246e8898a45b1a0f2ce375b47ac67a8c8418de Mon Sep 17 00:00:00 2001 From: Wesley Archer Date: Wed, 12 Jul 2017 16:35:15 +0100 Subject: [PATCH] Update README.md Added prerequisite about needing Ubuntu 16.10 and upwards to prevent e2fsck and metatdata_csum error message. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 1286604..f0bcc7c 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,9 @@ PiShrink is a bash script that automatically shrink a pi image that will then re If the `-s` option is given the script will skip the autoexpanding part of the process. If you specify the `newimagefile.img` parameter, the script will make a copy of `imagefile.img` and work off that. You will need enough space to make a full copy of the image to use that option. +## Prerequisites ## +If using Ubuntu, you will likely see an error about `e2fsck` being out of date and `metadata_csum`. The simplest fix for this is to use Ubuntu 16.10 and up, as it will save you a lot of hassle in the long run. + ## Example ## ```bash [user@localhost PiShrink]$ sudo ./shrink.sh pi.img