NetBSD/distrib/notes/xen/prep

71 lines
1.3 KiB
Plaintext

.\" $NetBSD: prep,v 1.2 2004/05/13 00:26:25 cl Exp $
.
.(tag instop
.It Em "Domain-0 / privileged" installation
Configure grub to boot the existing
.Nx /i386
installation and the new
.Nx*M
installation:
.(bullet
create the file /grub/menu.lst with the global options like:
. (tag
.It Pa
default 0
.br
timeout 5
.br
root (hd0,3,a)
. tag)
.It
add entries to boot
.Nx /i386 :
. (tag
.It Pa
title NetBSD
.br
kernel -- type=netbsd /netbsd
.It Pa
title NetBSD via chain
.br
rootnoverrify (hd0,3)
.br
chainloader +1
.br
boot
. tag)
.It
add an entry to boot
.Nx*M :
. (tag
.It Pa
title Xen / NetBSD
.br
kernel /grub/xen-1.2.gz dom0_mem=65536
.br
module /grub/xen12load.gz
.br
module /grub/netbsd-GENERIC.gz
. tag)
.bullet)
.Pp
Note: The example configuration above assumes that the
.Nx /i386
installation is on partition wd0a and the
.Nx
slice is the third fdisk partition. Refer to the grub documentation if
your installation is different.
.
.It Em "non-privileged" installation
.(bullet
Create a new partition which will be the root filesystem for the new
installation and mount the newly created partition.
.It
Extract the sets you want installed to the newly created partition.
.It
Copy the netbsd-GENERIC.gz kernel from the distribution into domain-0's
filesystem.
.bullet)
.tag)
.