After spending an extraordinary amount of time trying to figure out why I couldn’t get NTFSResize to work, I finally found Seppe vanden Broucke’s log entry. For posterity, I’ll record what I did, here, following partly the instructions in the original post and one commenter’s modification:
- Get the SysRescCD ISO image. (Any live linux CD should work, including Knoppix.)
- Create a new (larger) VirtualBox disk image (*.vdi) from within VirtualBox.
- In the VirtualBox Details tab for your Windows instance, set your original VDI as the IDE Primary Master.
- Set the new (empty) VDI as the IDE Primary Slave.
- And set the linux ISO as the CD/DVD IDE Secondary Master.
- Ensure that the instance is set to boot from the CD/DVD first in System->Boot Order.
- Boot the instance.
- At the command line, run
fdisk -l /dev/sda
You should see a partition there of type 7, NTFS.
- Then run
fdisk -l /dev/sdb
You should see an error message that says there is no partition on that device.
- Then run the command:
dd if=/dev/sda of=/dev/sdb
This will take a long time. It means copy from the input file /dev/sda to the output file /dev/sdb.
- Shutdown the system with:
shutdown -h now
- Change the Storage->IDE Secondary Master (CD/DVD) from the ISO image to your regular optical drive, or remove it completely so that it will boot into the original (small) Windows image.
- In Windows, select Start->Run… and type:
select disk 1
to select the (large) disk.
to see that you’ve selected the right one with the right size.
select partition 1
to select the 1st partition on that disk.
to see that you’ve selected the right partition.
to extend the volume all the way to the end of the device.
- Turn off the virtual instance and select the new (larger) VDI as the Storage->IDE Primary Master.
- Boot the instance again and you should have a larger system (C:) disk.