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

RE: [Xen-users] VM keeps rebooting when building via pxe

To: "'Fajar A. Nugraha'" <list@xxxxxxxxx>
Subject: RE: [Xen-users] VM keeps rebooting when building via pxe
From: "Pinto, Melzer" <Melzer.Pinto@xxxxxxx>
Date: Fri, 4 Feb 2011 11:00:09 -0500
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 04 Feb 2011 08:11:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=O8tQkTKsK76bYEmBAGaaO85U26VhobkTzi5FQ@xxxxxxxxxxxxxx>
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>
References: <D74DB38FC0103144AB398D87738D102B09A5DEC05B@xxxxxxxxxxxxxxxxxxxxx> <AANLkTim3Hg0ha5Tt8gk6QtUDcqjVtc3XaT7REGsGmhi6@xxxxxxxxxxxxxx> <D74DB38FC0103144AB398D87738D102B09A5DEC070@xxxxxxxxxxxxxxxxxxxxx> <AANLkTimw5RGic=appUYwGAtc49fhzjp+KF3E0ySj6Ymb@xxxxxxxxxxxxxx> <D74DB38FC0103144AB398D87738D102B09A5DEC089@xxxxxxxxxxxxxxxxxxxxx> <AANLkTinxnXNCvrQguCfwCaNhFoJWt_zJpnFvGV9ozBa1@xxxxxxxxxxxxxx> <D74DB38FC0103144AB398D87738D102B09A5DEC096@xxxxxxxxxxxxxxxxxxxxx> <AANLkTi=O8tQkTKsK76bYEmBAGaaO85U26VhobkTzi5FQ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcvEg3HG5Zvys8OIQUKIxKfvcBdzawAAF3JQ
Thread-topic: [Xen-users] VM keeps rebooting when building via pxe
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