WHAT'S HOT
Prev | Current Page 43 | Next

Prabhakar Chaganti

"Xen Virtualization: A Practical Handbook"

Copy the special device files that are used by NetBSD.
# mount /dev/xbd0a /mnt
# cp -pR /dev/rxbd* /mnt/dev
# cp -pR /dev/xbd* /mnt/dev
Chapter 3
[ 43 ]
11. NetBSD provides access to only one console for the guest. In Edit /etc/
ttys, turn off all the terminals except console.
console "/usr/libexec/getty Pc" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" vt220 off secure
ttyE1 "/usr/libexec/getty Pc" vt220 off secure
ttyE2 "/usr/libexec/getty Pc" vt220 off secure
ttyE3 "/usr/libexec/getty Pc" vt220 off secure
12. Similarly comment out all the screens in /etc/wscons.conf.
#screen 0 - vt100
#screen 1 - vt100
#screen 2 - vt100
#screen 3 - vt100
#screen 4 - -
#screen 4 80x25bf vt100
13. Shut down the install.
# halt -p
14. Modify the domain configuration file in order to use the standard NetBSD
domU kernel instead of the installation kernel.
kernel = "/boot/netbsd-XEN3_DOMU"
15. Reboot the domain using the domU netbsd kernel:
oot # xm create /home/pchaganti/xen-images/netbsd_domU.cfg -c
This will boot you to the NetBSD prompt. Login with the username and password
you set as a part of the install.
Creating Virtual Machines
[ 44 ]
What Just Happened?
We installed NetBSD the system to a file image by using the install kernel and
following the NetBSD installation documentation. We then modified and configured
the NetBSD system. Finally we booted the guest domain using the kernel provided.
NetBSD also provides support for creating a Xen dom0.


Pages:
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55