| | 1 | Run the following command (modify as needed): |
| | 2 | |
| | 3 | {{{ |
| | 4 | 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 |
| | 5 | }}} |
| | 6 | |
| | 7 | Create new LVM virtual volumes, for example: |
| | 8 | |
| | 9 | {{{ |
| | 10 | lvcreate --size=5GB --name=peltier-var vg_gramsci0 |
| | 11 | lvcreate --size=5GB --name=peltier-usr vg_gramsci0 |
| | 12 | lvcreate --size=5GB --name=peltier-srv vg_gramsci0 |
| | 13 | }}} |
| | 14 | |
| | 15 | Then, edit /etc/xen/peltier.cfg, modifying the disk line to be something like this: |
| | 16 | |
| | 17 | {{{ |
| | 18 | 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'] |
| | 19 | }}} |
| | 20 | |
| | 21 | Then, start the server with: |
| | 22 | |
| | 23 | {{{ |
| | 24 | xm create -c peltier.cfg |
| | 25 | }}} |
| | 26 | |
| | 27 | Login as root (no password). |
| | 28 | |
| | 29 | Set the password. |
| | 30 | |
| | 31 | Then exit. To get rid of the login screen and return to the dom0, hit ctrl-]. |