Changes between Version 4 and Version 5 of Xen_Installation


Ignore:
Timestamp:
Apr 16, 2008, 6:03:27 PM (16 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Xen_Installation

    v4 v5  
    2727}}}
    2828
     29[[BR]]
     30[[BR]]
    2931== Xen Operation ==
    30 === Install Guest (DomU) ===
     32=== Install Guest OS (DomU) ===
    3133 * Install Guest OS
    3234{{{
     
    5456$ sudo vim /etc/network/interfaces
    5557$ sudo cp /etc/apt/sources.list /mnt/etc/apt/
     58$ sudo cp -r /lib/modules/2.6.18-6-xen-686/ /mnt/lib/modules/
     59
     60$ sudo chroot /mnt
     61$ passwd root
     62$ adduser rock
     63$ sudo umount /mnt
     64}}}
     65[[BR]]
     66 * Edit Guest OS configuration
     67{{{
     68$ sudo vim /home/xen_img/etch.cfg
     69# Kernel image
     70kernel = "/boot/vmlinuz-2.6.18-6-xen-686"
     71ramdisk = "/boot/inird.img-2.6.18-6-xen-686"
     72# Domain name
     73name = "etch"
     74# 0achine information
     75vcpus = 4
     76memory = 256
     77disk = ['file:/home/xen_img/etch.img,hda1,w','file:/home/xen_img/etch.swap,hda2,w']
     78vif = ['mac=00:00:00:00:00:01,bridge=xenbr1']
     79}}}
     80 * Guest OS problem
     81{{{
     82$ mount /home/xen_img/etch.img /mnt
     83$ chroot /mnt
     84
     854gb seg fixup problem:
     86$ aptitinstall libc6-xen
     87
     88locale problem:
     89$ aptitinstall install locales
     90$ dpkg-reconfigure -a locale
     91$ tzxonfig
    5692}}}
    5793
     94[[BR]]
    5895[[BR]]
    5996= Refrenece =