Creating a Bootable CD of XenServer 6.2 using Mac OS X

My Colleague at work asked me to create a bootable CD of XenServer 6.2. So I thought I’d quickly throw together a tutorial on how to do this.

Step 1. Download the ISO from Xen website http://xenserver.org/open-source-virtualization-download.html

In my case I’m using the 6.2 version release. but this process is good for burning any bootable ISO

wget http://downloadns.citrix.com.edgesuite.net/8159/XenServer-6.2.0-install-cd.iso

Step 2. Convert from iso to a dmg/img

hdiutil convert -format UDRW -o xenserver6.2.img XenServer-6.2.0-install-cd.iso

Step 3. Locate USB device in my case it was /dev/disk2. My colleague was using xen 6.5 previously.

diskutil list

$ diskutil list
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *14.4 MB    disk1
   1:                  Apple_HFS MenuMeters 1.8.1        14.4 MB    disk1s1
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            XenServer-6.5.0        *62.0 GB    disk2

Step 4. unmount the USB disk

diskutil unmountDisk /dev/disk2

Step 5. Create the USB image

sudo dd if=xenserver6.2.img.dmg of=/dev/disk2 bs=1m

563+1 records in
563+1 records out
590448640 bytes transferred in 186.928304 secs (3158690 bytes/sec)

Step 6. Eject USB device safely

diskutil eject /dev/disk2

Job done! You should now have a working bootable USB disk ISO for xen server 6.2 ready to install.

Leave a Reply

Your email address will not be published. Required fields are marked *