From c05e804fb54a61b28a2680a65992508d9b716f95 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sun, 21 Jul 2024 15:34:05 +0200 Subject: [PATCH] Added cleanup hints --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index ba28545..baee843 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,22 @@ To install a Linux distribution execute: sudo bash ./scripts/image/setup.sh ``` +### Cleanup + +To cleanup the image setup execute: +```bash +fuser -k /dev/mapper/linux-image-manager-*; +umount -f /dev/mapper/linux-image-manager-*; +fuser -k /tmp/mapper/linux-image-manager-*; +umount -f /tmp/linux-image-manager-*; +``` + +Additional you can unmount the device with a command like + +```bash +umount -f /dev/sd*; +``` + ## Chroot To chroot into a Linux distribution on a storage execute: