How to resize a virtual machine hard disk (Oracle VM VirtualBox)

Source: Internet
Author: User

How to resize a virtual machine hard disk (Oracle VM VirtualBox) VBoxManage modifyhd <uuid> | <filename> [-- resize <megabytes> | -- resizebyte <bytes>] -- resize can be used to modify the size of an existing hard disk image file, it only affects the logical size of the virtual hard disk.
It does not affect the size of the physical hard disk, and it is only valid for dynamically allocated VDI and VHD format images.
For example, if you have created a 10 GB disk and want to expand it to 20 GB, run the -- resize 20480 command.
To increase the capacity by 10 Gb, perform the following operations:
First you need to know the uuid of the image to Increase the capacity, you can use the command VBoxManage list hdds results are as follows UUID: b4dfa481-854f-45c7-a54d-85a08f7c9204Parent UUID: base www.2cto.com Format: VDILocation: F: \ Sun VirtualBox \ Windows XP \ xp. vdiState: createdType: normalUsage: Windows XP (UUID: 26dc0f15-43c8-454b-8df9-22cc8e2fa137: b4dfa481-854f-45c7-a54d-85a08f7c9204 then use the command VBoxManage modifyhd b4dfa481-854f-45c7-a54d-8 5a08f7c9204 -- resize 20480 after the operation is successful the virtual hard disk is increased by 10G, but note that this 10G space has not been allocated,

Further allocation is required to meet requirements for use in the system. From Interconnected Space

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.