Setting boot order for domUs

From Xen
Revision as of 14:39, 24 September 2012 by Lars.kurth (talk | contribs)

How to change the boot order (boot sequence) in Xen PV and HVM guests.

HVM guests

Use the boot parameter:

  1. boot on floppy (a), hard disk (c), Network (n) or CD-ROM (d)
  2. default: hard disk, cd-rom, floppy

boot="cda"

Put the letters in order from left to right, the drive corresponding to the first letter on the left is going to be the one that boots first. For example if you want to boot from cd-rom first, then from the network and lastly from the hard-disk, this is what you need to set your boot parameter to:

boot="dnc"