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] Installing with iso

To: Lance Haig <lhaig@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Installing with iso
From: Ananth <cbananth@xxxxxxxxx>
Date: Wed, 13 May 2009 14:51:02 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 13 May 2009 02:22:02 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=oY1dvLMtQOp4Qtn9GcEKOUA8IjItMGyH1vFh4M7ba98=; b=rPkrv7roLnwoNXy5IK7eS0pJbC7sZj66qVwlcqCEgwyaJMLGiGiJbzvCNj0aVnj013 MPZRh2ycLHEjZaKGA3niLRf27omRSzBAOxgyzaXQaZT3OosbEJX1WmfUpbjBHFdypTvz jShkE/fuzdfahFjmD/Rs9Nze0w83EXcDFwb+E=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XBr2A5JvDviOh4x3ubAwSWrARKmjtQEaQZgrfV5DOlZvOsizVRHdJu+CKJaJc8Q34q g32W0TWeAJRb02B8nAokJEq6ztPUsRlFh/sBiK/SMwYWpJKJ0St8yZQyDHbkuH/RhJUM hVx1yOC1X7EU2/H2j2LjpecmzNKnaVCc47m0g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A0A5108.9040100@xxxxxxxxxxxx>
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: <4A086676.1020207@xxxxxxxxxxxx> <20090511101243.13785n7e5e694j48@xxxxxxxxxxxxxx> <4A0870B6.3070805@xxxxxxxxxxxx> <20090511142101.11382homn0x71wb4@xxxxxxxxxxxxxx> <4A095ACA.50905@xxxxxxxxxxxx> <bdf293de0905121129p725f1876g653f1107e2b9b09d@xxxxxxxxxxxxxx> <4A09D525.5000105@xxxxxxxxxxxx> <bdf293de0905121309t5c30c70fte03f0f38669bb9a0@xxxxxxxxxxxxxx> <4A0A5108.9040100@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Lance,
That would be great. Please let me know if you are able to crack this guest installation. I am trying to do a comparative study between credit and SEDF schedulers by applying different kinds of load on the system. I am looking forward to using the guest from rpath as it would be a good network monitoring tool to test the efficiency of the schedulers.

Below is the content of the config file which I used for creating the rpath domU.

kernel = "/boot/vmlinuz-2.6.18.8-xenU"
name = 'rpathns'
vif = ['']
dhcp = "192.168.31.30"
disk = ['file://srv/xen/domU/rpath-1.0.5-x86.img,sda1,w']
root = "/dev/sda1 ro"
>>vfb = [ 'type=vnc,vncdisplay=1,vncpasswd=test,vnclisten=0.0.0.0' ]
extra = "TERM=xterm xencons=tty console=tty1"

When I do xm create, I get the message 'started domain rpathns'. Also, xm list shows the guest to be in blocked state. But when I try 'xm console rpathns', it takes me into the prompt " (repair filesystem) 1 #".
I tried fsck from this prompt and I get the below message  ..

(Repair filesystem) 1 # fsck
fsck 1.37 (21-Mar-2005)
e2fsck 1.37 (21-Mar-2005)
The filesystem size (according to the superblock) is 437597 blocks
The physical size of the device is 418832 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>?

But i am able to abort this and I find myself at /root inside the guest OS. But I am not sure how to start the network management application. Please try this config and let me know if you are able to succeed.

Thank you

Regards
Ananth

On Wed, May 13, 2009 at 10:18 AM, Lance Haig <lhaig@xxxxxxxxxxxx> wrote:
On 12/05/09 21:09, Ananth wrote:
Hi,
May be we could write to rpath regarding this and ask for more help. I
tried creating the same using my own config file, which does not use the
pygrub. I have specified the domU kernel from my system, and I have not
used the blktap driver. Instead I have pointed to the image using the
file:// context. When I create the guest domain, it says error reading
the filesystem and tells me to run fsck. I am unable to attach my config
file right now as . I shall do that tomorrow from my lab. You can try if
you are able to make progress using that.

Regards
Ananth

