Changes between Version 14 and Version 15 of DomUImage

Show
Ignore:
Timestamp:
11/21/08 14:02:33 (10 years ago)
Author:
ibaldin (IP: 152.54.9.131)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DomUImage

    v14 v15  
    55== CentOS 5.2 == 
    66 
     7=== Building a standalone image and booting stock kernel === 
    78BEN 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. 
    89 
     
    2930 1. To add java follow instructions here: http://wiki.centos.org/HowTos/JavaOnCentOS 
    3031 
    31 === Building a Centos Xen kernel === 
     32=== Modifying the image for NFS root mount === 
     33Edit /etc/fstab in the image to have the root point to /dev/nfs: 
     34{{{ 
     35/dev/nfs       /       defaults     0 0 
     36}}} 
     37 
     38=== Building a Centos Xen kernel for NFS root mount === 
    3239 
    3340 * Follow instructions here to get kernel source with Centos patches http://wiki.centos.org/HowTos/I_need_the_Kernel_Source (don't forget the xen src rpm). 
     
    5966}}} 
    6067 * Gather the modules from /lib/modules/2.6.8-<your prefix> and put them in the NFS image 
    61  * Use the kernel to boot 
     68 * Deploy image somewhere over NFS 
     69 * Use the kernel to boot using a config file like this one: 
     70{{{ 
     71kernel = "vmlinuz-nfsroot" 
     72memory = 256 
     73name = "centos-5.2" 
     74vif = [ 'bridge=xenbr1', 'bridge=slice1' ] 
     75root = "/dev/nfs" 
     76interface = "eth0" 
     77ip = "192.168.201.55" 
     78netmask = "255.255.255.0" 
     79gateway = "192.168.201.1" 
     80nfs_server = "192.168.201.12" 
     81nfs_root = "/vm/centos-5.2/loop" 
     82}}}