wiki:install_xen_domU

Version 1 (modified by Jamie McClelland, 12 years ago) (diff)

--

Run the following command (modify as needed):

xen-create-image --size=1Gb --memory=750MB--swap=512Mb --gateway=209.51.163.1 --netmask=255.255.255.224 --ip=209.51.163.6 --hostname=peltier

Create new LVM virtual volumes, for example:

lvcreate --size=5GB --name=peltier-var vg_gramsci0
lvcreate --size=5GB --name=peltier-usr vg_gramsci0
lvcreate --size=5GB --name=peltier-srv vg_gramsci0

Then, edit /etc/xen/peltier.cfg, modifying the disk line to be something like this:

disk    = [ 'phy:vg_gramsci0/peltier-disk,sda1,w', 'phy:vg_gramsci0/peltier-swap,sda2,w', 'phy:vg_gramsci0/peltier-var,sda3,w', 'phy:vg_gramsci0/peltier-usr,sda4,w', 'phy:vg_gramsci0/peltier-srv,sda5,w']

Then, start the server with:

xm create -c peltier.cfg

Login as root (no password).

Set the password.

Then exit. To get rid of the login screen and return to the dom0, hit ctrl-].