====== Sitemap ====== This is a sitemap over all available pages ordered by [[doku>namespaces|namespaces]].
Page Actions
Wiki Actions
User Actions
====== Differences ====== This shows you the differences between two versions of the page.
guides:xenserver_usb [2009/12/08 16:33] fishy created, basic skel |
guides:xenserver_usb [2009/12/12 17:53] (current) fishy More flesh.... |
||
---|---|---|---|
Line 150: | Line 150: | ||
==== Mount the USB flash drive, and the XenServer ISO ==== | ==== Mount the USB flash drive, and the XenServer ISO ==== | ||
+ | |||
+ | Next, we prepare for the transfer of the install image onto the flash drive by mounting | ||
+ | both the ISO and the Flash drive. | ||
+ | |||
+ | Create a directory as a mount-point for both. I prefer using /mnt for all manual mounts, | ||
+ | that is more familiar to me, and avoids confusion with automount's in /media... | ||
$ sudo mkdir /mnt/target | $ sudo mkdir /mnt/target | ||
$ sudo mkdir /mnt/source | $ sudo mkdir /mnt/source | ||
- | $ sudo mount /dev/sdc1 /mnt/target/ | + | Next, do the actual mount. Naturally, we mount the flash-drive as our target. We |
+ | loop-mount the ISO directly, no need to put that on a disc just to get at the data.. | ||
+ | |||
+ | $ sudo mount /dev/sdh1 /mnt/target/ | ||
$ sudo mount -o loop FREE_XenServer-5.5.0-install-cd.iso /mnt/source/ | $ sudo mount -o loop FREE_XenServer-5.5.0-install-cd.iso /mnt/source/ | ||
==== Copy the installer to the drive ==== | ==== Copy the installer to the drive ==== | ||
+ | |||
+ | The following is a slightly advanced, but more reliable way of saying "copy everything | ||
+ | that starts with a letter or number recursively"... | ||
$ sudo cp -r /mnt/source/[a-zA-Z0-9]* /mnt/target/ | $ sudo cp -r /mnt/source/[a-zA-Z0-9]* /mnt/target/ | ||
+ | |||
+ | Now, the source is an isolinux-based CD image. We need to change what we copied | ||
+ | over into a syslinux format. This is basically as simple as renaming everything | ||
+ | that has "isolinux" in it to have "syslinux" instead. We also have to move the | ||
+ | location of the XenServer CD isolinix folder to the root of the flash drive.. | ||
$ sudo mv /mnt/target/boot/isolinux/ /mnt/target/syslinux | $ sudo mv /mnt/target/boot/isolinux/ /mnt/target/syslinux | ||
Line 165: | Line 182: | ||
==== Unmount ==== | ==== Unmount ==== | ||
+ | |||
+ | Preparations are basically complete for the install image it self, so it is time to | ||
+ | unmount it. Simply do that as you should be used to: | ||
$ sudo umount /mnt/source/ | $ sudo umount /mnt/source/ | ||
$ sudo umount /mnt/target/ | $ sudo umount /mnt/target/ | ||
- | ==== Test... ==== | + | ==== Additional tools ==== |
+ | |||
+ | If you wish to install the Linux Tools/templates as well, at the time of installing | ||
+ | your XenServer, simply dump the data from the -linux-cd.iso onto the second partition | ||
+ | created on the flash drive. | ||
+ | |||
+ | $ sudo mount -o loop FREE_XenServer-5.5.0-linux-cd.iso /mnt/source/ | ||
+ | $ sudo mount /dev/sdh2 /mnt/target/ | ||
+ | $ sudo cp -r /mnt/source/[a-zA-Z0-9]* /mnt/target/ | ||
+ | |||
+ | When the installer asks you if you want to install additional tools, accept, and verify the | ||
+ | media. The installer will automagically use the second partition. | ||