How To Install XenServer 5.6 Beta to external USB

By Trond Eirik Haavarstein 29/03/2010 – 12:00

Citrix XenServer 5.6 Beta 300x224 How To Install XenServer 5.6 Beta to external USB

The Citrix XenServer 5.6 Beta is out and I would like to update one of my most popular blog posts. Here is instructions and also a YouTube video on how to install Citrix XenServer 5.6 to an external USB drive.

Mistyping is very common and I would recommend using the <TAB> key to auto fill. I have also included the DIR command so you will see the filename. This will make it easier when type pluss you will know how to do this for further releases.

  1. Disconnect or disable all hard drives except the external USB drive
  2. Download the Citrix XenServer 5.6 ISO
  3. Boot and install XenServer 5.6 on your external USB drive, see installation video here
  4. When the installation is finished, boot on the XenServer CD and press “F2″ when you see “Welcome to XenServer”

Command lines :

  1. mkdir /tmp/sda
  2. mount -t ext3 /dev/sda1 /tmp/sda
  3. chmod -R 664 /sys/block
  4. cp -R /sys/block/ /tmp/sda/sys/block/
  5. chroot /tmp/sda
  6. cd /boot
  7. dir
  8. mv initrd-2.6.27.42-0.1.1.xs5.5.901.760.1073xen.img initrd-2.6.27.42-0.1.1.xs5.5.901.760.1073xen.img.old
  9. mkinitrd –with -usb initrd-2.6.27.42-0.1.1.xs5.5.901.760.1073xen.img 2.6.27.42-0.1.1.xs5.5.901.760.1073xen

ScreenShot of Commands :

XenServer 5.6 Beta Commands 300x106 How To Install XenServer 5.6 Beta to external USB

Click here to get free eBook “Citrix XenApp 5.0 for Windows 2008 – A Hands-On Guide

  1. 6 Responses to “How To Install XenServer 5.6 Beta to external USB”

  2. Hi I tried the above with the release CD for 5.6 and it works all the way up to the mkinitrd command
    I then get several modinfo: messages as follows:-
    could not find module dm-mem-cache
    could not find module dm-region_hash
    could not find module dm-message
    could not find module dm-raid45
    could not find module usb

    any help really appreciated
    Thanks

    By Simon on Jun 13, 2010

  3. Hi Simon,

    The version number has been changed to : initrd-2.6.27.42-0.1.1.xs5.6.0.44.11115

    Eric

    By admin on Jun 13, 2010

  4. Hi Simon,
    I have the correct version number but I also get the message when running the mkinitrd:
    could not find module dm-mem-cache
    could not find module dm-region_hash
    could not find module dm-message
    could not find module dm-raid45
    could not find module usb

    If I type the wrong initrd version number then it errors with a different message.

    Any ideas?

    Thanks

    By Avi on Jun 19, 2010

  5. i am getting the same error. anyone have any ideas?

    By chris on Jun 29, 2010

  6. Chris/Avi,

    in the ‘mkinitrd’ portion of the script, make sure its –make-usb and not –make -usb. Thant space made the difference for me.

    By Jeff Nichols on Jul 2, 2010

  7. This should do the trick:
    mkinitrd –with-usb initrd-2.6.27.42-0.1.1.xs5.5.901.760.1073xen.img 2.6.27.42-0.1.1.xs5.5.901.760.1073xen

    It’s double – in front of with-usb

    BTW: It’s working for XenServer 5.6 (not BETA) as well.

    By einbjoern on Aug 29, 2010

Post a Comment