Jump to: navigation, search

Difference between revisions of "XenServer/BootFromISO"

(Create an ISO SR)
(Create an ISO SR)
Line 8: Line 8:
  
 
Now you can create the ISO SR:
 
Now you can create the ISO SR:
 +
 
<code>
 
<code>
sr_uuid=$(xe sr-create name-label=LocalISO type=iso device-config:location=/var/run/sr-mount/<yourguid>/iso device-config:legacy_mode=true content-type=iso)
+
sr_uuid=$(xe sr-create name-label=LocalISO type=iso device-config:location=/var/run/sr-mount/<yourguid>/iso device-config:legacy_mode=true content-type=iso)<br />
 
xe sr-param-set other-config:i18n-key=local-storage-iso uuid=$sr_uuid
 
xe sr-param-set other-config:i18n-key=local-storage-iso uuid=$sr_uuid
 
</code>
 
</code>

Revision as of 12:20, 20 March 2013

Here are some of the required steps to boot from ISO using XenServer.

TODO: this is a work in progress.

Create an ISO SR

First find the location of your EXT3 SR, and create a subdirectory called iso or similar.

Now you can create the ISO SR:

sr_uuid=$(xe sr-create name-label=LocalISO type=iso device-config:location=/var/run/sr-mount/<yourguid>/iso device-config:legacy_mode=true content-type=iso)
xe sr-param-set other-config:i18n-key=local-storage-iso uuid=$sr_uuid

Import ISO into Glance

Import and ISO file using format=iso

Start VM

Now start the above image, but using a flavor with >0GB of disk.