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

On Wed, 13 May 2009, Ananth wrote:

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"
on_reboot = 'restart'
on_crash = 'restart'
vfb = [ 'type=vnc,vncdisplay=1,vncpasswd=test,vnclisten=0.0.0.0' ]
extra = "TERM=xterm xencons=tty console=tty1"

there is no ramdisk specified. Is this intentional ? Does your kernel boot directly without the ramdisk ? may standard kernels may not be able to.


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.


that may be a repair prompt. The actual system may be read-only mounted.
If the block sizes are different then there has been a resize or a corrupt filesystem. Since the specified disk is a file you can take it offline and
check it using e2fsck (if it is ext3).
Do not try 'y' answers on fsck. The best bet is to do a
resize2fs -f -p <file> just to first try to resize the FS and then
try to do an fsck and then run the guest OS.

Also, double check your fstab. Does it show /dev/sda1 as / ?

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>
       http://lists.xensource.com/xen-users


   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.





Bhasker C V
Registered linux user #306349
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>