I tried this a few times already but I gave it a shot again(It's a different vm
from vm4 but its built with the same specs)
xm create -c vm.cfg
Using config file "./vm.cfg".
Error: Boot loader didn't return any data!
cat vm.cfg
bootargs = 'bridge=xenbr0,mac=00:16:3E:35:C7:95,type=netfront'
bootloader = '/usr/bin/pygrub'
disk =
['file:/var/ovs/mount/ADB5300DA0664B9C8CBDBAC34BFFC5A1/running_pool/66_oraclevm3/System.img,xvda,w']
memory = 2048
name = '66_oraclevm3'
on_crash = 'restart'
on_reboot = 'restart'
uuid = 'da985745-54ec-4387-8d3e-e80f2242b698'
vcpus = 2
vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0,vncpasswd=ovsr']
vif = ['bridge=xenbr0,mac=00:16:3E:35:C7:95,type=netfront']
vif_other_config = []
Thanks
Melzer
-----Original Message-----
From: Fajar A. Nugraha [mailto:list@xxxxxxxxx]
Sent: Friday, February 04, 2011 10:52 AM
To: Pinto, Melzer
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] VM keeps rebooting when building via pxe
On Fri, Feb 4, 2011 at 9:47 PM, Pinto, Melzer <Melzer.Pinto@xxxxxxx> wrote:
> Hi Fajar,
> It displays the boot screen menu and then errors out with
>
> /usr/bin/pygrub -i System.img
> linux (kernel /var/run/xend/boot/boot_kernel.ndiG14)(ramdisk
> /var/run/xend/boot/boot_ramdisk._NG8ZR)(args "ro root=LABEL=/ rhgb quiet ")
That's not an error. It's normal.
Next, make sure your bootloader is set to /usr/bin/pygrub, and run
xm create -c name_of_your_domU_config_file
Note the "-c" in the command. It should display the boot menu (the
same one you see when you run "pygrub -i") and boot.
--
Fajar
IMPORTANT: The information contained in this email and/or its attachments is
confidential. If you are not the intended recipient, please notify the sender
immediately by reply and immediately delete this message and all its
attachments. Any review, use, reproduction, disclosure or dissemination of this
message or any attachment by an unintended recipient is strictly prohibited.
Neither this message nor any attachment is intended as or should be construed
as an offer, solicitation or recommendation to buy or sell any security or
other financial instrument. Neither the sender, his or her employer nor any of
their respective affiliates makes any warranties as to the completeness or
accuracy of any of the information contained herein or that this message or any
of its attachments is free of viruses.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|