Most servers nowadays don’t ship with optical drives by default. This means that operating systems need to be installed over the network or via USB. I recently had to upgrade a XenServer 6.1.0 host to version 6.2.0. Here are the steps I followed to get a working USB stick:
- Download the XenServer 6.2.0 ISO image (http://downloadns.citrix.com.edgesuite.net/7281/XenServer-6.2.0-install-cd.iso)
- Format a USB stick using FAT32.
- Use unetbootin (http://unetbootin.sourceforge.net/) to install the ISO to the USB stick. Use the “DiskImage” option instead of the “Distribution” one, and point it right to the ISO file.
- Now we need to fix up some boot stuff:
- All paths are relative to the root of the USB drive.
- mv boot/isolinux/isolinux.cfg boot/isolinux/syslinux.cfg
- mv boot/isolinux boot/syslinux
- mv syslinux.cfg syslinux.cfg.bak
- Unmount the USB drive and eject it.
- Boot from the USB stick.
If you get a “kernel not found” error at boot, double check that you renamed all the files properly.
Now you should have a working, bootable USB stick to install/upgrade XenServer!