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] 2.6.20-1-amd64 Xen with RHEL5 guest

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] 2.6.20-1-amd64 Xen with RHEL5 guest
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Thu, 17 May 2007 12:20:22 +0100
Delivery-date: Thu, 17 May 2007 04:18:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070517065143.GC32664@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20070516023454.GI5047@xxxxxxxxxxxx> <20070516133915.GA16863@xxxxxxxxxx> <20070517043900.GB20769@xxxxxxxxxxxx> <20070517065143.GC32664@xxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Thu, May 17, 2007 at 04:51:43PM +1000, Alex Samad wrote:
> On Thu, May 17, 2007 at 02:39:00PM +1000, Alex Samad wrote:
> > On Wed, May 16, 2007 at 02:39:15PM +0100, Daniel P. Berrange wrote:
> > > On Wed, May 16, 2007 at 12:34:54PM +1000, Alex Samad wrote:
> > > > ==============
> > > > cat rhel5-x86_64.cfg
> > > > ==============
> > > > #
> > > > #  Kernel + memory size
> > > > #
> > > > kernel      = '/etc/xen/data/rhel5-x86_64/vmlinuz'
> > > > ramdisk     = '/etc/xen/data/rhel5-x86_64/initrd.img'
> > > > memory      = '128'
> > > > 
> > > > #
> > > > #  Disk device(s).
> > > > #
> > > > root        = '/dev/sda1 ro'
> > > 
> > > This is redundant (&wrong) when booting off the vmlinux & initrd.img
> > > for purposes of installation. The initrd contains sets up the root
> > > filesystem in a ramdisk for the install.
> > got rid of 
> > 
> > > 
> > > > disk        = [ 'phy:vglocal/rhel5-x86_64-disk,sda,w', 
> > > > 'phy:vglocal/rhel5-x86_64-swap,sdb,w']
> > > 
> > > Better off using xvda & xvdb there
> > 
> > I am presuming you mean change sda & sdb with xvda xvdb
> > 
> > tried that 
> > 
> > i captured this of the console during the rhel boot up
> > XENBUS: Device with no driver: device/vbd/51712                             
> >                                                                    
> > XENBUS: Device with no driver: device/vbd/51728                             
> >                                                                    
> > XENBUS: Device with no driver: device/vif/0                                 
> >                                                                    
> 
> 
> okay made the changes to xvba & xvbb, went forward with the rhel5 install, it 
> wants to partition up the drives. which I let it do in its default way - 
> which 
> means I have a /boot, pv1, pv2.
> From the host machine how can I get to /boot for the vmlinux and the initrd?
> I am presuming I need these to insert into my xen config file !

No need. Just use pygrub bootloader. eg instead of kernel + initrd config
options, use

  bootloader='/usr/bin/pygrub'

It will automatically look in /boot for the guest disk & extract the default
kernel & initrd. If you use 'xm create -c' it'll present you the usual grub
style menu for choosing a non-default kernel.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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