Monday, July 26, 2010

Executing the first simplest kernel

  1. I had a few problems with the correct Xen installation:
  2. When I installed and reinstalled then not all files where installed, e.g., the initrd-img was sometimes not installed. It took some time to discover it. I use the Debian 5.0.5 Lenny distribution and the I use the 3.2.1-2 hypervisor. I had to remove all xen-related files completely from the system 'Remove completely' or something, and then I was able to run the Xen.
  3. Now I took the example from the book: "The Definitive Guide to the Xen Hypervisor," and I modified something.
    • In bootstrap.x86_32.S: PAE = yes
    • domain_config: the path to the kernel
    • kernel.c: commented debug.h and the HYPERVISOR_console
    • and that's it
  4. And then I was able to run my first kernel.