Last active
October 12, 2015 10:48
-
-
Save byplayer/4015386 to your computer and use it in GitHub Desktop.
resize VirtualBox disk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 固定サイズ → 可変サイズに変換 | |
% VBoxManage clonehd <FIXED_VDI> <DYNAMIC_VDI> --format VDI --variant Standard | |
# 仮想ディスクを拡張 | |
% VBoxManage modifyhd <DYNAMIC_VDI> --resize <NEW_SIZE> ← サイズは MB で指定 (例: 10GB = 10240) | |
# 可変サイズ → 固定サイズに変換 | |
% VBoxManage clonehd <DYNAMIC_VDI> <NEW_FIXED_VDI> --format VDI --variant Fixed | |
# hide menu and status bar | |
VBoxManage setextradata global GUI/Customizations noMenuBar,noStatusBar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment