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] Xen domU cannot boot via PV-GRUB

To: GNUbie <gnubie@xxxxxxxxx>
Subject: Re: [Xen-users] Xen domU cannot boot via PV-GRUB
From: "Fajar A. Nugraha" <list@xxxxxxxxx>
Date: Fri, 14 Jan 2011 05:04:16 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 13 Jan 2011 14:05:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinCYYnfeux+uQUX-51mN4di4vMfD5ibdBE-LBm+@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: <AANLkTinCYYnfeux+uQUX-51mN4di4vMfD5ibdBE-LBm+@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Jan 14, 2011 at 12:03 AM, GNUbie <gnubie@xxxxxxxxx> wrote:
> Hello all,
>
> Please advice on how I can move forward from this bootup problem. I
> already tried changing the value of the "root=" option to /dev/sda2
> and /dev/xvda2 with no luck. I also tried to re-generate a new initrd
> adding the options of "--with xennet --with xenblk" but still with no
> luck.

> title GNU/Linux (2.6.34.7-56.40.i686)
>    root (hd0,0)
>    kernel /boot/vmlinuz-2.6.34.7-56.40.i686 root=LABEL=/ console=hvc0
>    initrd /boot/initrd-2.6.34.7-56.40.i686.img

I assume you ACTUALLY have the correct partition/LV with LABEL=/ on
domU's disk image?

> Loading xen-blkfront.ko module
> [    0.456365] blkfront device/vbd/2050 num-ring-pages 1 nr_ents 32.
> [    0.460302] blkfront device/vbd/2064 num-ring-pages 1 nr_ents 32.
> [    0.484444] blkfront device/vbd/2051 num-ring-pages 1 nr_ents 32.
> [    0.487167] blkfront: regular deviceid=0x802 major,minor=8,2,
> assuming parts/disk=16
> [    0.488610] blkfront: regular deviceid=0x810 major,minor=8,16,
> assuming parts/disk=16
> [    0.488850]  xvdb: unknown partition table
> [    0.559870] blkfront: regular deviceid=0x803 major,minor=8,3,
> assuming parts/disk=16

You should see the disks and detected partition tables on boot. Your
log only xvdb is detected with "unknown partition table", which is
weird. Does the disk image actually HAVE partition on it, or do you
create a filesystem directly on that image? What does your domU config
file looks like? What does "fdisk -l /path/to/your/disk-image" look
like?

-- 
Fajar

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