How To Install XenServer 5.6 Beta to external USB
By Trond Eirik Haavarstein 29/03/2010 – 12:00The 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.
- Disconnect or disable all hard drives except the external USB drive
- Download the Citrix XenServer 5.6 ISO
- Boot and install XenServer 5.6 on your external USB drive, see installation video here
- When the installation is finished, boot on the XenServer CD and press “F2″ when you see “Welcome to XenServer”
Command lines :
- mkdir /tmp/sda
- mount -t ext3 /dev/sda1 /tmp/sda
- chmod -R 664 /sys/block
- cp -R /sys/block/ /tmp/sda/sys/block/
- chroot /tmp/sda
- cd /boot
- dir
- 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
- 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 :
Click here to get free eBook “Citrix XenApp 5.0 for Windows 2008 – A Hands-On Guide“







6 Responses to “How To Install XenServer 5.6 Beta to external USB”
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
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
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
i am getting the same error. anyone have any ideas?
By chris on Jun 29, 2010
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
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