11.2, xen and ext4

Hello,
I have a fresh install of 11.2 rc 2. I’ve decided to try xen virtualization to host windows (xp or 7, I’ll see…). However I cannot get it working.

My root system is on ext4 and it looks like xen isn’t capable of coping with it. The installation erased menu.lst, but I’ve managed to write it again. Xen starts, but when it gives control to dom0 (disappears (XEN) in the beginning of each line), it fails with error that it couldn’t mount root partition because of unknown filesystem - ext4. I cannot rewrite the exact error message because it’s quite long and I don’t know how to save it when I have only /bin/sh (i.e. no bash, dash or something).

Maybe I have menu.lst wrong and/or there is no ext4 support in initrd or maybe there is wrong initrd specified. The relevant entry is this:

title Kernel-xen
    root (hd0,4)
    kernel /boot/xen-3.4.1_19718_03-1.7.gz
    module /boot/vmlinuz-2.6.31.3-1-xen resume=/dev/sda3 splash=silent showopts vga=0x323
    module /boot/initrd-2.6.31.3-1-xen

Here’s whats in /boot:

linux-l0al:/home/garion # ls -l /boot/
celkem 40464
-rw------- 1 root root     512  4.*lis 19.12 backup_mbr
lrwxrwxrwx 1 root root       1 29.*říj 14.45 boot -> .
-rw-r--r-- 1 root root    1236 24.*říj 02.42 boot.readme
-rw-r--r-- 1 root root       0 12.*říj 20.58 config-2.6.31.3-1-xen
-rw-r--r-- 1 root root  108796 27.*říj 11.19 config-2.6.31.5-0.1-default
drwxr-xr-x 2 root root    4096  4.*lis 21.13 grub
lrwxrwxrwx 1 root root      27  4.*lis 19.16 initrd -> initrd-2.6.31.5-0.1-default
lrwxrwxrwx 1 root root      21  4.*lis 18.53 initrd-xen -> initrd-2.6.31.3-1-xen
-rw-r--r-- 1 root root 7565458  4.*lis 19.16 initrd-2.6.31.3-1-xen
-rw-r--r-- 1 root root 8153079  4.*lis 19.16 initrd-2.6.31.5-0.1-default
-rw-r--r-- 1 root root  164376 19.*říj 21.21 memtest.bin
-rw-r--r-- 1 root root  411648  4.*lis 19.16 message
-rw-r--r-- 1 root root  169854 12.*říj 20.59 symvers-2.6.31.3-1-xen.gz
-rw-r--r-- 1 root root  172658 27.*říj 11.19 symvers-2.6.31.5-0.1-default.gz
-rw-r--r-- 1 root root 1324800 12.*říj 20.12 System.map-2.6.31.3-1-xen
-rw-r--r-- 1 root root 1385997 27.*říj 10.58 System.map-2.6.31.5-0.1-default
lrwxrwxrwx 1 root root      28 29.*říj 14.45 vmlinuz -> vmlinuz-2.6.31.5-0.1-default
lrwxrwxrwx 1 root root      22  4.*lis 18.53 vmlinuz-xen -> vmlinuz-2.6.31.3-1-xen
-rw-r--r-- 1 root root 3154279 12.*říj 20.13 vmlinuz-2.6.31.3-1-xen
-rw-r--r-- 1 root root 3672800 27.*říj 10.59 vmlinuz-2.6.31.5-0.1-default
lrwxrwxrwx 1 root root      29  4.*lis 20.20 xen-dbg.gz -> xen-dbg-3.4.1_19718_03-1.7.gz
lrwxrwxrwx 1 root root      29  4.*lis 20.20 xen-dbg-3.gz -> xen-dbg-3.4.1_19718_03-1.7.gz
lrwxrwxrwx 1 root root      29  4.*lis 20.20 xen-dbg-3.4.gz -> xen-dbg-3.4.1_19718_03-1.7.gz
-rw-r--r-- 1 root root  481324  9.*říj 14.44 xen-dbg-3.4.1_19718_03-1.7.gz
lrwxrwxrwx 1 root root      25  4.*lis 20.20 xen.gz -> xen-3.4.1_19718_03-1.7.gz
lrwxrwxrwx 1 root root      27  4.*lis 20.20 xen-syms -> xen-syms-3.4.1_19718_03-1.7
lrwxrwxrwx 1 root root      31  4.*lis 20.20 xen-syms-dbg -> xen-syms-dbg-3.4.1_19718_03-1.7
-rw-r--r-- 1 root root 6998442  9.*říj 14.44 xen-syms-dbg-3.4.1_19718_03-1.7
-rw-r--r-- 1 root root 7124565  9.*říj 14.46 xen-syms-3.4.1_19718_03-1.7
lrwxrwxrwx 1 root root      25  4.*lis 20.20 xen-3.gz -> xen-3.4.1_19718_03-1.7.gz
lrwxrwxrwx 1 root root      25  4.*lis 20.20 xen-3.4.gz -> xen-3.4.1_19718_03-1.7.gz
-rw-r--r-- 1 root root  499018  9.*říj 14.46 xen-3.4.1_19718_03-1.7.gz

Any ideas what might be wrong? Thanks in advance!

If you install 11.2 including Xen Host in Software ,
you’ll get a proper grub entry automatically