[Fedora-xen] Xen and LVM

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

 



Hello.

I'm having problems using xenguest-install.py when trying to install a
FC5 DomU into an LVM volume:

# xm create -c Download
Using config file "/etc/xen/Download".
Traceback (most recent call last):
 File "/usr/bin/pygrub", line 256, in ?
   cf = get_config(file, isconfig)
 File "/usr/bin/pygrub", line 119, in get_config
   fs = fstype.open_fs(fn, offset)
 File "/usr/lib/python2.4/site-packages/grub/fsys/ext2/__init__.py",
line 35, in open_fs
   return Ext2Fs(fn, offset = offset)
ValueError: unable to open file
Error: Boot loader didn't return any data!

The volume was formatted by using mkfs.ext3.

# stat /dev/Main/Download
 File: `/dev/Main/Download' -> `/dev/mapper/Main-Download'
 Size: 25              Blocks: 0          IO Block: 4096   symbolic link
Device: fh/15d  Inode: 5571        Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2006-04-15 18:51:46.000000000 +0200
Modify: 2006-04-15 18:36:13.501729841 +0200
Change: 2006-04-15 18:36:13.501729841 +0200

This is the domain configuration file:

# Automatically generated xen config file
name = "Download"
memory = "256"
disk = [ 'phy:Main/Download,xvda,w' ]
#disk = [ 'phy:/dev/Main/Download,xvda,w' ]
vif = [ 'mac=00:16:3e:0c:b1:ef' ]
bootloader="/usr/bin/pygrub"

on_reboot   = 'restart'
on_crash    = 'restart'

Any ideas?
Thanks.


[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux