Find the line (network-script network-bridge) and remove the # to uncomment this line.
Find the line (network-script network-dummy) and add a # to commentout this line.
Make sure that (vif-script vif-bridge)
To quickly find these lines rather than scrolling through hit enter while not in insert mode and use a forward slash(/) and type in what you want to match.
Next…
vi /etc/modules
Set loop maxloop = 255
Next…
cd /boot/grub
vi menu.lst~
Scroll down untill you find 4 lines pertaining to xen that do not have a .gz attached to them; remove those lines.
Do this for the 3rd and 4th group of quad lines as well.
After you've removed those 3 groups of 4 lines. There should be one remaining, on the line speficied as Kernal change it to match..
kernel /boot/xen-3.2-1-i386.gz dom0_mem=262144
Next…
cd /etc/xen-tools
vi xen-tools.conf
Search for the line #dir = /home/xen
Remove the # and /home from the line. It should look like dir = /xen
Uncomment install-method = debootstrap
Down a little further find the “Disk and Sizing options” section and change the following…
size = 2Gb
dist = lenny
Down further find the line that says dhcp = 1, and uncomment.
Going further, the line passwd = 1, uncomment.
serial_device = hvc0 #default, uncomment at the beginning of the line, leave the #default alone.
A couple lines down, disk_device = xvda #default, uncomment, leave #default the same.
At the bottom of the file uncomment and change the output line to match
output = /xen/conf
And the same for the extention line, it should read as..
extension = .cfg
Next
cd /
mkdir /xen
mkdir /xen/images
mkdir /xen/conf
mkdir /xen/save
These can all be done at the same time, like…
mkdir /xen /xen/images /xen/conf /xen/save
At this point you should reboot, and see your final product up and running!
notes/hpc0/kdenson_projects/project_3.txt · Last modified: 2010/05/13 18:48 by kdenson