[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] Boot steps for DomainVTI on Tiger4


  • To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Yang, Fred" <fred.yang@xxxxxxxxx>
  • Date: Mon, 3 Apr 2006 11:20:53 -0700
  • Delivery-date: Mon, 03 Apr 2006 11:21:14 -0700
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AcZXS1fLEGEwFZvgSWOvF+M61t5GzA==
  • Thread-topic: Boot steps for DomainVTI on Tiger4

DoaminVTI boot steps -

Requirement - Intel Virtualization Technology enabled Itanium 2 
        with Tiger4 platform running firmware greater than PAL5.10

Steps -

1. Follow
http://lists.xensource.com/archives/html/xen-ia64-devel/2006-03/msg00362
.html to boot Xen
     ==> Add "make KERNELS="linux-2.6-xen0 linux-2.6-xenU"  " after
"make world" in XenBuild.sh
     ==> modify corresponding Xen0 and XenU build paths after the first
build

2. Build Linux Disk Image for DomainVTI

3. Prepare for DomainVTI environment

4. boot Linux on DomainVTI


-Fred

===================
Building Linux disk image for DomainVTI

1. Install a RedHat4 or RedHat3 Linux on a Guest Disk.  Note you may not
want to use big disk. 
            a. If you don't have a smaller disk, install root with
smaller size (say 10GB) and not use up all the diak
            b. modify /etc/inittab to only boot "init 3"
2. Insert Guest disk into /dev/sdb of Tiger4
3. Boot native Linux per Step#1 on Tiger4 - note you do want to have a
large boot disk
            a. make sure /dev/sdb is recognized
            b. you may need to modify native Linux  /etc/fstab
from
                        LABEL=/         /       ext3   DEAFULTS   1 1
                                        to
                        /dev/sda3       /       ext3    defaults  1 1
            c. and elilo.conf with  append="root=/dev/sda3"
4. do following to create Disk image for DomainVTI
            dd if=/dev/sdv of=DiskImage bs=512
    if you use smaller root file within a large disk, do
            fdisk /dev/sdb1
            fdisk /dev/sdb2 
            and so forth to identify block count for dd.
    
===================
Setup DomainVTI environment

A. setup Guest Firmware 
> cp Flash.fd /boot/Flash.fd 
Send me mail if you need Flash.fd

B. Setup DomainVTI disk image
> cp DiskImage /var/images/xenia64.img 

===================
Boot Linux on DomainVTI

Reboot system with Xen 
EFI Shell> cd efi\redhat 
EFI Shell> xlilo xen 

DomainVTI bring-up - 
> export PATH=/usr/sbin:/usr/local/sbin:$PATH 
> rm -rf /var/lib/xenstored/* 
> xend start 

if local console booting { 
     > startx 
} else   remote console booting { 
      > /sbin/ifconfig to find out IP address 
      > vncserver 
      > set password "linux64" 
       From remote control console of VNC viewer 
       connected with IP_address:1 
}
 
> xm create -f /etc/xen/xmexample.vti 

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.