We help IT Professionals succeed at work.
Get Started

Installing Xenserver 5.5 on USB

basraj
basraj asked
on
2,382 Views
Last Modified: 2012-05-11
I have trouble running Xenserver from a USB. I'm trying to run xenserver from my laptop using USB drive.

Specifications of my laptop: 4GB RAM, I5 processor, Win 7 OS, VT enabled

I do not want to wipe off Win-7, so I would like to use my USb stick for xenserver (16GB stick).

* Using Unetbootin software, I copied xenserver iso to another 2GB USB stick.
* Renamed the following:

Rename \syslinux.cfg to syslinux_cfg.old
Rename \boot\isolinux to syslinux
Rename \boot\syslinux\isolinux.cfg to syslinux.cfg

* Rebooted my PC and selected boot device as 2GB drive
* Xenserver installation screen appeared, now inserted 16GB stick
* Now pressed F2 to enter shell
* mkdir /tmp/sda command worked
* mount -t ext3 /dev/sda1 /tmp/sda - This did not work as it gave an error/message "mount: wrong fs type, bad option, bad superblock"

I don't know why it was not working, so I gave up this option and rebooted again.

* Instead of pressing F2 and entering shell, I gave F1 to continue installation
* Showed option to install Xenserver. Selected 16GB drive for installation
* Didn't select VM storage option as I planned to give it later
* Gave no to Linux
* Installed xenserver, unplugged 2Gb drive and rebooted
* Xenserver started from my 16GB stick. I saw the Citrix Xenserver (black and blue design screen).
* After 5 seconds, it went black and Win 7 started booting from my hard disk
* Disabled HDD, restarted, Xenserver screen appeared again it rebooted and started from first.

Please help to resolve this issue.

May be Xenserver on USB installation will not be successful without Shell and running the following commands?

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
mv initrd-2.6.18-53.1.13.el5.xs4.1.0.254.273xen.img initrd-2.6.18-53.1.13.el5.xs4.1.0.254.273xen.img.old
mkinitrd --with-usb initrd-2.6.18-53.1.13.el5.xs4.1.0.254.273xen.img 2.6.18-53.1.13.el5.xs4.1.0.254.273xen

If yes, then mount -t ext3 /dev/sda1 /tmp/sda didn't work. This is because I have to boot OS from a CD drive instead of my 2GB pen drive?

Please help!
Comment
Watch Question
President
Commented:
This problem has been solved!
Unlock 1 Answer and 9 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE