[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Convert VirtualBox VM to Xen.


  • To: Xen-users <xen-users@xxxxxxxxxxxxx>
  • From: Jason Long <hack3rcon@xxxxxxxxx>
  • Date: Sun, 12 Jun 2016 10:11:29 +0000 (UTC)
  • Delivery-date: Sun, 12 Jun 2016 10:14:54 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

I added "builder = "hvm"" and problem solved but I got "BOSD" :( Any idea to solve it?

Tnx.


On Sunday, June 12, 2016 2:32 PM, Jason Long <hack3rcon@xxxxxxxxx> wrote:


Hello.
I converted my VirtualBox VM as below command :

# VBoxManage clonehd Windows.vdi Windows.img -format RAW

and then created a config file as below :

name = "Windows"
uuid = "df5344f3-4756-4d04-9395-90a88431c0d3"
memory = 1024
vcpus = 2
interface=['br0']
vif = [ "mac=00:16:3e:46:e6:fb,bridge=br0" ]
disk = ["file:/home/jason/Windows.img,hda,rw" ]
bootloader = "pygrub"
_on_poweroff_ = "destroy"
_on_reboot_ = "restart"
_on_crash_ = "restart"


But when I want run it via "xl" command it show me below error :

Parsing config from /etc/xen/windows.cfg
libxl: error: libxl_bootloader.c:630:bootloader_finished: bootloader failed - consult logfile /var/log/xen/bootloader.54.log
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] exited with error status 1
libxl: error: libxl_create.c:1121:domcreate_rebuild_done: cannot (re-)build domain: -3
libxl: info: libxl.c:1698:devices_destroy_cb: forked pid 21718 for destroy of domain 54

and log tell me :

[root@localhost ~]# cat /var/log/xen/bootloader.54.log
Traceback (most recent call last):
  File "/usr/lib/xen/bin/pygrub", line 927, in <module>
    raise RuntimeError, "Unable to find partition containing kernel"
RuntimeError: Unable to find partition containing kernel


How can I solve it?


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.