Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
vms:ipfire [2015/03/31 18:54] admin [Create VM configuration file] |
vms:ipfire [2015/03/31 19:28] (current) admin [Start the VM] |
||
---|---|---|---|
Line 83: | Line 83: | ||
disk = [ | disk = [ | ||
'file:/opt/xen/X-Local-VMS/ipfire,hda,w', | 'file:/opt/xen/X-Local-VMS/ipfire,hda,w', | ||
- | # for LVM partitions: 'phy:/dev/vg0/ipfire,hda,w', | + | # for LVM partitions: 'phy:/dev/vg0/ipfire,hda,w', |
] | ] | ||
Line 103: | Line 103: | ||
==== Start the VM ==== | ==== Start the VM ==== | ||
---- | ---- | ||
+ | Now we'd like to start the virtual machine. | ||
+ | |||
+ | Unfortunately, we're using the XAPI toolstack which doesn't provide an equivalent to the **xl create <vm> -c**.\\ | ||
+ | Well have to modify the toolstack and reboot (had no time to search how to only reboot the toolstack itself). | ||
+ | |||
+ | <code> | ||
+ | > nano /etc/default/xen | ||
+ | |||
+ | TOOLSTACK=xl | ||
+ | |||
+ | > reboot | ||
+ | </code> | ||
+ | |||
+ | Start the virtual with | ||
+ | <code> | ||
+ | > cd /opt/xen/X-Local-VMS/ | ||
+ | > xl create ipfire -c | ||
+ | </code> | ||
+ | |||
+ | It will boot, do some housekeeping and reboot. During the reboot you will lose your console, and must reconnect. | ||
+ | |||
+ | the -c tells xl to connect you to the console immediately. You can watch as the housekeeping is done (mainly, enlarging the / partition), then you will see the reboot message. When you are back at the DOM0 prompt, reconnect with | ||
+ | <code> | ||
+ | > xl console ipfire | ||
+ | </code> | ||
+ | |||
+ | Then configure the router. Remember, if you are connected over a terminal window on your workstation (likely via ssh), the size of the window should be as close as possible to 80 char x 24 lines. This is an ongoing issue with the scon install, and one that can not be easily fixed. | ||
==== STOP ==== | ==== STOP ==== |