Ted Kaczmarek wrote:
Paste your domU config and an ls of /boot, that should help.
"broken" domU config:
#kernel = "/boot/vmlinuz-2.6-xenU"
kernel = "/boot/vmlinuz-2.6.16-1.2080_FC5xenU"
ramdisk= "/boot/initrd-1.6.16-1.2080_FC5xenU.img"
memory = 128
name = "fedora.fc5"
#nics = 1
vif = [ '' ]
dhcp = "dhcp"
disk = ['file:/var/xen/xen-get-fedora/fedora.fc5.img,sda1,w',
'file:/var/xen/xen-get-fedora/fedora.swap,sda2,w']
root = "/dev/sda1 ro"
#bootloader="/usr/bin/pygrub"
like this, I get:
Using config file "/etc/xen/xen-get-fedora".
Error: Error creating domain: Kernel image does not exist:
/boot/vmlinuz-2.6.16-1.2080_FC5xenU
[root@localhost ~]# ls -l /boot/
total 12741
-rw-r--r-- 1 root root 63847 Mar 14 22:19 config-2.6.15-1.2054_FC5smp
-rw-r--r-- 1 root root 59663 Mar 28 11:27 config-2.6.16-1.2080_FC5xen0
-rw-r--r-- 1 root root 28213 Mar 28 11:38 config-2.6.16-1.2080_FC5xenU
drwxr-xr-x 2 root root 1024 Apr 8 14:42 grub
-rw-r--r-- 1 root root 1788626 Apr 8 11:40 initrd-2.6.15-1.2054_FC5smp.img
-rw-r--r-- 1 root root 1790016 Apr 8 12:26 initrd-2.6.16-1.2080_FC5xen0.img
-rw-r--r-- 1 root root 1601032 Apr 8 12:26 initrd-2.6.16-1.2080_FC5xenU.img
drwx------ 2 root root 12288 Apr 8 13:35 lost+found
-rw-r--r-- 1 root root 831559 Mar 14 22:19 System.map-2.6.15-1.2054_FC5smp
-rw-r--r-- 1 root root 814854 Mar 28 11:27 System.map-2.6.16-1.2080_FC5xen0
-rw-r--r-- 1 root root 637766 Mar 28 11:38 System.map-2.6.16-1.2080_FC5xenU
-rw-r--r-- 1 root root 1564844 Mar 14 22:19 vmlinuz-2.6.15-1.2054_FC5smp
-rw-r--r-- 1 root root 1529298 Mar 28 11:27 vmlinuz-2.6.16-1.2080_FC5xen0
-rw-r--r-- 1 root root 1232494 Mar 28 11:38 vmlinuz-2.6.16-1.2080_FC5xenU
-rw-r--r-- 1 root root 265927 Mar 28 10:35 xen.gz-2.6.16-1.2080_FC5
-rwxr-xr-x 1 root root 734680 Mar 28 12:04 xen-syms-2.6.16-1.2080_FC5
When I remove the comment before the bootloader line, I get:
Using config file "/etc/xen/xen-get-fedora".
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 working config generated by the fedora5 script described in the wiki
looks like:
# Automatically generated xen config file
name = "fedora-simple"
memory = "256"
disk = [ 'file:/var/xen/fedora-simple,xvda,w' ]
vif = [ 'mac=00:16:3e:16:03:83' ]
bootloader="/usr/bin/pygrub"
on_reboot = 'restart'
on_crash = 'restart'
I have no problems with any of the images from jailtime.org
or any of the ones I spun using rpm. These are the same images that I had
running on Xen since pre 3.0 from hg checkouts sometime in November of
last year.
I'll see if I can try the same with a jailtime image instead. This can
take a while because the hardware I had for testing will not be
available much longer.
Henning