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

Re: [Xen-ia64-devel] [FYI] Recipe of build and boot of Xen/IA64

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-ia64-devel] [FYI] Recipe of build and boot of Xen/IA64
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Thu, 15 Dec 2005 09:50:02 +0900
Delivery-date: Thu, 15 Dec 2005 00:52:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <56C5FCB18511CFtakebe_akio@xxxxxxxxxxxxxx>
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>
References: <56C5FCB18511CFtakebe_akio@xxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Additional infomation

My sortwares version is :
        # mkinitrd --version
        mkinitrd: version 4.2.1.6
        # /usr/bin/udevinfo -V
        udevinfo, version 039

And I fixed my recipe os making OSimg for DomU. 
Please show the below.

>---------------------------------
>Make OSimg for DomU
> 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
>    #1:2345:respawn:/sbin/mingetty tty1
>    #2:2345:respawn:/sbin/mingetty tty2
>    #3:2345:respawn:/sbin/mingetty tty3
>    #4:2345:respawn:/sbin/mingetty tty4
>    #5:2345:respawn:/sbin/mingetty tty5
>    #6:2345:respawn:/sbin/mingetty tty6
>    
> 4. add tty0 into /etc/securetty
>    # vi /mnt/etc/securetty (add tty0)
> 
  5. chkconfig off unnecessary services
     (ex. xfs, sendmail, smartd and so on)
    # chroot /mnt
    # chkconfig <unnecessary services> off


> 6. umount
>    # umount /mnt
>    
>-------------------------------------

Best Regards,

Akio Takebe


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

<Prev in Thread] Current Thread [Next in Thread>