Log in

No account? Create an account
Xen 3.0.4 and some experiments 
I have been trying to run Xen on some machines. Here are some points which I had to learn the hard way (mostly because I was trying things on a messed up system, so most of the below stuff may not applicable to typical systems):
  • The initrd of Xen may not have the disk driver that is required for your system. Hint: Use --preload option of "mkinitrd" to get your disk driver loaded before other modules.
  • Xen console uses /dev/pts/*. So make sure devpts is mounted. Hint: Fedora uses will have it already mounted via mention in /etc/fstab.
  • Xen "xenstore -ls" gives you better understanding of the devices which the xen dom U uses. Very useful while debugging issues with xen devices, such as consoles.
  • Looks like DomU kernels are not packaged and placed for Fedora et. al. Just get the src installed and compile the domU kernel using - make KERNELS="linux-2.6-xenU"

Here are some linux tips related to initrd which comes very handy (aha.. finally i have documented it here, so no more google searching every time i need it ;-))
  • To create an initrd image, run the following in the directory which will become the root of the image:
    •  find . | cpio -c -o | gzip -9 > initrd.img
  • To extract the initrd image, run the following:
    • cat initrd.img | gunzip | cpio -ivd
This page was loaded Mar 24th 2018, 5:45 am GMT.