Author: glen Date: Sat Jan 28 15:32:20 2012 GMT Module: PLDWWW URL: http://www.pld-linux.org/glen?action=diff&rev2=55&rev1=54 ---- Log message: grow vbox image with xp
---- Page affected: glen ---- Diffs: ================================================================ The comment on the change is: grow vbox image with xp bus-info: 0000:03:07.0 }}} + + == Growing WinXP VirtualBox image == + + I needed to grow WinXP disk, as 2GiB was too short for it. It's all pretty basic, but with few quirks. + VBoxManage can extend disks, but only it's VDI format ([http://www.virtualbox.org/manual/ch08.html#vboxmanage-clonevdi here] and [http://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvdi here]). WinXP can grow NTFS partions, but only non-boot ones ([https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/dm_extend_basic_volume.mspx here]). + + So first is to clone image and extend it + {{{ + $ VBoxManage clonehd winxp_1-disk1.vmdk --format VDI winxp_1-disk1.vdi + $ VBoxManage modifyhd winxp_1-disk1.vdi --resize 4096 + }}} + + now boot with both disks attached and run `diskpart`. + {{{ + DISKPART> list volume + DISKPART> select volume 2 + DISKPART> extend + }}} + + + now remove the old disk and voila! + ---- CategoryHomepage _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
