Expand the Boot Image Disk Size
When we create a boot image file with a vhd file, we need to set a VHD disk size or just upload it from a small partition. If we want to expand the image disk size later, what to do? This section will introduce a method to expand the VHD disk.
- Stop CCBoot service to release the vhd file accessing.
- Download VhdResize.zip from http://www.ccboot.com/download/vhdtools/ and extract it and install.
- Click "Start" -> "Vhd Resizer" (Figure 1).
- Click the "open" button to locate the old vhd file path, click "save as" to locate the new vhd file path, input new vhd disk size in "New Size" and click the "resize" button to finish (Figure 2).
- When done, right click "My Computer", select "Manage".
- Select the "Disk Management" node in the left tree, right click on the "Disk Management", select "Attach VHD".
- Locate the new vhd file, and then you will see a new disk in the disk list (Figure 3, the vhd disk icon is bright blue).
- Right click "New Volume (D:)", select "Expand Volume" (Figure 4).
- Click the "Next" button (Figure 5).
- Right click on "Disk 1", select "Detach VHD" and Click "OK". Notice: DO NOT select "Delete File" (Figure 6).
- Now you can add the new vhd file to CCBoot. After you boot with this VHD image, you will see the C: drive is already expanded.