|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] Build & Boot Dom0 for Tiger4 system
Know-How to Build & boot Domain0 on a same Tiger4 system
1. Requirements -
a. Tiger4 system with Disk size more than 40GB, better to have 60GB
b. IA64 Linux RHEL4 Update2
c. Perform all the following operations in SuperVisor mode
2. Preparing target tiger4 system
a. Install "complete" RHEL4U2 disk by "customize install"
"everything"
b. Check to have SDL installed
> rpm -q -a | grep SDL
SDL-1.2.7-8 SDL-devel-1.2.7-8
3. Download and install mercurial HG tool from
http://www.selenic.com/mercurial/wiki/index.cgi/UnixInstall
>tar xvzf mercurial-0.7.tar.gz
>cd mercurial-0.7
>python setup.py install
Note: XenBuild.sh (Xen building) depends mercurial-0.7 version c.
4. Download and Build Xen
goto your prefer local directory To build
Modify XenBuild.sh to reflect your local proxy server
export http_proxy=http://proxy.xxx.yyy.com:911
> XenBuild.sh or XenBuild.sh Cset# (XenBuild.sh see end of the
mail)
5. Add elilo Xen entry
Add following config to end of /boot/efi/efi/redhat/elilo.conf
image=vmlinux-2.6-xen0.gz
label=xen
vmm=xen.gz
initrd=initrd-2.6-xen0.img
read-only
append="com2=57600,8n1 console=com2 sched=bvt --
nomca console=tty0 console=ttyS1,57600 root=/dev/sda3"
(root=/dev/sda3 should match
with local disk with "mount" command)
6. Copy Xen-enabled elilo.conf
> cp ~/XenTree/xen/arch/ia64/tools/xelilo/xlilo.efi
/boot/efi/efi/redhat/elilo.efi
or you can keep the original elilo.efi for legacy Linux
boot and use "xlilo xen" for Xen boot only
7. Domain0 Boot
EFI Shell> cd efi\redhat
EFI Shell> xlilo xen
========= XenBuild.sh ========
XenTree="$1"
${XenTree:="tip"}
echo ==== $XenTree
XenHome=`pwd`
XenPath=$XenHome/$XenTree
echo "Build place $XenPath"
echo "XenHome $XenHome"
echo "checking out code for $XenTree"
rm -rf $XenTree
export http_proxy=http://proxy.xxx.yyy.com:911
hg clone http://xenbits.xensource.com/ext/xen-ia64-unstable.hg $XenTree
cd $XenTree
hg co $XenTree
make clean
make world
make install-tools
rm -rf /boot/efi/efi/redhat/xen.gz
rm -rf /boot/efi/efi/redhat/vmlinux-2.6.16-rc5-xen0
rm -rf /boot/efi/efi/redhat/vmlinux-2.6.16-rc5-xen0.gz
cp -f xen/xen.gz /boot/efi/efi/redhat
cp -f linux-2.6.16-rc5-xen0/vmlinux
/boot/efi/efi/redhat/vmlinux-2.6-xen0
cp -f linux-2.6.16-rc5-xen0/vmlinux.gz
/boot/efi/efi/redhat/vmlinux-2.6-xen0.gz
cd linux-2.6.16-rc5-xen0
make modules_install
/sbin/mkinitrd -f /boot/efi/efi/redhat/initrd-2.6-xen0.img
2.6.16-rc5-xen0 --builtin mptbase --builtin mptscsih
Sync;sync
cd $XenHome/$XenTree
export PATH=/usr/local/sbin:/usr/sbin:$PATH
cd dist
./install.sh
echo "======== Please double check if any error from this install"
sync;sync
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-ia64-devel] Build & Boot Dom0 for Tiger4 system,
Yang, Fred <=
|
|
|
|
|