Oracle Audio Technologies E10898-02 manual Populating the Root File System, Configuring the Guest

Models: E10898-02

1 88
Download 88 pages 54.26 Kb
Page 32
Image 32

Creating a Paravirtualized Guest Manually

4.6.2 Populating the Root File System

The root file system for the guest may be populated in a number of ways:

Copying the root file system of dom0

Installing an operating system

1.To copy the root file system of dom0, mount the guest root partition to /mnt:

#mount -t <File system type> <Guest Root Partition> /mnt

Copy the root file system from dom0 to domU:

#rsync -avH /boot /mnt #rsync -avH /root /mnt #rsync -avH /dev /mnt #rsync -avH /var /mnt #rsync -avH /etc /mnt #rsync -avH /usr /mnt #rsync -avH /bin /mnt #rsync -avH /sbin /mnt #rsync -avH /lib /mnt

If your computer is a 64 bit computer, enter

#rsync -avH /lib64 /mnt

Then continue for all computers:

#rsync -avH /selinux /mnt #mkdir /mnt/{proc,sys,home,tmp} #chmod 777 /mnt/tmp

#unmount /mnt

2.Install an operating system. This may be done a number of ways.

Install an Oracle VM Server-enabled operating system from CD-ROMs.

Install an Oracle VM Server-enabled operating system from a network drive, or PXE (Preboot Execution Environment) install.

After you create the root file system for the guest, modify the guest configuration files to reflect its configuration. For example, update /etc/hosts, /etc/fstab and any network configuration files.

4.6.3 Configuring the Guest

You must modify the guest configuration files. To modify the guest configuration files:

1.Edit /mnt/etc/fstab to reflect the mounted file system in the guest.

/dev/sda1 / 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

/dev/hda1 is the root of domU as set up in the configuration file.

2.Edit /mnt/etc/sysconfig/network to include a valid host name. GATEWAY is the same value as dom0.

4-8Oracle VM Server User’s Guide

Page 32
Image 32
Oracle Audio Technologies E10898-02 manual Populating the Root File System, Configuring the Guest