<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>huanix &#187; ubuntu</title>
	<atom:link href="http://www.huanix.com/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.huanix.com</link>
	<description>chown -R huanix /</description>
	<lastBuildDate>Sat, 03 Apr 2010 15:29:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Creating a Dell partition with Ubuntu to reinstall Windows on a new or blank hard drive with the recovery disk</title>
		<link>http://www.huanix.com/2009/12/10/creating-a-dell-partition-with-ubuntu-to-reinstall-windows-on-a-new-or-blank-hard-drive-with-the-recovery-disk/</link>
		<comments>http://www.huanix.com/2009/12/10/creating-a-dell-partition-with-ubuntu-to-reinstall-windows-on-a-new-or-blank-hard-drive-with-the-recovery-disk/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 05:44:57 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Dell rescue]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=362</guid>
		<description><![CDATA[Here's the scenario: You have a Dell and you have somehow lost and/or destroyed the hard drive with Windows on it and you need to reinstall Windows. I think there are various solutions that require downloading and or purchasing tools, but I've been able to use fdisk under Ubuntu linux to create this partition quickly and easily!]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the scenario: You have a Dell and you have somehow lost and/or destroyed the hard drive with Windows on it and you need to reinstall Windows. I think there are various solutions that require downloading and or purchasing tools, but I&#8217;ve been able to use fdisk under Ubuntu linux to create this partition quickly and easily!</p>
<p>When you restore a Dell computer with a restore disk it may give the error:</p>
<p>Windows could not start becuase of a computer disk hardware configuration problem.<br />
Could not read from the selected boot disk. Check boot path and disk hardware.<br />
Please check the Windows documentation about hardware disk configuration and your hardware reference manuals for additional information.</p>
<p>The Dell expected to find a special Dell Partition at the beginning of the hard drive, and a newly formatted drive will not have this partition.</p>
<p>The process for creating this partition really is simple &#8211; I&#8217;m going to give a simple overview, and then more detailed instructions. The key here is not to overthink things. The GOOD news is, if you&#8217;re starting with a blank hard drive, you have nothing to lose!</p>
<p><span style="text-decoration: underline;">Simple Overview</span></p>
<p>(If you are familiar with booting into a live linux environment and fdisk, this should be all you need!)</p>
<ol>
<li>delete the existing partition table</li>
<li>create a new dell partiton spanning the first 7 cylinders. (1-7)</li>
<li>create a second partition for windows spanning the rest of the drive. (8-default max)</li>
<li>set the first partition to type &#8220;de&#8221; (dell partition)</li>
<li>set the second partiton to type 7 (NTFS)</li>
<li>write the changes</li>
<li>exit, and install windows</li>
</ol>
<p><span style="text-decoration: underline;">Detailed process</span> (all command line language is in <em>italics</em>)</p>
<ol>
<li>Download an <a href="http://www.ubuntu.com/GetUbuntu/download">Ubuntu Desktop CD</a></li>
<li>Boot with the CD</li>
<li> F12 is the &#8220;one time boot menu on my computer; choose CD/DVD Drive &#8211; if this doesn&#8217;t work for you, enter BIOS and change the first boot device to the CD drive.</li>
<li> When the CD menu opens choose your language</li>
<li> Select &#8220;Try Ubuntu without any change to your computer&#8221;</li>
<li>Wait a minute while the CD loads. When it is done, you will see an ubuntu desktop.</li>
<li> Choose Applications &gt; Accessories &gt; Terminal</li>
<li> At the command line type: <em>sudo bash</em> (any linux nerd will tell you this can lead to trouble &#8211; we need to become the root user so we can modify the partition table)</li>
<li> <em>fdisk -l</em> (this tells fdisk to list your partitions. note the name under &#8220;Device&#8221; that you want to work with)</li>
<li> The target device will look something like &#8220;/dev/sd?&#8221;, where &#8220;?&#8221; represents a letter of the alphabet)</li>
<li> <em>fdisk /dev/sda</em> (instead of &#8220;/dev/sda&#8221;, use the correct name of the device listed in fdisk -l; do NOT add the number at the end of the device)</li>
<li> You are now in the fdisk utility. My instructions cannot fit every case perfectly, so you may need to improvise, but it&#8217;s easy. Type <em>m</em> if you need some guidance in fdisk. Protip: None of the changes you make will be written until you choose to write them. If you quit without writing, no changes (damage) will be done!</li>
<li> d (delete the existing partition table)</li>
<li>If you have multiple partitions you will be asked which one to delete. Delete them all one at a time. IF you only have one, it will automatically select it. Continue when you can type  <em>fdisk -l</em> and see a blank partition table.</li>
<li>Time to create the dell partition:<br />
Type <strong><em>n </em></strong>to create a new parition.<br />
Type <em><strong>p</strong> </em>to make this a primary partition.<br />
Type <em><strong>1 </strong></em>to make it the first partition.<br />
Type  <em><strong>1</strong></em> to make the paritition start at the first cylinder.<br />
Type  <em><strong>7</strong></em> to end the partition at cylinder 7.</li>
<li>Now we label the partition as a Dell partition:<br />
Type <strong><em>t</em></strong> to change the type of the partition.<br />
Type<em><strong> de</strong></em> to change the partition to type Dell.</li>
<li>Time to create the Windows partition:<br />
Type <strong><em>n </em></strong>to create a new parition.<br />
Type <em><strong>p</strong> </em>to make this a primary partition.<br />
Type <em><strong>2 </strong></em>to make it the second partition.<br />
Type  <em><strong>8 </strong></em>to make the paritition start at the first cylinder.<br />
Press <em><strong>Enter</strong></em> to end the partition at the last available cylinder of the hard drive.</li>
<li>Now we label the partition as a NTFS partition:<br />
Type <strong><em>t</em></strong> to change the type of the partition.<br />
Type <em><strong>2</strong></em> to select the second partition.<br />
Type<em><strong> 7</strong></em> to change the partition to type NTFS.</li>
<li>Now all you have to do is press <strong>w</strong> to write your changes and exit. If you do not write your changes before you exit, you will probably spend a long time trying to figure out why things didn&#8217;t work.</li>
<li>I always run <strong><em>fdisk -l</em></strong> one last time before I exit the command line to make sure I did everything right!</li>
<li>Shut down the computer.</li>
<li>Reboot the computer using the Dell Rescue CD and install windows.</li>
</ol>
<p>If you try this and it doesn&#8217;t work the first time, I suggest retrying. One common mistake is to run fdisk on /dev/sda1 (<span style="color: #ff0000;">wrong</span>) rather than /dev/sda (<span style="color: #339966;">right!</span>). Be sure you&#8217;re fdisking the correct volume! I have also talked to people that exit fdisk without writing the changes. If you exit without writing, it was just a dry run &#8211; nothing happened!</p>
<p>I am attaching some sequential screenshots &#8211; they are not complete, but they may help you understand the process if you&#8217;re having difficulty!</p>
<p><a href="http://www.huanix.com/wp-content/uploads/2009/12/fdisk.png"><img class="alignnone size-medium wp-image-363" title="fdisk" src="http://www.huanix.com/wp-content/uploads/2009/12/fdisk-300x203.png" alt="fdisk" width="300" height="203" /></a><a href="http://www.huanix.com/wp-content/uploads/2009/12/create_new_fdisk.png"><img class="alignnone size-medium wp-image-364" title="create_new_fdisk" src="http://www.huanix.com/wp-content/uploads/2009/12/create_new_fdisk-300x225.png" alt="create_new_fdisk" width="300" height="225" /></a><a href="http://www.huanix.com/wp-content/uploads/2009/12/writing-new-partitions-fdisk.png"><img class="alignnone size-medium wp-image-365" title="writing new partitions fdisk" src="http://www.huanix.com/wp-content/uploads/2009/12/writing-new-partitions-fdisk-300x225.png" alt="writing new partitions fdisk" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2009/12/10/creating-a-dell-partition-with-ubuntu-to-reinstall-windows-on-a-new-or-blank-hard-drive-with-the-recovery-disk/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The future of syncing iPod and iPhone on Linux</title>
		<link>http://www.huanix.com/2008/12/04/the-future-of-syncing-ipod-and-iphone-on-linux/</link>
		<comments>http://www.huanix.com/2008/12/04/the-future-of-syncing-ipod-and-iphone-on-linux/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 23:30:03 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=310</guid>
		<description><![CDATA[I started a wiki to track the different methods that we might successfully sync our 4th generation iPod, iPod touch, and iPhone in Linux. http://www.huanix.com/sync-in-linux I am actually working on getting iTunes to work in wine: http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine For the record: I am not currently working on this project. You are free to use the resources [...]]]></description>
			<content:encoded><![CDATA[<p>I started a wiki to track the different methods that we might successfully sync our 4th generation iPod, iPod touch, and iPhone in Linux.</p>
<p><a title="http://www.huanix.com/sync-in-linux" href="http://www.huanix.com/sync-in-linux">http://www.huanix.com/sync-in-linux</a></p>
<p>I am actually working on getting iTunes to work in wine: http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine</p>
<p><strong>For the record: I am not currently working on this project. You are free to use the resources or ask questions, but I am moving on! I will be glad to share access on the wiki with anyone that wants to work on this. -hb</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2008/12/04/the-future-of-syncing-ipod-and-iphone-on-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iTunes 8 running in Virtualbox 2.0 allows USB sync with iPhone and iPod Touch</title>
		<link>http://www.huanix.com/2008/11/22/itunes-8-running-in-virtualbox-20-allows-usb-sync-with-iphone-and-ipod-touch/</link>
		<comments>http://www.huanix.com/2008/11/22/itunes-8-running-in-virtualbox-20-allows-usb-sync-with-iphone-and-ipod-touch/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 21:19:32 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualbox itunes iphone ipod touch sync]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=275</guid>
		<description><![CDATA[virtualbox-iphone-r8.sh 11/22/2008- STOP! DO NOT use this fix. The problem addressed by this script has been corrected in VirtualBox 2.0.6. You are welcome to try it if nothing else works for you- it won&#8217;t damage your installation and could possibly help. This is a script that will modify the Ubuntu 8.10 (or other Debian) environment [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong><a href="http://www.huanix.com/wp-content/uploads/2008/11/virtualbox-iphone-r8.sh">virtualbox-iphone-r8.sh</a></strong></p>
<p style="text-align: left;"><strong><span style="color: #ff0000;">11/22/2008- STOP! DO NOT use this fix. The problem addressed by this script has been corrected in VirtualBox 2.0.6</span><span style="color: #ff0000;">. You are welcome to try it if nothing else works for you- it won&#8217;t damage your installation and could possibly help.</span><br />
</strong></p>
<p style="text-align: center;">
<p style="text-align: left;">This is a script that will modify the Ubuntu 8.10 (or other Debian) environment to allow you to sync your iPhone, iPod Touch, or iPod in a Windows XP VirtualBox VM.  Earlier versions of the script have high success rates. This fix solves two problems:</p>
<p>1. USB doesn’t work at all because there’s no mount point; edit /etc/fstab to fix it.<br />
2. For the iPhone to sync, MAX_USBFS_BUFFER_SIZE needs to be modified in drivers/usb/core/devio.c</p>
<p>This version of the script will actually complete several steps:</p>
<ol>
<li>Check for the correct version of VirtualBox-2.0 and install it if the need arises.</li>
<li>Correctly modify the /etc/fstab file to assign the usb mount point to the virtualbox group (thanks tauchris@gmail.com)</li>
<li>Download the correct kernel source, patch it, and update the kernel.</li>
<li>Re-initialize VirtualBox to recognize the new USB configuration.</li>
</ol>
<p>I really believe this will simplify things for many folks. I think the greatest add on is the detection and installation of the correct Virtualbox version &#8211; it will add Virtualbox to your sources.list and add the key for you!</p>
<p>If the script works for you, please comment with your OS and details. If the script fails for you, PLEASE be very specific about what OS you are running and what did or didn’t happen. Comments without details don’t help anyone. If you see an exit code with a line number please include it.<strong></strong></p>
<p><strong>You will need to re-run this script each time the Kernel is updated. The script now knows what to update and what to leave alone.<br />
</strong></p>
<p><strong>These instructions are based on my test environment. You do not have to follow them to the letter! Go ahead and try the script if you know what you’re doing!!!</strong></p>
<p>1. You do not have to have VirtualBox pre-installed. The script will do that for you if it needs to.</p>
<p>2. Download the script to your Desktop and open a terminal window.</p>
<p>3. Set the script to executable, and run it as root.</p>
<ul>
<li>chmod +x virtualbox-iphone-r8.sh</li>
<li>sudo [path to]/virtualbox-iphone-r8.sh</li>
</ul>
<p>4. Run the script:<strong><a href="http://www.huanix.com/wp-content/uploads/2008/11/virtualbox-iphone-r8.sh">virtualbox-iphone-r8.sh</a></strong><strong> <a class="wpsulink_none" href="http://www.stumbleupon.com/url/http://www.huanix.com/wp-content/uploads/2008/11/virtualbox-iphone-r7.sh" target="_blank"></a></strong></p>
<p>5. Reboot.</p>
<ul>
<li>The script downloads the kernel source, and will take approximately 400 mb and several minutes of processing to run properly.</li>
</ul>
<p>6. In the settings tab for the virtual machine, check to be sure that USB and USB 2.0 are enabled.</p>
<p>7. When you run windows as a virtual machine, you will have to connect the device, then go to the “Devices” tab in VirtualBox and enable the device in “USB Devices”</p>
<p>These steps should set the stage for everything to work correctly on Ubuntu 8.10. If you have difficulties, please be VERY specific!</p>
<p><strong>Note: At this time I am no longer working toward making this script available in Fedora and Suse. However, the kernel fix contained inside the script will work if you extract and implement it. -hb</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2008/11/22/itunes-8-running-in-virtualbox-20-allows-usb-sync-with-iphone-and-ipod-touch/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>iTunes 8 running natively in Ubuntu 8.10 with Wine</title>
		<link>http://www.huanix.com/2008/11/07/itunes-8-running-natively-in-ubuntu-810-with-wine/</link>
		<comments>http://www.huanix.com/2008/11/07/itunes-8-running-natively-in-ubuntu-810-with-wine/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 03:17:15 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=209</guid>
		<description><![CDATA[Here&#8217;s a screenshot of iTunes 8 running on Ubuntu 8.10 Intrepid Ibex: wine-116-itunes-no-devices.sh (right-click the link to download this script) to run it: save the script to your desktop or home folder open a terminal (Applications &#62; Accessories &#62; Terminal), navigate to the same directory as the script. type: chmod 777 wine-116-itunes-no-devices.sh (hit enter) then [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Here&#8217;s a screenshot of iTunes 8 running on Ubuntu 8.10 Intrepid Ibex:</p>
<p style="text-align: center;"><a href="http://www.huanix.com/wp-content/uploads/2008/11/itunes_ubuntu.jpg"><img class="aligncenter size-thumbnail wp-image-212" title="itunes_ubuntu" src="http://www.huanix.com/wp-content/uploads/2008/11/itunes_ubuntu-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p style="text-align: center;"><strong><a href="http://www.huanix.com/wp-content/uploads/2008/11/wine-116-itunes-no-devices.sh">wine-116-itunes-no-devices.sh</a></strong><br />
(right-click the link to download this script)</p>
<p style="text-align: left;"><strong>to run it:</strong><br />
save the script to your desktop or home folder<br />
open a terminal (Applications &gt; Accessories &gt; Terminal), navigate to the same directory as the script.<br />
type: chmod 777 wine-116-itunes-no-devices.sh (hit enter)<br />
then type: ./wine-116-itunes-no-devices.sh (hit enter)</p>
<p>This script will build a custom version of wine 1.1.6 that will run iTunes 8.0.1 on Ubuntu 8.10. The resulting installation of wine will *NOT* (?) recognize iPhones or iPods. This installation will <strong>NOT</strong> conflict with your existing wine installation &#8211; it is separate!!!</p>
<p>Expect to download 500+ mb of stuff and compile for 2+ hours. I may find a way to simplify it later, but my goal now is to get it working reliably and predictably for everyone running Ubuntu 8.10.</p>
<p>Please leave detailed feedback including your operating system and version of iTunes as well as other information (i expect people to try lots of different things). &#8220;it worked&#8221; or &#8220;it didn&#8217;t work&#8221; are not useful comments!!<br />
As far as getting devices to work, my best shot was Marteen  Lankhorst&#8217;s rejected patches (<a title="http://www.winehq.org/pipermail/wine-patches/2008-May/054483.html" href="http://www.winehq.org/pipermail/wine-patches/2008-May/054483.html" target="_blank">http://www.winehq.org/pipermail/wine-patches/2008-May/054483.html</a>), but i haven&#8217;t gotten them to work with iTunes 8 (not sure why). Just in case you weren&#8217;t clear: This version WILL run iTunes 8, but it will NOT recognize your iPod/iPhone.  My current solution for that is with VirtualBox: <a title="http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/" href="http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/" target="_self">http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/</a></p>
<p><strong>For the latest developments on this, go to the wiki at : <a title="http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine" href="http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine">http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2008/11/07/itunes-8-running-natively-in-ubuntu-810-with-wine/feed/</wfw:commentRss>
		<slash:comments>57</slash:comments>
		</item>
		<item>
		<title>Fixing USB on VirtualBox to allow iPhone Sync with an Ubuntu host running Windows XP</title>
		<link>http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/</link>
		<comments>http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 00:42:44 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[intrepid ibex]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=186</guid>
		<description><![CDATA[An update has been released. Please click this link to see virtualbox-iphone-r8.sh Updated to virtualbox-iphone-r7.sh on 11/11/2008, 3:25 CST. Removed check for ubuntu, since this will work on far more systems. Improved the check for /etc/fstab with a grep instead of a question. Started package cleanup; it&#8217;s not the best yet. Still no exit points [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong><a href="http://www.huanix.com/wp-content/uploads/2008/11/virtualbox-iphone-r7.sh"></a></strong><em><a href="http://www.huanix.com/2008/11/22/itunes-8-running-in-virtualbox-20-allows-usb-sync-with-iphone-and-ipod-touch/">An update has been released. Please click this link to see virtualbox-iphone-r8.sh</a></em></p>
<p style="text-align: left;"><span><strong>Updated to virtualbox-iphone-r7.sh </strong>on 11/11/2008, 3:25 CST.<br />
</span></p>
<ul>
<li><span>Removed check for ubuntu, since this will work on far more systems.</span></li>
<li><span>Improved the check for /etc/fstab with a grep instead of a question.</span></li>
<li><span>Started package cleanup; it&#8217;s not the best yet.<br />
</span></li>
<li><span>Still no exit points <img src='http://www.huanix.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </span></li>
<li><span>Still only accepts simple responses (y).</span></li>
<li><span>Planning to add support for Suse &amp; Fedora soon.</span></li>
</ul>
<p style="text-align: left;">
<p style="text-align: center;">
<p style="text-align: left;">This is a script that will modify the Ubuntu (or other Debian) environment to allow you to sync your iPhone, iPod Touch, or iPod in a Windows XP Virtual machine. This fix solves two problems:</p>
<p>1. USB doesn&#8217;t work at all because there&#8217;s no mount point; edit /etc/fstab to fix it.<br />
2. For the iPhone to sync, MAX_USBFS_BUFFER_SIZE needs to be modified in drivers/usb/core/devio.c</p>
<p>If the script works for you, please comment with your OS and details. If the script fails for you, PLEASE be very specific about what OS you are running and what did or didn&#8217;t happen. Comments without details don&#8217;t help anyone.</p>
<p><strong>UPDATE: I&#8217;m not sure if i pointed out that you will need to re-run this script each time the Kernel is updated. The script now knows what to update and what to leave alone.<br />
</strong></p>
<p><strong>These instructions are based on my test environment. You do not have to follow them to the letter! Go ahead and try the script if you know what you&#8217;re doing!!!</strong></p>
<p>This fix works on Ubuntu 8.10 Intrepid Ibex running VirtualBox-2.0 installed through apt-get. It also works on older versions of Ubuntu, and possibly many other distros. Be creative, but be careful.</p>
<p>Install virtualbox-2.0 through through apt-get:</p>
<p>1. edit your /etc/apt/sources.list file and add the following source:<br />
deb http://download.virtualbox.org/virtualbox/debian intrepid non-free<br />
(intrepid is not listed on the wiki, but the source is working!)</p>
<p>2. Run &#8220;wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -&#8221;</p>
<p>3. Run &#8220;sudo apt-get update&#8221;</p>
<p>4. Run &#8220;sudo apt-get install virtualbox-2.0&#8243;</p>
<p>Restart your computer to make sure the vboxusers group initializes properly.</p>
<p>Run the script:<br />
(be sure to chmod +x and run as root!)</p>
<p>Change the permissions to allow execution (chmod +x virtualbox-iphone.sh) and run it as root.<br />
The script downloads the kernel source, and will take approximately 400 mb and several minutes of processing to run properly.</p>
<p>Restart again to initialize the modified kernel. (not sure if these restarts are necessary, but i&#8217;m trying to be safe!)</p>
<p>In the settings tab for the virtual machine, check to be sure that USB is enabled.</p>
<p>When you run windows as a virtual machine, you will have to connect the device, then go to the &#8220;Devices&#8221; tab in VirtualBox and enable the device in &#8220;USB Devices&gt;&#8221;</p>
<p>These steps should set the stage for everything to work correctly on Ubuntu 8.10. If you have difficulties, please be VERY specific!</p>
<p>&#8212;-</p>
<p>Some people are having trouble with the USB settings.. make yours look like this. Your iphone may already be here, and it may not &#8211; i deleted mine to keep people from panicking if they didn&#8217;t see theirs.</p>
<p><a href="http://www.huanix.com/wp-content/uploads/2008/11/usb_settings.png"><img class="alignnone size-thumbnail wp-image-266" title="usb_settings" src="http://www.huanix.com/wp-content/uploads/2008/11/usb_settings-150x150.png" alt="" width="150" height="150" /></a></p>
<p>&#8212;-</p>
<p>11/16/2008: I am aware of an issue where version 2.6.27-7 of the kernel goes through &#8220;make&#8221; while version 2.6.27-8 goes through update-initramfs. I am working on the script to address this. The result is that running the script works fine, but USB doesn&#8217;t connect. I think this only happens to people that have updated to 2.6.27-8, which appears to have been pulled back. A possible solution is to run &#8220;sudo grub-update&#8221; and boot into the 2.6.27-8 kernel, OR (i would do try this) &#8220;sudo apt-get remove linux-image-2.6.27-8-generic &amp;&amp; sudo apt-get remove linux-headers-2.6.27-8-generic &#8220;. I have only confirmed this once (thanks Brandon) and cannot reproduce it because 2.6.27-8 is not available. Please confirm a solution if you have one. This is the relevant output from the virtuabox script&#8230;</p>
<p>(i need a good code highligher!)<br />
<code lang="”bash”">Building modules, stage 2.<br />
MODPOST 1 modules<br />
CC      /home/user/linux-source-2.6.27/drivers/usb/core/usbcore.mod.o<br />
LD [M]  /home/user/linux-source-2.6.27/drivers/usb/core/usbcore.ko<br />
make: Leaving directory `/usr/src/<strong>linux-headers-2.6.27-7-generic'</strong><br />
update-initramfs: Generating /boot/<strong>initrd.img-2.6.27-8-generic</strong><br />
Do you want to get rid of the source and installed files?</code><br />
&#8212;-</p>
<p>I’m working on virtualbox-iphone-v8.sh ; this release is intended to run on both Ubuntu and Fedora 10. I’d like to release it on November 25, 2008 &#8211; the same day Fedora 10 (Final) is released.</p>
<p>I’m looking for 5 testers that have a spare development machine and experience with installing operating systems (fedora &amp; ubuntu). Experience with subversion would be a plus, but I’m not sure I want to go that fancy. Email me at <a href="mailto:huanix@gmail.com">huanix@gmail.com</a></p>
<p>I’m also looking for 5 donations to my paypal account, also <a href="mailto:huanix@gmail.com">huanix@gmail.com</a> before we start testing. It takes a lot of time to do this and there is no substitute for monetary encouragement.</p>
<p>Current Tally (11/22/2008):<br />
Testers: 3/5<br />
Contributors: 4/5</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/feed/</wfw:commentRss>
		<slash:comments>76</slash:comments>
		</item>
		<item>
		<title>Making an iPhone and iTunes work in an XP Virtualbox machine through ubuntu</title>
		<link>http://www.huanix.com/2008/10/31/making-itunes-work-in-an-xp-virtualbox-machine-through-ubuntu/</link>
		<comments>http://www.huanix.com/2008/10/31/making-itunes-work-in-an-xp-virtualbox-machine-through-ubuntu/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 05:13:07 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=171</guid>
		<description><![CDATA[virtualbox_iphone.sh (click the link above to download) This post is depreciated! Please check out the current version: http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/ There&#8217;s an excellent thread on the virtualbox forum (http://www.virtualbox.org/ticket/491) about getting an iPhone to be recognized by iTunes in a Windows XP virtualbox on an Ubuntu host. Someone shared a fix that required the user to modify [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong><br />
<strong><del datetime="2008-11-04T01:06:25+00:00">virtualbox_iphone.sh</del></strong><br />
(click the link above to download)</p>
<p><strong>This post is depreciated! Please check out the current version: <a title="http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/" href="http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/" target="_self">http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/</a><br />
</strong></p>
<p>There&#8217;s an excellent thread on the virtualbox forum (<a title="http://www.virtualbox.org/ticket/491" href="http://www.virtualbox.org/ticket/491" target="_blank">http://www.virtualbox.org/ticket/491</a>) about getting an iPhone to be recognized by iTunes in a Windows XP virtualbox on an Ubuntu host. Someone shared a fix that required the user to modify the kernel, and i know a lot of people are uncomfortable with that. I automated the process with a shell script.</p>
<p>I am a novice shell scripter, but i did test this and it did work. I will continue to improve it until it is fixed in a release of VirtualBox, supposedly 2.1.</p>
<p>I do not claim the fix &#8211; i think it was provided by &#8220;remainder&#8221; on the virtualbox forum; i only took an effective fix and put it in a shell script.</p>
<p>For the VERY new user:<br />
1. Be careful. Back up your data. If something breaks you&#8217;re on your own.<br />
2. Save the file to your computer.<br />
3. Open a shell and run it as root, it will probably look something like:</p>
<p>$chmod +x virtualbox_iphone.sh<br />
$sudo virtualbox_iphone.sh</p>
<p>The script may take a long time to download files from the internet and it will reboot your computer when it&#8217;s done.</p>
<p>It&#8217;s always smart to look at a shell script in a text editor before you run it. At a very basic level, look for a call to &#8220;rm&#8221;, that will delete files that you may not want deleted!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2008/10/31/making-itunes-work-in-an-xp-virtualbox-machine-through-ubuntu/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Ubuntu Linux tools for iPhone: video audio and data transfer</title>
		<link>http://www.huanix.com/2007/12/31/ubuntu-linux-tools-for-iphone-video-audio-and-data-transfer/</link>
		<comments>http://www.huanix.com/2007/12/31/ubuntu-linux-tools-for-iphone-video-audio-and-data-transfer/#comments</comments>
		<pubDate>Tue, 01 Jan 2008 02:04:34 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[gutsy]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.huanix.com/2007/12/31/ubuntu-linux-tools-for-iphone-video-audio-and-data-transfer/</guid>
		<description><![CDATA[NOTE: This post is FAR from done, I just needed to begin documenting these tools. Your help is welcome! The iPhone was designed specifically to work with Apple iTunes, and to the best of my knowledge, you still can&#8217;t get away without attaching it to iTunes to activate it, but after the dirty business of [...]]]></description>
			<content:encoded><![CDATA[<p><strong>NOTE:</strong> This post is FAR from done, I just needed to begin documenting these tools. Your help is welcome!</p>
<p>The iPhone was designed specifically to work with Apple iTunes, and to the best of my knowledge, you still can&#8217;t get away without attaching it to iTunes to activate it, but after the dirty business of activating and jailbreaking, many of us want to return to a world free of DRM and big brother.</p>
<p>There are several tools available to people using iPhone (or iPod) with Linux, but or some reason I haven&#8217;t been able to find one page that has a good list; I&#8217;m going to try to set that up here.</p>
<p><u>Music Management</u></p>
<ul>
<li><strong><a href="http://amarok.kde.org/" title="Amarok" target="_blank">Amarok</a></strong> is fairly easy to set up with instructions by <a href="http://blog.adaniels.nl/articles/iphone-amarok/" title="Amarok and iPhone setup by Arnold Daniels" target="_blank">Arnold Daniels</a></li>
<li><strong><a href="http://www.gtkpod.org/about.html" title="GTKpod" target="_blank">GTKpod</a></strong> looks good, but I haven&#8217;t used it much; <a href="http://www.simplehelp.net/2007/07/07/how-to-use-gtkpod-to-manage-your-ipod-in-ubuntu/" title="manage ipod with ubuntu" target="_blank">here&#8217;s a guide</a>.</li>
</ul>
<p><u>Media Conversion Tools</u></p>
<ul>
<li><a href="http://ffmpeg.mplayerhq.hu/" title="ffmpeg" target="_blank"><strong>ffmpeg</strong></a>: ffmpeg is probably the single most important utility for encoding audio and video into a format that can be transferred to the iPhone. The trick is, you will probably have to build from source to enable the correct (proprietary) codecs. Even better &#8211; install the version of ffmpeg from medibuntu; <a href="http://www.salatti.net/medibuntu-repository-for-ubuntu-gutsy/" title="medibuntu for ffmpeg" target="_blank">here</a> are instructions</li>
<li><strong> <a href="http://www.myth2ipod.com/" title="myth2ipod">myth2ipod</a></strong>: myth2ipod converts your pvr recordings to a feed that can be downloaded to your ipod. At this point I have only had success with this on iTunes, but I do know that you can add feeds in amarok, but I haven&#8217;t done well with video feeds. I actually have myth2ipod set up on <a href="http://mysettopbox.tv" title="Knoppmyth" target="_blank">Knoppmyth</a> which runs VERY nice!</li>
</ul>
<p><u>Libraries and Codecs</u></p>
<ul>
<li><strong><a href="http://www.gtkpod.org/libgpod.html" title="ligbpod">libgpod</a>:</strong> A library designed to allow access to the ipod by developers of GTKpod.</li>
<li><strong><a href="http://sourceforge.net/projects/fuse/" title="filesystem in userspace" target="_blank">fuse</a></strong>: a framework to allow sshfs to work, fuse = Filesystem in USErspace.</li>
<li><strong>MP4box</strong>: ?? don&#8217;t know .. it exists, but i haven&#8217;t looked at it yet.</li>
<li><strong>nuvexport</strong>: a component of myth2ipod.. not sure of its role&#8230; i think it generates XML&#8230;</li>
</ul>
<p><u>Mounting the file system</u></p>
<ul>
<li><strong><a href="http://fuse.sourceforge.net/sshfs.html" title="sshfs" target="_blank">sshfs</a></strong>: This is a neat utility to access a file system over ssh. People who are new to iphone on Linux may not realize that the primary mode of access is over wifi rather than usb.</li>
</ul>
<p><u>Tutorials</u></p>
<ul>
<li><a href="http://slated.org/howto_transcode_h264_for_ipod_with_ffmpeg" title="video to ipod with ffmpeg" target="_blank"> Howto: Encode H.264 Video for the iPod using ffmpeg</a></li>
</ul>
<p><u></u></p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/12/31/ubuntu-linux-tools-for-iphone-video-audio-and-data-transfer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Synergy</title>
		<link>http://www.huanix.com/2007/06/11/synergy/</link>
		<comments>http://www.huanix.com/2007/06/11/synergy/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 03:15:45 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Vista]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.huanix.com/2007/06/11/synergy/</guid>
		<description><![CDATA[Wow. It is a wonderful day when I stumble across a new sofware package that delights me as much as something like compiz/beryl or Joomla!, but I have found my gem of the month. Synergy is an open source tool available for Linux, Mac, and Windows that allows you to seamlessly use one mouse and [...]]]></description>
			<content:encoded><![CDATA[<p>Wow. It is a wonderful day when I stumble across a new sofware package that delights me as much as something like compiz/beryl or Joomla!, but I have found my gem of the month. Synergy is an open source tool available for Linux, Mac, and Windows that allows you to seamlessly use one mouse and keyboard to control multiple computers at one time. This works great for the nerd staring at 3 or 4 monitors each attatched to different computers. After writing a simple config file, you simply move the mouse off your current screen onto the next computer (through the network) and you&#8217;re suddenly controlling another computer  &#8211; no KVM buttons or anything!</p>
<p>Synergy is available through sourceforge:<br />
<a href="http://synergy2.sourceforge.net/">http://synergy2.sourceforge.net/</a></p>
<p>Check out some youtube vids:<br />
<a href="http://www.youtube.com/watch?v=Id3GHAruhAk">7 Screen Synergy w/ Mac/Windows/Linux</a><br />
<a href="http://www.youtube.com/watch?v=gckD9YXKyC0">Synergy &#8211; one mouse 2 different computer / os&#8217;s</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/06/11/synergy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install with driver update CD</title>
		<link>http://www.huanix.com/2007/06/09/install-with-driver-update-cd/</link>
		<comments>http://www.huanix.com/2007/06/09/install-with-driver-update-cd/#comments</comments>
		<pubDate>Sun, 10 Jun 2007 05:28:30 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Xubuntu]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.huanix.com/2007/06/09/install-with-driver-update-cd/</guid>
		<description><![CDATA[It&#8217;s a summer night and I know that the Ubuntu Gutsy (7.10) alpha had been released, so I decided to check it out. I got an image for Xubuntu, and upon booting from the CD, I saw an option that I hadn&#8217;t noticed in earlier editions (most of my installs were upgraded directly from 6.10 [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a summer night and I know that the Ubuntu Gutsy (7.10) alpha had been released, so I decided to check it out.</p>
<p>I got an image for Xubuntu, and upon booting from the CD, I saw an option that I hadn&#8217;t noticed in earlier editions (most of my installs were upgraded directly from 6.10 to 7.04.</p>
<p>The option read &#8220;Install with driver update CD&#8221;.</p>
<p>At first, I took little notice &#8211; because I knew the install routine, and I wasn&#8217;t looking for distractions.. then i got  a little excited. In my imagination (?) &#8220;Install with driver update CD&#8221; would use ndiswrapper to search for drivers for non-supported network cards (like the wireless ZyXel card I got from woot.com recently)</p>
<p>&#8220;Insert a driver CD and press ENTER (i386)&#8221;</p>
<p>a few moments passed and I saw&#8230;</p>
<p>&#8220;Re-insert install CD and press ENTER&#8221;</p>
<p>Many minutes have passed and the power light on this wireless card has yet to perk up&#8230;</p>
<p>I found the solution on the ubuntu wiki &#8230; the driver has to be a linux driver &#8211; it isn&#8217;t intended to run ndiswrapper for you.. here&#8217;s the link: <a href="https://wiki.ubuntu.com/Ubiquity/DriverUpdates">https://wiki.ubuntu.com/Ubiquity/DriverUpdates </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/06/09/install-with-driver-update-cd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mod_rewrite for Apache2 in Ubuntu Feisty Fawn 7.04</title>
		<link>http://www.huanix.com/2007/04/18/mod_rewrite-for-apache2-in-ubuntu-feisty-fawn-704/</link>
		<comments>http://www.huanix.com/2007/04/18/mod_rewrite-for-apache2-in-ubuntu-feisty-fawn-704/#comments</comments>
		<pubDate>Thu, 19 Apr 2007 00:29:05 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[HTML formatting]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.huanix.com/index.php/2007/04/18/mod_rewrite-for-apache2-in-ubuntu-feisty-fawn-704/</guid>
		<description><![CDATA[mod_rewrite is a module for the Apache webserver that allows apache to dynamically change the url of a site using php (or other scripting languages). It seems like a difficult/confusing task at first, but it actually only takes 2 steps in Ubuntu. I&#8217;m using Feisty Fawn, 7.04, but this should work well for Edgy and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.penguin-soft.com/penguin/man/8/a2enmod.html">mod_rewrite</a> is a module for the <a href="http://apache.org/httpd">Apache webserver</a> that allows apache to dynamically change the url of a site using php (or other scripting languages). It seems like a difficult/confusing task at first, but it actually only takes 2 steps in <a href="http://ubuntu.com">Ubuntu</a>. I&#8217;m using Feisty Fawn, 7.04, but this should work well for Edgy and Dapper without any issues. Any code snippets should be typed into a terminal. &#8220;sudo&#8221; commands require a password, that&#8217;s a given.</p>
<ol>
<li>Enable mod_rewrite in Apache<br />
<code> sudo a2enmod rewrite </code></li>
<li>Edit the configuration file.
<ol>
<li><code>sudo gedit  /etc/apache2/sites-available/default </code></li>
<li>line 12 says &#8220;AllowOverride none&#8221; ;</li>
<li>change it to &#8220;AllowOverride all&#8221;</li>
<li>save and close</li>
</ol>
</li>
<li>Okay&#8230; one last step &#8212; you have to manually restart Apache (or restart your computer!)</li>
<p><code>sudo apache2 -k restart </code></ol>
<p>All done! now Apache and php can create URL&#8217;s on the fly &#8211; pretty neato!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/04/18/mod_rewrite-for-apache2-in-ubuntu-feisty-fawn-704/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>
