vbox vdi硬盘 resize

 (主机mac 虚拟机ubuntu)
 
Oracle VM VirtualBox Command Line Management Interface Version 5.0.16
 
Usage:
VBoxManage modifymedium     [disk|dvd|floppy] <uuid|filename>
                            [--type normal|writethrough|immutable|shareable|
                                    readonly|multiattach]
                            [--autoreset on|off]
                            [--property <name=[value]>]
                            [--compact]
                            [--resize <megabytes>|--resizebyte <bytes>]
 
 
VBoxManage modifymedium disk <uuid> --resize 40960
 
 
先通过
 VBoxManage list hdds
获得uuid
 
这时在ubuntu里查看磁盘大小还是原来的大小
 
打开disks应用是这样
 
设置一下free space的文件系统什么的 点mount
 
差不多就好了
 
posted @ 2016-06-03 17:36  可乐君  阅读(533)  评论(0编辑  收藏  举报