|
|
 |
|
|
|
|
|
|
|
xen-ia64-devel
Re: [Xen-ia64-devel] [FYI] Recipe of build and boot of Xen/IA64
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
|
|
|
|
|