[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: Mon, 30 Jun 2008 07:57:19 +0700
  • Delivery-date: Sun, 29 Jun 2008 17:57:59 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Steffen Heil wrote:
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.

I don't think pygrub supports xfs. Try ext3.
On xen-3.2.1 pygrub supports ext2/3, fat, iso9660, reiserfs, and ufs. Since I use pygrub from xen-unstable, I also have zfs support.

Try this :
pygrub -i /dev/your_vg/your_lv ;echo

On a properly-configured-and-recognized root, pygrub will popup a grub-like boot menu.
If the fs type is not recognized, pygrub fill show something like :

Traceback (most recent call last):
 File "/usr/bin/pygrub", line 655, in ?
   fs = fsimage.open(file, get_fs_offset(file))
IOError: [Errno 95] Operation not supported

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®.