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] Startup-Hook Script ?

To: "'Fajar A. Nugraha'" <fajar@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Startup-Hook Script ?
From: "Steffen Heil" <lists@xxxxxxxxxxxxxxx>
Date: Fri, 27 Jun 2008 23:32:09 +0200
Cc:
Delivery-date: Fri, 27 Jun 2008 14:33:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4864B70F.1050708@xxxxxxxxx>
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: <996CC2698B0C4B1984834A11F26AD9FA@shs1> <48648E15.4060404@xxxxxxxxx><3865721F620647F08CE0D42AD353225E@shs1> <4864B70F.1050708@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjYO/G26Sb9OfNbTuuab9oWljFRRgAYRAaw
Hi

I did include "bootloader = /usr/bin/pygrub" in my config (and the root
partition does have a /boot/grub/menu.lst"), but xm create states that the
bootloader did not return any data.

My root partition is a LVM-based xfs filesystem.

Does pygrub support this? Where can I find documentation about pygrub?


Regards,
  Steffen


(BTW: using debootstraped ubuntu hardy only.)

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Fajar A. Nugraha
> Sent: Friday, June 27, 2008 11:47 AM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Startup-Hook Script ?
> 
> Steffen Heil wrote:
> >>> Reason: I'd like to automatically mount the root drive 
> and copy the 
> >>> kernel and initramdisk to dom0 and unmont again. So 
> updates of the 
> >>> kernel can be done inside the domU.
> >>>       
> >> Is there a reason for not using pyrgub, which does exactly 
> what you 
> >> want with regards to kernel and initrd?
> >>     
> >
> > I've read that pygrub would have some security problems.
> > If this is wrong, please correct me.
> >
> >   
> 
> It HAD one. They fixed it.
> I think the same security problem will also bite you if you 
> implement it manually using home-made script :)
> 
> > However, I also did not find a how-to how to use pygrup.
> >
> >
> >   
> 
> Yeah, that's the thing. Weird, considering it's the default 
> bootloader when installed using virt-manager/virt-install.
> 
> Try here
> http://www.centos.org/docs/5/html/5.2/Virtualization/sect-Virt
> ualization-Tips_and_tricks-Example_guest_configuration_files_a
> nd_parameters.html
> http://www.centos.org/docs/5/html/5.2/Virtualization/sect-Virt
> ualization-Installing_guests-Create_a_guest_using_virt_manager.html
> 
> In short, if your domU has kernel, initrd, and grub config on 
> it (as is the case when installed with virt-manager), you can 
> boot it with pygrub.
> 
> Regards,
> 
> Fajar
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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