Thursday, August 21, 2014

Resize VirtualBox linux partition

http://www.webupd8.org/2011/02/how-to-easily-resize-virtualbox-40-hard.html
http://derekmolloy.ie/resize-a-virtualbox-disk/
http://askubuntu.com/questions/24027/how-can-i-resize-an-ext-root-partition-at-runtime
http://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvdi

1. Resize disk image use VBoxmanage.exe
    $ VBoxmanage modifyhd MyLinux.vdi --resize 40000
2. Boot into linux, fdisk the /dev/sda1, reboot to take effect
3. sudo resize2fs /dev/sda1










[Note] C:\Program Files\Oracle\VirtualBox>VBoxManage.exe

No comments:

Related Posts Plugin for WordPress, Blogger...