Another solution
Posted: 15. Feb 2008, 10:15
1. create a new VDI image with the size you want
2. attach your new image as the slave
3. boot some linux live CD in your virtual machine
4. check /proc/paritions which drive is original and which is new (watch the size
)
5. dd if=/dev/olddrive of=/dev/newdrive (in the most cases dd if=/dev/hda of=/dev/hdb)
6. reboot
7. attach your new image as the primary master
8. boot the OS and use some software for resizing partitions (e.g. parted in linux or partition magic in windows - if you use linux you can't use parted on master partition, so you can use your live linux cd
)
9. well done - tested on Windows XP guest and FC6 host and it works perfectly
Klix
2. attach your new image as the slave
3. boot some linux live CD in your virtual machine
4. check /proc/paritions which drive is original and which is new (watch the size
5. dd if=/dev/olddrive of=/dev/newdrive (in the most cases dd if=/dev/hda of=/dev/hdb)
6. reboot
7. attach your new image as the primary master
8. boot the OS and use some software for resizing partitions (e.g. parted in linux or partition magic in windows - if you use linux you can't use parted on master partition, so you can use your live linux cd
9. well done - tested on Windows XP guest and FC6 host and it works perfectly
Klix