From 02811ad01dc4184d1aa65f81c4420f544c34a5b8 Mon Sep 17 00:00:00 2001 From: Bruno Cabral Date: Thu, 14 Apr 2022 10:11:26 -0700 Subject: [PATCH] Update README with umount instructions this solves issue #33 --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index ceeb2cb..f9ab39c 100644 --- a/README.md +++ b/README.md @@ -76,3 +76,17 @@ Open terminal and switch to directory where "waydroid_extras.py" is located then sudo python3 waydroid_extras.py -i Star this repository if you find this useful, if you encounter problem create a issue on github ! + +## Error handling + +In case of error, if you retry immediately and it fails with this error +``` +==> Failed to resize image '/var/lib/waydroid/images/system.img' .. ! e2fsck 1.45.5 (07-Jan-2020) +/var/lib/waydroid/images/system.img is mounted. +e2fsck: Cannot continue, aborting. +``` +You need to get the mounting point using `df | grep waydroid`. It will be something like `/dev/loopXXX`. Then, unmount it +``` +sudo umount /dev/loopXXX +``` +And re-run the script.