This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
system:install_guides:xen:newvm [2008-04-03T19:20:41+0000] nathank |
system:install_guides:xen:newvm [2022-01-28T05:25:02+0000] michael_paoli |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Creation of a new VM | + | ====== New VM Setup Guide ====== |
+ | |||
+ | **All commands unless otherwise noted are done though sudo** | ||
- | All commands unless other wise noted are done though sudo | ||
1. run vgdisplay should show something like.. | 1. run vgdisplay should show something like.. | ||
Line 30: | Line 31: | ||
**Free PE / Size 5224 / 163.25 GB** Our current free space. We now need to cut a chunk out. | **Free PE / Size 5224 / 163.25 GB** Our current free space. We now need to cut a chunk out. | ||
- | 2. lvcreate -L50G -nSandbox VolGroup00 - This will give us a new 50G volume we can use for our new VM. | + | 2. lvcreate -L50G -n<newvm> VolGroup00 - This will give us a new 50G volume we can use for our new VM. See it with lvdisplay |
+ | |||
+ | **NOTE**: From here on out you will need X forwarding until a fix is found for the console. | ||
3. virt-manager (works with ssh -X ..) FIXME | 3. virt-manager (works with ssh -X ..) FIXME | ||
- | 4. | + | 4. enter root password FIXME should be able to sudo somehow |
+ | |||
+ | 5. connect to local xen | ||
+ | |||
+ | 6. once inside virt-manager, Select File/New Machine | ||
+ | |||
+ | 7. Enter a name | ||
+ | |||
+ | 8. Select type of virt method, use fully virt if possible. | ||
+ | |||
+ | 9. Browse or type path to location of ISO file | ||
+ | |||
+ | 10. Select normal disk partition, path should be /dev/VolGroup00/<newvm> | ||
+ | 11. Select the memory usage and cpus to use. | ||
+ | |||
+ | 12. Hit finish and wait.. if the vm console shows up go to step 14. | ||
+ | |||
+ | 13. The new vm should show up in virt-manager's main window select it and click open. | ||
+ | |||
+ | 14. Proceed with install.. | ||
+ | |||
+ | 15. once finished the system may not reboot, just goto to the console and type xm create <newvm>. | ||
+ | |||
+ | To access the console inside virt-manager select the domain and click open. |