{"id":1919,"date":"2013-03-08T14:36:30","date_gmt":"2013-03-08T09:06:30","guid":{"rendered":"https:\/\/www.suramya.com\/blog\/?p=1919"},"modified":"2013-03-28T00:51:46","modified_gmt":"2013-03-27T19:21:46","slug":"citrix-on-raspberry-pi-updated-instructions-and-working-download-image","status":"publish","type":"post","link":"https:\/\/www.suramya.com\/blog\/2013\/03\/citrix-on-raspberry-pi-updated-instructions-and-working-download-image\/","title":{"rendered":"Citrix on Raspberry Pi: Updated instructions and working download image"},"content":{"rendered":"<p>A couple of folks have reached out to me via email\/messages to tell me that the instructions I posted at the <a href='http:\/\/www.raspberrypiforums.com\/forums\/tutorials\/article\/9-how-to-get-citrix-working-on-a-raspberrypi\/'>Raspberry Pi forums<\/a> don&#8217;t work with the latest version of Rhaspbian. Basically the problem is that the latest version of the Citrix client is not compiled for the armhf architecture (Which is what the latest version of Rhaspbian OS is compiled for), so you need to download and install the armel version of the OS (&#8216;Soft-float Debian \u00e2\u20ac\u0153wheezy\u00e2\u20ac\u009d&#8217;) from <a href='http:\/\/www.raspberrypi.org\/downloads'>http:\/\/www.raspberrypi.org\/downloads<\/a>.<\/p>\n<p>To make life simpler for people I have created a snapshot of my Pi install with Citrix installed and configured. You can download it from <a href='http:\/\/mirror.suramya.com\/Downloads\/Raspberry\/Raspberry_Citrix.img.zip'>here<\/a>. The image is 4GB so you will need to use a card of atleast that size when using this image. Follow these steps to install the image to an SD card in Linux:<\/p>\n<ul>\n<li>Download the image file from the <a href='http:\/\/mirror.suramya.com\/Downloads\/Raspberry\/Raspberry_Citrix.img.zip'>mirror<\/a> (Approx 1GB compressed)<\/li>\n<li>Unzip the file using the command<\/li>\n<pre class='code'>unzip Raspberry_Citrix.img.zip<\/pre>\n<li>Find out what the partition the SD card you are using has been assigned running the following command as root<\/li>\n<pre class='code'>fdisk -l<\/pre>\n<p>Once you run the command, you will get an output that will show you all the disks attached to your system, look for the entry that corresponds to your card. In my case it looked like this:<\/p>\n<pre class='code'> Disk \/dev\/sde: 3965 MB, 3965190144 bytes\r\n122 heads, 62 sectors\/track, 1023 cylinders, total 7744512 sectors\r\nUnits = sectors of 1 * 512 = 512 bytes\r\nSector size (logical\/physical): 512 bytes \/ 512 bytes\r\nI\/O size (minimum\/optimal): 512 bytes \/ 512 bytes\r\nDisk identifier: 0x00016187\r\n\r\n   Device Boot      Start         End      Blocks   Id  System\r\n\/dev\/sde1            8192      122879       57344    c  W95 FAT32 (LBA)\r\n\/dev\/sde2          122880     7744511     3810816   83  Linux\r\n<\/pre>\n<li>So now we know that the card is at <b><i>\/dev\/sde<\/i><\/b>. All we have to do is write the image to the card and that is done using the following command. Make sure you replace the <b><i>\/dev\/sde<\/i><\/b> with the correct path otherwise you will end up destroying all data on the wrong drive.<\/li>\n<pre class='code'>dd if=Raspberry_Citrix.img of=\/dev\/sde bs=4096<\/pre>\n<p>You will not see any output on the screen so don&#8217;t worry about it, just let it run and wait for the process to complete as it will take some time because of the amount of data being written. Once the process completes you can eject the card and if all went well you should be able to boot the Raspberry Pi from the card.\n<\/ul>\n<p>The login password for this image is root\/password, please do change the password if you use the image. Let me know if you have any questions or have an issue using this image.<\/p>\n<p><b>Update (3\/28\/2013): Adding instructions on how to write the image when using windows. <\/b>(Please note that I haven&#8217;t tested the windows instructions as I don&#8217;t have a windows machine. Use at your own risk)<\/p>\n<p>Once you download the zip file from the mirror, right-click on it and select extract (I think that&#8217;s what it says, but I don&#8217;t have a windows machine so can&#8217;t confirm). After the image is extracted you will have a file called Raspberry_citrix.img on your computer. Now follow these steps to write the image to an SD card (Instructions taken from <a href='http:\/\/elinux.org\/RPi_Easy_SD_Card_Setup'>eLinux<\/a>)<\/p>\n<ul>\n<li>Insert the SD card into your SD card reader and check what drive letter it was assigned. You can easily see the drive letter (for example G:) by looking in the left column of Windows Explorer. If the card is not new, you should format it and make sure there is only one partition (FAT32 is a good choice); otherwise Win32DiskImager can make corrupt your SD card!<\/li>\n<li>Download the <a href='https:\/\/launchpad.net\/win32-image-writer'>Win32DiskImager<\/a> utility. The download links are on the right hand side of the page, you want the binary zip.<\/li>\n<li>Extract the executable from the zip file and run the Win32DiskImager utility. You should run the utility as Administrator!<\/li>\n<li>Select the Raspberry_citrix.img image file you extracted earlier<\/li>\n<li>Select the drive letter of the SD card in the device box. Be careful to select the correct drive; if you get the wrong one you can destroy your data on the computer&#8217;s hard disk!<\/li>\n<li>Click Write and wait for the write to complete.<\/li>\n<li>Exit the imager and eject the SD card.<\/li>\n<\/ul>\n<p>You should also go through the <a href=\"http:\/\/elinux.org\/RPi_Hardware_Basic_Setup\">Basic setup guide for Raspberry Pi<\/a>. Hope this helps.<\/p>\n<p>&#8211; Suramya<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A couple of folks have reached out to me via email\/messages to tell me that the instructions I posted at the Raspberry Pi forums don&#8217;t work with the latest version of Rhaspbian. Basically the problem is that the latest version of the Citrix client is not compiled for the armhf architecture (Which is what the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[24,13,2,14],"tags":[],"class_list":["post-1919","post","type-post","status-publish","format-standard","hentry","category-knowledgebase","category-linuxunix-related","category-techie-stuff","category-tutorials"],"_links":{"self":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/1919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/comments?post=1919"}],"version-history":[{"count":12,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/1919\/revisions"}],"predecessor-version":[{"id":1955,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/1919\/revisions\/1955"}],"wp:attachment":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/media?parent=1919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/categories?post=1919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/tags?post=1919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}