WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Migrate existing Windows XP VirtualBox VM to Xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Migrate existing Windows XP VirtualBox VM to Xen
From: Juan Luis Baptiste <juan.baptiste@xxxxxxxxx>
Date: Mon, 13 Sep 2010 15:26:54 -0500
Delivery-date: Mon, 13 Sep 2010 13:28:24 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=ekWrIjCpahLA2tYWwqOFgbn+YlyKWcDNHCqAecVmj0A=; b=b8ctvnLWREq/5G6VU8jVJi24cyxKc58e+KezB6H+gar4HLRO6zo9uy3EySXEtij3zs o/ZYfnJsj4pP4RS+2ZixOwhXcv9y2NV8+rk7R0hK0wPMSVdc8/HT5zMFng7MFbWpbiuU evcJ7B7DH9ItbASJbP2xEzu3rFHA8JLTQ9E5A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=MC8T8y5Z19igFvtddafuWFrB1LzdxNujTxCNZ0Z7EI5bFaP4a73fi/gTg0bHghjZkT XwNT0e7Abjlx5hAG/4Lv09FQGWrKxSdkehguLpm0HUuF9Nu7LwJ979kmNIz+LGfEbuHP uKsjq8APOin6QEHrzDZV3yud9p/7lyhjlN6pM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I'm trying to migrate a VirtualBox virtual machine to Xen, but I
haven't been able to successfully boot it under xen (3.0.1 that comes
with CentOS 5.5). Thinking that the problem was converting the disk
format to a raw format, I tried converting the VDI disk with all these
options:


VBoxManage internalcommands  converttoraw disk.vdi disk.raw

VBoxManage clonehd disk.vdi disk.raw --format RAW

and booting the VM with a live cd and doing a:

dd if=/dev/hda | ssh user@host 'cat > disk.raw'


And using the following xen configuration:

name = "WindowsXP"
uuid = "071a2dca-e016-456e-8a5e-ea23033f1cb4"
maxmem = 768
memory = 768
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"
usb = 1
usbdevice = "tablet"
sdl = 0
vnc = 1
vncunused = 1
keymap = "en-us"
disk = [ "file:/var/lib/xen/images/disk.raw,hda,w",
"file:/distros/windows/xp_sp3/winxp_sp3.iso,hdc:cdrom,r" ]
vif = [ "mac=00:16:36:75:32:52,bridge=xenbr0,script=vif-bridge" ]
parallel = "none"
serial = "pty"


But the result is always the same: the Xen guest starts but I get the
"Windows didn't shutdown correctly" menu, with the "safe mode" options
and the "start normally windows" option. Any of the two safe mode
options will make the xen guest stop and the start normally will
freeze the guest for some seconds and it will reboot later.

What could I be missing ? for what I have read over the internet it
should be that simple, convert the VDI disk to raw, setup a config
file liked the one I have and fire it up. Also most of topics found on
the internet related to this are more of installation instead of
migration, so I'm out of ideas now.

Thanks.


Cheers,
-- 
Juancho

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>