Skip to content

Instantly share code, notes, and snippets.

@thuandt
Created October 30, 2013 15:56
Show Gist options
  • Save thuandt/7235099 to your computer and use it in GitHub Desktop.
Save thuandt/7235099 to your computer and use it in GitHub Desktop.
Create XenServer USB Install

Installing XenServer 6.2.0 from a USB Stick

  • Download the XenServer 6.2.0 ISO image

  • Format a USB stick using FAT32.

  • Use unetbootin 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.

@J2897
Copy link

J2897 commented Oct 27, 2015

It didn't work for me with the XenServer-6.5.0-xenserver.org-install-cd.iso image, unfortunately...

img_20151027_011338

@J2897
Copy link

J2897 commented Oct 27, 2015

I've just had the exact same problem using the Universal USB Installer (Pendrivelinux). So it could be unique to my hardware as the MD5 sum is fine...

b6a5ce472a0010f5847669e624f06326 XenServer-6.5.0-xenserver.org-install-cd.iso

@J2897
Copy link

J2897 commented Nov 4, 2015

My problem was that I used hard drives pulled from a FreeNAS box that were already formatted in an incompatible format as mentioned here. After I wiped the drives (just zeroing the MBR + partition table will do) everything went smoothly...

dd if=/dev/zero of=/dev/sdX bs=512 count=1

@bogste
Copy link

bogste commented Nov 15, 2015

I confirm that this strategy also works with XenServer version 6.5.0. Drive boots and installer works as expected.

@andrewmichaelsmith
Copy link

On 6.5 I get an error about missing config

@VinceVal
Copy link

Just use Rufus:

image

No need to monkey with SYSLINUX.

@smotti
Copy link

smotti commented Apr 14, 2016

Thanks VinceVal!

With Rufus it worked. But with the other approach it didn't even get to the bootloader.

@djalmacastro
Copy link

PERFECT!!! very very thanks.

@maximino
Copy link

And I also confirm that this strategy works with XenServer version 7.0.0.

@NeilHanlon
Copy link

Etcher (https://etcher.io) Is great and did the trick for me with a troublesome server.

@mauro-miatello
Copy link

with YUMI I've tried to create a multiboot usb key, but xenserver 7 doesn't install, I've error:

Failed to load COM32 file mboot.c32

@facinup
Copy link

facinup commented Nov 3, 2017

With YUMI 2.0.4.6, unlisted ISO (GRUP Partition 4) works.
XenServer 7.0.0

@jrab66
Copy link

jrab66 commented Feb 13, 2018

already reinstalling server using rufus v2.18.1213 in my KVM windows 7 machine.

the others alternatives does not work in my case.

@wandersonnnn
Copy link

@VinceVal, thanks for your help. The Rufus solution has been worked for me!!!

@riaannell
Copy link

Thanks, this helped me create bootdisk for XenServer 7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment