VirtualBox: extend partition

前端 未结 8 1193
渐次进展
渐次进展 2021-01-30 07:34

I have virtualbox-4.1.0 with centos-5.6 installed in. Now I would like to extend the VM image, which I previously allocated for virtual machine installation, it was 8Gb, that\'s

8条回答
  •  北荒
    北荒 (楼主)
    2021-01-30 07:40

    It can be done with 3 steps :

    • cloning your VMDK to VDI format using VBoxManage
    • resize the disk to create free space using VBoxManage
    • modify the filesystem to allocate free space to your drive, using GParted

    Don't forget the last part, otherwise, you will have unallocated free space and your disk will still appear as full.

    I wrote a tutorial here to resize your VM Disk

提交回复
热议问题