[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] run a VM from a previous physical disk install ?
I would try showing the windows guest the whole physical drive as I think windows needs to see the partition table. Just be careful to not modify the partition table or non-windows partitions from windows. disk = [ "phy:/dev/sda,hda,w" ] -----Original Message----- From: Joe Armstrong [mailto:jarmstrong@xxxxxxxxxxxx] Sent: Friday, June 05, 2009 3:58 PM To: xen-users@xxxxxxxxxxxxxxxxxxx Subject: [Xen-users] run a VM from a previous physical disk install ? Hi All, I have a machine that was installed with WinXP, I re-sized the disk so WinXP has a very small disk and installed linux on the newly freed up disk partition. If I boot from the partition (via grub) the old windows image works just fine, but as I only need to access it on occasion I'd rather not have to re-boot my machine to get to it. So - is there a way I can use the already installed version of WinXP as an installed VM image and run it ? I tried with the following config file (at the end of this mail) but I got these errors: Booting from Hard Disk... Boot from Hard Disk failed: could not read the boot disk FATAL: No bootable device Is it just that the virtual devices in the VM are not compatible with the real devices that the image expects ? Or do I have to go and get something like PlateSpin powerconvert ? Any open-source VtoP tools ? Thanks. Joe Just in case, here is my VM config file: name = "WinXP" uuid = "694f0193-b8ec-d1ff-3d97-18731b540008" maxmem = 384 memory = 384 vcpus = 1 builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "c" pae = 0 acpi = 0 apic = 0 localtime = 0 on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" device_model = "/usr/lib64/xen/bin/qemu-dm" sdl = 0 vnc = 1 vncunused = 0 vncdisplay = "2" disk = [ "/dev/sda2,hda,w" ] vif = [ ] serial = "pty" _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |