1

How can I write a Windows (NTFS) .img file to a partition and add it to grub?

view story
linux-howto

http://superuser.com – I'm trying some crazy stuff here. First, I had a VirtualBox machine with Windows XP installed, using .vdi format. Then I exported the image to a OVA, extracted the .vmdk and converted it to a raw .img file. Then I've created a new VM into KVM via virt-manager, loaded this image as a hard disk and got it running. Now, I'm trying to copy this entire image to a disk partition, via dd, and boot the first NTFS partition inside this image on boot, via grub. So far, i've already dd'ed the first partition inside the image (the actual NTFS partition) and it was recognized both by gParted as NTFS and g (HowTos)