We are going to look into all the bells and
whistles provided by xm in the next chapter. We can use this bootstrapping method
to install any guest domains that are based on Debian. If we want to install Debian,
all the steps will be the same except that when we initially run debootstrap, we modify
the parameters to specify Debian etch.
debootstrap --arch i686 etch /home/pchaganti/xen-
mounts/debian_etch_domU http://ftp.us.debian.org/debian
??? ??? ???
???
??? ???
Creating Virtual Machines
[ 40 ]
NetBSD
NetBSD is a secure and highly portable Unix like operating system that runs
on a wide variety of platforms??”from 64 bit servers to embedded devices
(http://netbsd.org/). It provides binary emulation for applications built on other
platforms, and can thus run most binaries built on Linux without any modification
or recompilation. The recent versions of NetBSD starting with version 3.0 provide
native support for Xen. We are going to install the latest released version 3.1 in a
guest domain.
Time for Action??”Install NetBSD
Let's get started installing NetBSD 3.1 in a guest domain.
The NetBSD distribution provides two Xen enabled kernels for NetBSD??”one
for running the installation, and the other for actually running the NetBSD
operating system.
1. Download these files first.
~ wget ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-
3.1/i386/binary/kernel/netbsd-*XEN3_DOMU.gz
~ zcat netbsd-INSTALL_XEN3_DOMU.gz > /boot/netbsd-
INSTALL_XEN3_DOMU
~ zcat netbsd-XEN3_DOMU.
Pages:
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53