From a4e5e5809c63d90bcdfd8f366fca0a3f7bed8187 Mon Sep 17 00:00:00 2001 From: Ste Vaidis Date: Mon, 24 Jul 2023 15:39:49 +0300 Subject: [PATCH] Update '0.virtualbox.md' --- 0.virtualbox.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/0.virtualbox.md b/0.virtualbox.md index d1f92a1..5bc2631 100644 --- a/0.virtualbox.md +++ b/0.virtualbox.md @@ -28,7 +28,7 @@ VBoxManage startvm "Rocky Linux" --type=headless VBoxManage controlvm SlackDB poweroff soft ``` -## Shrink VM disk +## Shrink disk ```sh # on host @@ -39,13 +39,6 @@ shutdown VBoxManage modifymedium --compact /path/to/thedisk.vdi ``` -## Export / Import - -```sh -VBoxManage export SlackDB --output SlackDB.ova # export -VBoxManage import SlackDB.ova # import -``` - ## Extend disk ```sh @@ -58,6 +51,13 @@ VBoxManage modifyhd slack.vdi --resize 102400 # MB # 100 GB = 102400 MB ``` +## Export / Import + +```sh +VBoxManage export SlackDB --output SlackDB.ova # export +VBoxManage import SlackDB.ova # import +``` + ## Convert to KVM ```sh