On Tue, May 12, 2009 at 12:59 PM, Lance Haig <lhaig@xxxxxxxxxxxx
<mailto:lhaig@xxxxxxxxxxxx>> wrote:

   On 12/05/09 19:29, Ananth wrote:

       Hi Lance,
       I have been pretty much following the link to rpath Wiki for
       installing
       guest domain, especially the network monitoring system which the
       wiki
       page points you to. I have been facing error while I create
       guest using
       the procedure given. I am facing the error that says pygrub did not
       return any value.Please try it and let me know if you are able to
       successfully create the guest domain.

       Thank you

       Regards
       Ananth

       On Tue, May 12, 2009 at 4:17 AM, Lance Haig <lhaig@xxxxxxxxxxxx
       <mailto:lhaig@xxxxxxxxxxxx>
       <mailto:lhaig@xxxxxxxxxxxx <mailto:lhaig@xxxxxxxxxxxx>>> wrote:


           On 11/05/09 23:21, jonr@xxxxxxxxxx <mailto:jonr@xxxxxxxxxx>
       <mailto:jonr@xxxxxxxxxx <mailto:jonr@xxxxxxxxxx>> wrote:

               Quoting "Lance Haig" <lhaig@xxxxxxxxxxxx
       <mailto:lhaig@xxxxxxxxxxxx>
       <mailto:lhaig@xxxxxxxxxxxx <mailto:lhaig@xxxxxxxxxxxx>>>:


                   On 11/05/09 19:12, jonr@xxxxxxxxxx
       <mailto:jonr@xxxxxxxxxx> <mailto:jonr@xxxxxxxxxx

       <mailto:jonr@xxxxxxxxxx>>

                   wrote:

                       Quoting "Lance Haig" <lhaig@xxxxxxxxxxxx
       <mailto:lhaig@xxxxxxxxxxxx>
       <mailto:lhaig@xxxxxxxxxxxx <mailto:lhaig@xxxxxxxxxxxx>>>:



                           Hi,

                           I am running the latest xen package on
       Debian Lenny
                           and I want to
                           install a Linux vm with an ISO image.

                           How best do I make this happen.

                           I have not been able to get virt-manager to
       connect
                           to the xen
                           instance on my server from my Laptop.

                           I would really appreciate the help

                           Thanks

                           Lance


                       Hello Lance,

                       The easiest way I have found is to loop mount
       the iso
                       then expose it on
                       my webserver. I then use virt-manager to connect and
                       install with http.
                       That way I am able to install in paravirtual
       mode rather
                       than HVM.

                       You can also do the exact same thing from the
       command
                       line using ssh
                       from your laptop, look at the virt-install man
       page. I
                       would tcpdump on
                       your laptop and server to see why you are unable
       to connect.

                       Hope that helps,

                       Jon



                       _______________________________________________
                       Xen-users mailing list
       Xen-users@xxxxxxxxxxxxxxxxxxx <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>
       <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx
       <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>>

       http://lists.xensource.com/xen-users


                   Hi again,

                   Is it possible for a person to run a downloaded raw file
                   system in a
                   xen environment?

                   I have downloaded a vm from the rpath.org
       <http://rpath.org> <http://rpath.org>


                   site and want to run the vm
                   on my xen system. It is a running file system that just
                   needs to be
                   booted.

                   I have manually created config files on my kvm qemu
       system
                   to run this
                   in the past. does xen have config files I could copy
       and use?

                   I apologies for the newbie questions.

                   Thanks

                   Lance


               I have never used rpath images but a quick look on their
       site I
               found
               the link below. The first link about using a domU created by
               rpath or
               rmake and how to install it on a xen system might give
       you an idea.

               Jon

       http://wiki.rpath.com/wiki/Xen_Solutions_Using_rPath_Technologies




               _______________________________________________
               Xen-users mailing list
       Xen-users@xxxxxxxxxxxxxxxxxxx
       <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>
       <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx
       <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>>

       http://lists.xensource.com/xen-users


           Hi Jon,

           I must be blind. I looked on their site and did not find
       that one.

           Thanks again.


           Lance

           --
           This message has been scanned for viruses and
           dangerous content by MailScanner, and is
           believed to be clean.


           _______________________________________________
           Xen-users mailing list
       Xen-users@xxxxxxxxxxxxxxxxxxx
       <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>
       <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx
       <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>>

       http://lists.xensource.com/xen-users



       --

       This message has been scanned for viruses and
       dangerous content by *MailScanner*
       <http://www.mailscanner.info/>, and is

       believed to be clean.


       ------------------------------------------------------------------------

       _______________________________________________
       Xen-users mailing list
       Xen-users@xxxxxxxxxxxxxxxxxxx <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>
   Hi Ananth,

   I get the same error when I run xm create. I wonder if pygrub needs
   more that the documenation is telling us.

   Regards


   Lance


   --
   This message has been scanned for viruses and
   dangerous content by MailScanner, and is
   believed to be clean.



--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.

Hi Ananth,

I know a few people at rPath.

I will ask them.


Lance

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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