Changes between Version 1 and Version 2 of DomUImage

Show
Ignore:
Timestamp:
11/17/08 22:38:44 (10 years ago)
Author:
ibaldin (IP: 98.26.121.245)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DomUImage

    v1 v2  
    11= Creating ORCA-compatible DomU images =  
    22 
     3This procedure describes building an ORCA-compatible DomU image in step-by-step fashion. 
     4 
     5== CentOS 5.2 == 
     6 
     7BEN ORCA deployment uses CentOS 5.2, so it is uses as a basis for building a DomU. These instructions should translate into other !RedHat derivatives and near-term future versions. 
     8 
     9 1. We assume that CentOS was installed with virtualization (typically means that Xen and libvirt have been installed) and booted into Xen kernel 
     10 1. NOTE: Disable libvirtd - it only gets in the way (chkconfig --level 123456 libvirtd off) 
     11 1. Acquire a filesystem image from http://www.jailtime.org (it has minimal filesystem images available for many distributions) 
     12 1. Build a Xen-compliant initrd for the kernel of your choice (mkinitrd --with=xennet --preload=xenblk /wherever/you/want/to/put/initrd-<kernel version>.domU.img `uname -r`) 
     13 1. Modify the config file that came from jailtime.org to match your kernel and initrd and disk image locations 
     14 1. Mount the image and modify it to your liking (mount -o loop /where/the/image/is /loop/mount/point), e.g. change the IP address assignment 
     15 1. Start the vm (vm create <config file>). With CentOS the last thing the console showed was sshd starting. 
     16 1. SSH into it and use Yum to add whatever software you need 
     17