Created
June 5, 2014 15:09
-
-
Save dergachev/0099f6163311dc8eb1cb to your computer and use it in GitHub Desktop.
This file contains 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
wget http://downloads.sourceforge.net/gparted/gparted-live-0.18.0-1-i486.iso | |
# got path from VBox GUI | |
cd '/Users/dergachev/VirtualBox VMs/docker-vm_default_1389213567886_15275' | |
VBoxManage clonehd box-disk1.vmdk cloned.vdi --format vdi | |
VBoxManage modifyhd cloned.vdi --resize 102400 | |
VBoxManage clonehd "cloned.vdi" box-disk1-100gb.vmdk --format vmdk | |
# go to VBox GUI and attach box-disk1-100gb.vmdk in storage section | |
# also create new IDE controller, and then add gparted.iso as image (need to create blank one first, UI was buggy) | |
# start VM from VBox GUI, this will boot into gparted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment