I'm working from memory but I think this works. 1) Create a linux VM (I would just use a live ISO image) 2) set your Windows dd image as hda 3) make a new virtual expanding drive the same size as your dd image and set it as hdb 4) boot the VM and use dd to copy hda to hdb ( dd if=/dev/hda of=/dev/hdb bs=512 ) 5) wait.... 6) once the copy is done, shut down the VM, remove the original dd image and set the new expanding drive as hda 7) Set the VM to boot from hda (instead of the iso image ) 8) boot the VM into windows
This should make the new drive only as big as it needs to be, instead of the full 80 Gigs. Even if it is still 80 Gigs, at least you can use one of the previously mentioned options on the native VirtualBox drive image. Good luck, Jason On Tue, May 18, 2010 at 1:41 PM, Scott Garman <[email protected]> wrote: > On 05/18/2010 08:56 AM, drew wymore wrote: > > Not tested but google seems to say this should work. > > > > > http://stackoverflow.com/questions/24864/virtualbox-from-an-existing-partition > > > > Use vmware converter to convert the existing install into a vmware > > instance, load said instance into Virtual Box (it's supported > > apparently) ... profit??? > > Thanks for the suggestion. I installed VMWare converter but then learned > that it doesn't work with dd images. Norton Ghost, Backup Exec, etc > images seem to work, but not raw dd images. > > It can also reportedly connect to a running instance of the OS, but > requires admin credentials. Unfortunately the reason why I'm trying to > do this rather than doing a full install of WinXP myself is that I'm > trying to convert the WinXP image from my work laptop into a VM I can > run within Linux, and I don't have full admin privileges within Windows. :( > > Scott > > -- > Scott Garman > sgarman at zenlinux dot com > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
