paravirt fc6: pygrub can't read filesystem
Adam Monsen
haircut at gmail.com
Thu Jan 25 06:20:40 UTC 2007
On Fedora Core 6, I created a paravirtualized Xen guest vm. I used
virt-manager to create it: a network-based install of FC6. Everything
appeared to work fine, but after the install completed, the guest VM cannot
start up. pygrub complains about not being able to read the filesystem. Any
ideas?
Here's the error I'm seeing:
# xm create /etc/xen/test3
Using config file "/etc/xen/test3".
Traceback (most recent call last):
File "/usr/bin/pygrub", line 494, in ?
g = Grub(file, isconfig)
File "/usr/bin/pygrub", line 149, in __init__
self.read_config(file, isconfig)
File "/usr/bin/pygrub", line 347, in read_config
raise RuntimeError, "Unable to read filesystem"
RuntimeError: Unable to read filesystem
No handlers could be found for logger "xend"
Error: Boot loader didn't return any data!
Usage: xm create <ConfigFile> [options] [vars]
...
Here's the config file:
# Automatically generated xen config file
name = "test3"
memory = "500"
disk = [ 'tap:aio:/var/xen/vm/test3/disk1.img,xvda,w', ]
vif = [ 'mac=00:16:3e:0c:a0:f5, bridge=xenbr0', ]
vnc=1
vncunused=1
uuid = "1e6b66be-c4f5-62b8-232f-6092a7e20b0e"
bootloader="/usr/bin/pygrub"
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'
And the virtual disk seems ok:
# cd /var/xen/vm/test3
# fdisk -l disk1.img
last_lba(): I don't know how to handle files with mode 81fd
You must set cylinders.
You can do this from the extra functions menu.
Disk disk1.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
disk1.img1 * 1 13 104391 83 Linux
disk1.img2 14 254 1935832+ 8e Linux LVM
I'm using:
kernel-xen-2.6.19-1.2895.fc6
xen-3.0.3-3.fc6
--
Adam Monsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20070124/5bacf240/attachment-0002.html
More information about the users
mailing list