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] RE: [UPATE - using pygrub] ubuntu and debian guests cann

Hi there.  I set the vm to boot using pygrub and it started up just fine.  It does raise the question as to what wasn't working in the dom0 kernel (if that was indeed the issue).


From: adamgold@xxxxxxxxxxx
To: list@xxxxxxxxx; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] RE: ubuntu and debian guests cannot find or mount root partition
Date: Thu, 10 Nov 2011 22:44:24 +0000

> Date: Fri, 11 Nov 2011 04:10:53 +0700
> Subject: Re: [Xen-users] RE: Xen-users Digest, Vol 81, Issue 21
> From: list@xxxxxxxxx
> To: adamgold@xxxxxxxxxxx
> CC: xen-users@xxxxxxxxxxxxxxxxxxx
>
> On Fri, Nov 11, 2011 at 3:53 AM, Adam Gold <adamgold@xxxxxxxxxxx> wrote:
> >> > ALERT! /dev/xvda2 does not exist. Dropping to a shell!
> >> > =================================================
> >> >
> >> > Following the suggestions in the shell:
> >> > - 'cat /proc/cmdline' = 'root=/dev/xvda2 ro' which is the correct root
> >> > partition (or should be at least)
> >> > - 'cat /proc/modules', no output
> >> > - ls /dev - no sign of xvda or any of its partitions
> >> >
>
> > Thanks to you both for the feedback.  I tried changing xvda to sda but root
> > still failed to mount.
> >
> > Regarding the xenblk drivers, it looks like they are loaded (correct me if
> > I'm wrong).  When I run on dom0 'cat /proc/modules | grep xen' I get the
> > following:
> >
> > xen_netback 27854 0 [permanent], Live 0xffffffffa016a000
> > xen_blkback 23177 0 [permanent], Live 0xffffffffa0163000
> > xen_evtchn 13172 2 - Live 0xffffffffa00c6000
> > xenfs 18311 1 - Live 0xffffffffa011c000
> >
> > I also loaded xen-gntdev but still no luck.  Next steps :) ?
>
> You obviously did something, right, cause the content of /proc/modules
> is different compared to your previous post.
>
> What's in /proc/partitions AFTER you get xen-related entry in /proc/modules?
>
> --
> Fajar

Fajar: thanks for the response.  I should clarify: as mentioned above, I ran cat /proc/modules on the *dom0*.  When I attach the console to the guest vm, cat /proc/modules and /partitions are both empty.  For whatever reason, it seems not to be getting to the stage of creating a full filesystem, even though it can boot part of the way.

I'd love to get this to work as it's such an elegant way of creating guests.  In the meantime, I think it will be productive to build a guest from scratch, step by step without the tools, and see where/if it falls down.

Of course any further suggestions will be very welcome.

Regards,

Adam

P.S. changed subject header of this message to make up for my previous mess up!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users