[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Startup-Hook Script ?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • Date: Fri, 27 Jun 2008 16:46:55 +0700
  • Delivery-date: Fri, 27 Jun 2008 02:47:49 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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-Virtualization-Tips_and_tricks-Example_guest_configuration_files_and_parameters.html
http://www.centos.org/docs/5/html/5.2/Virtualization/sect-Virtualization-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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.