WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] Boot steps for DomainU

To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] Boot steps for DomainU
From: "Yang, Fred" <fred.yang@xxxxxxxxx>
Date: Mon, 27 Mar 2006 13:01:14 -0800
Delivery-date: Mon, 27 Mar 2006 21:02:36 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZR4ZU/q/vMAu2oS2ymhcfuCemp+g==
Thread-topic: Boot steps for DomainU
People are asking how to boot DomainU, so here is --

1. Follow
http://lists.xensource.com/archives/html/xen-ia64-devel/2006-03/msg00362
.html to build the Xen and Domain0/U binary

2. Follow DomainU image creation steps described bellow

3. Create boot config file for DomainU

4. Follow DomainU boot steps bellow

-Fred


=================
DomainU image creation steps 

1. make file 
# dd if=/dev/zero of=/root/rhel4.img bs=1M count=4096 
# mke2fs -F -j /root/rhel4.img 
# mount -o loop /root/rhel4.img /mnt 
# cp -ax /{dev,var,etc,usr,bin,sbin,lib} /mnt 
# mkdir /mnt/{root,proc,sys,home,tmp} 

2. modify DomU's fstab 
# vi /mnt/etc/fstab 
         /dev/hda1 / ext3 defaults 1 1 
         none /dev/pts devpts gid=5,mode=620 0 0 
         none /dev/shm tmpfs defaults 0 0 
         none /proc proc defaults 0 0 
         none /sys sysfs defaults 0 0 

3. modify inittab (runlevel and tty) 
# vi /mnt/etc/inittab 
    id:3:initdefault: 
# Run gettys in standard runlevels 
    1:2345:respawn:/sbin/mingetty tty0<<<<<<<add this line 
    2:2345:respawn:/sbin/mingetty tty1 
    3:2345:respawn:/sbin/mingetty tty2 
    4:2345:respawn:/sbin/mingetty tty3 
    5:2345:respawn:/sbin/mingetty tty4 
    6:2345:respawn:/sbin/mingetty tty5 
    7:2345:respawn:/sbin/mingetty tty6 

add tty0 into /etc/securetty 
# vi /mnt/etc/securetty (add tty0)<<<<<<<<add this line 

umount 
# umount /mnt 

===================
DomainU Config file

# vi /etc/xen/xmexample 
kernel = "/boot/vmlinux-2.6.12-xenU" 
memory = 256 
name = "rhel4" 
nics=0 
disk = [ 'file:/root/rhel4.img,hda1,w' ] 
root = "/dev/hda1 ro" 
extra = "3" 

===================
DomainU Boot Steps

1. After booting Xen with Domain0 XenLinux from
http://lists.xensource.com/archives/html/xen-ia64-devel/2006-03/msg00362
.html 
2. xend start
3. Start DomainU by
    xm create -c /etc/xen/xmexample 

_______________________________________________
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] Boot steps for DomainU, Yang, Fred <=