<?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>madberry.org&#187; madberry.org Kubuntu How To&#8217;s &amp; News.  Linux and Opensource.</title> <atom:link href="http://madberry.org/tag/gutsy/feed/" rel="self" type="application/rss+xml" /><link>http://madberry.org</link> <description>Kubuntu, Linux, Hardware.</description> <lastBuildDate>Thu, 17 Jun 2010 00:36:43 +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>How to get Atheros AR242x wireless to work. 2</title><link>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/</link> <comments>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/#comments</comments> <pubDate>Tue, 19 Aug 2008 22:31:50 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[AR242x]]></category> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[a205]]></category> <category><![CDATA[atheros communications inc]]></category> <category><![CDATA[beta]]></category> <category><![CDATA[boxes]]></category> <category><![CDATA[command]]></category> <category><![CDATA[computer disclaimer]]></category> <category><![CDATA[couple of minutes]]></category> <category><![CDATA[folders]]></category> <category><![CDATA[geek]]></category> <category><![CDATA[google]]></category> <category><![CDATA[gutsy]]></category> <category><![CDATA[hardware drivers]]></category> <category><![CDATA[images]]></category> <category><![CDATA[k]]></category> <category><![CDATA[kernel]]></category> <category><![CDATA[kernel 2]]></category> <category><![CDATA[laptop]]></category> <category><![CDATA[madwifi]]></category> <category><![CDATA[pci]]></category> <category><![CDATA[pci express]]></category> <category><![CDATA[proprietary drivers]]></category> <category><![CDATA[start button]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[Terminal]]></category> <category><![CDATA[toshiba]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[update]]></category> <category><![CDATA[wget]]></category> <category><![CDATA[windows drivers]]></category> <category><![CDATA[wireless pci]]></category><guid isPermaLink="false">http://madberry.org/?p=445</guid> <description><![CDATA[**11-07-2008** Here is the Solution currently used on 8.10: How To Get Atheros AR242x To Work On 8.10 Intrepid Ibex **10-23-2008** This how to still uses madwifi-hal-0.10.5.6-current.tar.gz And has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-21-generic. And once again every one who has problems please re-try the [...]]]></description> <content:encoded><![CDATA[<p><script type='text/javascript'>/*<![CDATA[*/var m3_u=(location.protocol=='https:'?'https://adshost.org/www/delivery/ajs.php':'http://adshost.org/www/delivery/ajs.php');var m3_r=Math.floor(Math.random()*99999999999);if(!document.MAX_used)document.MAX_used=',';document.write("<scr"+"ipt type='text/javascript' src='"+m3_u);document.write("?zoneid=25");document.write('&amp;cb='+m3_r);if(document.MAX_used!=',')document.write("&amp;exclude="+document.MAX_used);document.write(document.charset?'&amp;charset='+document.charset:(document.characterSet?'&amp;charset='+document.characterSet:''));document.write("&amp;loc="+escape(window.location));if(document.referrer)document.write("&amp;referer="+escape(document.referrer));if(document.context)document.write("&context="+escape(document.context));if(document.mmm_fo)document.write("&amp;mmm_fo=1");document.write("'><\/scr"+"ipt>");/*]]>*/</script><noscript><a href='http://adshost.org/www/delivery/ck.php?n=abef9e34&cb=564565' target='_blank'><img src='http://adshost.org/www/delivery/avw.php?zoneid=25&cb=34535345&n=abef9e34' border='0' alt='' /></a></noscript></p><div style="color: #ff0000;">**11-07-2008** Here is the Solution currently used on 8.10: <a title="how to get atheros ar242x wireless to work 2" href="http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/" target="_self">How To Get Atheros AR242x To Work On 8.10 Intrepid Ibex</a></div><p><span style="color: #33cc33;">**10-23-2008** This how to still uses <em>madwifi-hal-0.10.5.6-current.tar.gz</em> And has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-21-generic.  And once again every one who has problems please re-try the how to.</span></p><p><span>**09-17-2008** Thanks to Gideon, who told me the links weren&#8217;t working any more.  This how to now uses <em>madwifi-hal-0.10.5.6-current.tar.gz</em> As always this revision has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-19-generic.  And once again every one who has problems please re-try the how to.</span></p><p><span>**09-03-2008** This How to now uses the newest snapshot madwifi-hal-2008-08-15-r3862-20080903.tar.gz.  As always this revision has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-19-generic.</span></p><p><span>**09-01-2008** This How to now uses the newest snapshot madwifi-hal-2008-08-15-r3851-20080829.tar.gz.  If you posted a comment to say it isn&#8217;t working then please re-run everything.  And report back to verify that the solution is now working for you. As always this revision has been tested by me and works for (K)Ubuntu 8.0.4.1 with kernel 2.6.24-19-generic.</span></p><p><span style="color: #ffff00;">This is a revision of my <a title="Orig. post" href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/">original</a> post using the solution provided by Madwifi it&#8217;s been tested by me and it works.</span></p><p><span style="font-size: 10px; color: #ffff00;">Windows drivers are <a style="color: #ffff00; font-size: 10px;" title="Windows Drivers" href="http://www.atheros.cz/" target="_blank">here</a></span></p><p>If you own the same laptop as I do, a Toshiba A205-S5825, then you probably have the same problem, if you are using Hardy or Gutsy with the newest Kernel(2.6.24-19-generic) or older, the wireless doesn&#8217;t work out of the box.</p><p>It cost me about an hour to solve this mainly because no one knew anything about this particular chipset.</p><p>So here is the solution for the AR242x.  If you have a chipset in the A5700 series then this could work for you too.</p><p>The solution is quite simple and only takes you a couple of minutes to apply and then you can use your wireless.</p><p>For this How to you do need wired internet to the computer.<br /> <span id="more-445"></span><br /> <strong><span style="color: #ff0000;">Disclaimer:<br /> The Package we&#8217;re about to use is as far as I know in beta.  Installing this package might make your installation of Kubuntu(or Ubuntu) unstable.  I am not responsible for any problems that arise after installing this package.  But do feel free to post a comment for help if something doesn&#8217;t work right I will respond back and try to work with you to fix it.  I am NOT responsible for damage to hardware as a result of applying anything you find on this website.<br /> </span></strong></p><p>First let&#8217;s make sure your computer uses the same chipset(or something similar) run in terminal:</p><pre class="code">lspci | grep Atheros</pre><p>If the result is as follows or something similar then you are able to use this fix.</p><pre class="code">05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)</pre><p>If the result of the command ran is nothing the you don&#8217;t have an Atheros chipset and your read on this page stops here.  Please go to the forums on <a title="Ubuntu Forums" href="http://www.ubuntuforums.org" target="_blank">Ubuntu</a> and <a title="Kubuntu Forums" href="http://www.kubuntuforums.net" target="_blank">Kubuntu</a> there is a big community there to help you solve your problem or try Google.</p><p><a name="before"></a>Before we start we need to make sure that already installed modules are not &#8220;in use&#8221;.  Click on the Kubuntu start button go to system and click on the &#8220;Hardware Drivers Manager&#8221; this is where you will find all proprietary drivers. But we&#8217;re looking for everything that has Atheros in it. Tick the box behind of &#8220;Atheros Hardware Access Layer(HAL)&#8221;  and &#8220;Support for Atheros 802.11 wireless LAN cards&#8221; and restart the computer.</p><p>In Terminal go to your desktop:</p><pre class="code">cd ~/Desktop</pre><p>Then download the Madwifi driver needed for this How to:</p><pre class="code">wget -c http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6-current.tar.gz</pre><p>Untar the Image file(don&#8217;t worry it will create a new folder):</p><pre class="code">tar xvf madwifi*.tar.gz</pre><p>Go into the just created folder:</p><pre class="code">cd madwifi*r*</pre><p>Because we are going to <a href="javascript:animatedcollapse.toggle('collapse')">compile</a> from <a href="javascript:animatedcollapse.toggle('collapse1')">source code</a> we need to make sure the essentials to do so are installed.</p><div id="collapse" class="collapse" style="display: none;"><p><strong>Compile</strong><br /> use a computer program to translate source code written in a particular programming language into computer-readable machine code that can be executed.</p><p><a href="javascript:animatedcollapse.hide('collapse')"><strong>Hide</strong></a></p></div><div id="collapse1" class="collapse" style="display: none;"><p><strong>Source Code</strong></p><p>The underlying code that makes up a software program. Most commercially available programs come in &#8220;binary&#8221; form, which is nearly impossible for humans to comprehend. Source code, however, is comprehensible, and if you have it, you can learn how a program does something, change it so it does something else, or otherwise improve it. True geeks swear by source code.</p><p><a href="javascript:animatedcollapse.hide('collapse1')"><strong>Hide</strong></a></p></div><pre class="code">sudo apt-get update &amp;&amp; sudo aptitude install build-essential</pre><p>Now run:</p><pre class="code">make</pre><pre class="code">sudo make install</pre><pre class="code">sudo modprobe ath_pci</pre><pre class="code">sudo modprobe wlan_scan_sta</pre><p><span style="color: #00ff00;">If you get any errors running the modprobe commands you probably forgot to switch off the modules in the first place go back to <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/#before">this</a> and then try modprobe again.</span></p><p>As noted by &#8220;TheGreatGonzo&#8221; you might have to restart here.  Before you can enable the proprietary drivers again.<br /> As noted by &#8220;Choval&#8221; in case it doesn&#8217;t work after a restart:</p><blockquote><p>blacklist ath_hal<br /> (on /etc/modprobe.d/blacklist)<br /> Reboot, and voila… works like a charm =)</p></blockquote><p>Now the same as we did before:<br /> Click on the Kubuntu start button go to system and click on the &#8220;Hardware Drivers Manager&#8221; this is where you will find all proprietary drivers. But we&#8217;re looking for everything that has Atheros in it. Tick the box in behind of &#8220;Atheros Hardware Access Layer(HAL)&#8221;  and &#8220;Support for Atheros 802.11 wireless LAN cards&#8221; and restart the computer.</p><p>Now you have wireless.</p><p>Keep in mind that every time the Kernel gets updated you have to run these commands again:</p><pre class="code">sudo apt-get update &amp;&amp; sudo aptitude install build-essential</pre><p>Now run:</p><pre class="code">make clean</pre><pre class="code">make</pre><pre class="code">sudo make install</pre><pre class="code">sudo modprobe ath_pci</pre><pre class="code">sudo modprobe wlan_scan_sta</pre><p>Off course in the madwifi folder.  You might want to move the folder to your home folder because we&#8217;ll need it again after a Kernel update.</p><p>To get your wireless back up that is until they fix the problem in the Kernel and wireless works after restarting with the new Kernel.</p><p>Don&#8217;t be shy let us know in the comments below if the solution worked or not(in that case I can assist you and get it to work) .</p><p>If this page helped you out at all then please <a href="http://madberry.org/donate">donate</a>. <a href="http://madberry.org/donate">Donations</a> will go towards the hosting cost for this website.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 10, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/" title="How to get Atheros AR242x wireless to work.">How to get Atheros AR242x wireless to work.</a> (4)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>November 7, 2008 -- <a href="http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/" title="How To Get Atheros AR242x To Work on 8.10 Intrepid Ibex">How To Get Atheros AR242x To Work on 8.10 Intrepid Ibex</a> (528)</li><li>August 13, 2008 -- <a href="http://madberry.org/2008/08/what-modules-device-drivers-have-got-installed/" title="What modules device drivers have got installed">What modules device drivers have got installed</a> (2)</li><li>August 30, 2008 -- <a href="http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/" title="fstab demystified how to add partitions and more">fstab demystified how to add partitions and more</a> (0)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/feed/</wfw:commentRss> <slash:comments>125</slash:comments> </item> <item><title>How to get Atheros AR242x wireless to work.</title><link>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/</link> <comments>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/#comments</comments> <pubDate>Sun, 10 Aug 2008 22:30:59 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[AR242x]]></category> <category><![CDATA[Internet]]></category> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[a205]]></category> <category><![CDATA[atheros communications inc]]></category> <category><![CDATA[beta]]></category> <category><![CDATA[computer disclaimer]]></category> <category><![CDATA[couple of minutes]]></category> <category><![CDATA[folders]]></category> <category><![CDATA[google]]></category> <category><![CDATA[gutsy]]></category> <category><![CDATA[hardware drivers]]></category> <category><![CDATA[images]]></category> <category><![CDATA[kernel 2]]></category> <category><![CDATA[laptop]]></category> <category><![CDATA[mad]]></category> <category><![CDATA[madwifi]]></category> <category><![CDATA[madwifi driver]]></category> <category><![CDATA[pci express]]></category> <category><![CDATA[proprietary drivers]]></category> <category><![CDATA[start button]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[Terminal]]></category> <category><![CDATA[toshiba]]></category> <category><![CDATA[wget]]></category> <category><![CDATA[wifi]]></category> <category><![CDATA[wireless pci]]></category><guid isPermaLink="false">http://madberry.org/?p=260</guid> <description><![CDATA[Windows drivers are here Aug 18 2008: This is a The old version and this solution isn&#8217;t recommended anymore please use: the solution in my new post it&#8217;s been tested by me and it works. If you own the same laptop as I do, a Toshiba A205-S5825, then you probably have the same problem, if [...]]]></description> <content:encoded><![CDATA[<p><span style="font-size: 10px; color: #ffff00;">Windows drivers are <a style="color: #ffff00;font-size: 10px;" title="Windows Drivers" href="http://www.atheros.cz/" target="_blank">here</a></span></p><p><span style="font-size: 16px; color: #ff0000;"><strong>Aug 18 2008</strong>: This is a The old version and this solution isn&#8217;t recommended anymore please use: <a title="Original post" href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/">the solution in my new post</a> it&#8217;s been tested by me and it works.</span></p><p>If you own the same laptop as I do, a Toshiba A205-S5825, then you probably have the same problem, if you are using Hardy or Gutsy with the newest Kernel(2.6.24-19-generic) or older, the wireless doesn&#8217;t work out of the box.</p><p>It cost me about an hour to solve this mainly because no one knew anything about this particular chipset.</p><p>So here is the solution for the AR242x.  If you have a chipset in the A5700 series then this could work for you too.</p><p>The solution is quite simple and only takes you a couple of minutes to apply and then you can use your wireless.</p><p>For this How to you do need wired internet to the computer.<br /> <span id="more-260"></span><br /> <strong><span style="color: #ff0000;">Disclaimer:<br /> The Package we&#8217;re about to use is as far as I know in beta.  Installing this package might make your installation of Kubuntu(or Ubuntu) unstable.  I am not responsible for any problems that arise after installing this package.  But do feel free to post a comment for help if something doesn&#8217;t work right I will respond back and try to work with you to fix it.  I am NOT responsible for damage to hardware as a result of applying anything you find on this website.<br /> </span></strong></p><p>First let&#8217;s make sure your computer uses the same chipset(or something similar) run in terminal:</p><pre class="code">lspci | grep Atheros</pre><p>If the result is as follows or something similar then you are able to use this fix.</p><pre class="code">05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)</pre><p>If the result of the command ran is nothing the you don&#8217;t have an Atheros chipset and your read on this page stops here.  Please go to the forums on <a title="Ubuntu Forums" href="http://www.ubuntuforums.org" target="_blank">Ubuntu</a> and <a title="Kubuntu Forums" href="http://www.kubuntuforums.net" target="_blank">Kubuntu</a> there is a big community there to help you solve your problem or try Google.</p><p>Thanks to <a title="Ubuntu Geek" href="http://www.ubuntugeek.com" target="_blank">Ubuntugeek</a> for providing the primer for this post.</p><p>Here is the difference between the how to&#8217;s:</p><p><a name="before"></a>Before we start we need to make sure that already installed modules are not &#8220;in use&#8221;.  Click on the Kubuntu start button go to system and click on the &#8220;Hardware Drivers Manager&#8221; this is where you will find all proprietary drivers. But we&#8217;re looking for everything that has Atheros in it. Tick the box behind of &#8220;Atheros Hardware Access Layer(HAL)&#8221;  and &#8220;Support for Atheros 802.11 wireless LAN cards&#8221; and restart the computer.</p><p>In Terminal go to your desktop:</p><pre class="code">cd ~/Desktop</pre><p>Then download the Madwifi driver needed for this How to:</p><pre class="code">wget -c http://madberry.org/wp-content/madwifi-ng-r2756+ar5007.tar.gz</pre><p>Untar the Image file(don&#8217;t worry it will create a new folder):</p><pre class="code">tar xvf madwifi-ng-r2756+ar5007.tar.gz</pre><p>Go into the just created dir:</p><pre class="code">cd madwifi-ng-r2756+ar5007</pre><p>Because we are going to <a href="javascript:animatedcollapse.toggle('collapse')">compile</a> from <a href="javascript:animatedcollapse.toggle('collapse1')">source code</a> we need to make sure the essentials to do so are installed.</p><div id="collapse" class="collapse" style="display: none;"><p><strong>Compile</strong><br /> use a computer program to translate source code written in a particular programming language into computer-readable machine code that can be executed.</p><p align="right"><a href="javascript:animatedcollapse.hide('collapse')"><strong>Hide</strong></a></p></div><div id="collapse1" class="collapse" style="display: none;"><p><strong>Source Code</strong></p><p>The underlying code that makes up a software program. Most commercially available programs come in &#8220;binary&#8221; form, which is nearly impossible for humans to comprehend. Source code, however, is comprehensible, and if you have it, you can learn how a program does something, change it so it does something else, or otherwise improve it. True geeks swear by source code.</p><p align="right"><a href="javascript:animatedcollapse.hide('collapse1')"><strong>Hide</strong></a></p></div><pre class="code">sudo apt-get update &amp;&amp; sudo aptitude install build-essential</pre><p>Now run:</p><pre class="code">sudo make install</pre><pre class="code">sudo modprobe ath_pci</pre><pre class="code">sudo modprobe wlan_scan_sta</pre><p><span style="color: #00ff00;">If you get any errors running the modprobe commands you probably forgot to switch off the modules in the first place go back to <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/#before">this</a> and then try modprobe again.</span></p><p>Now the same as we did before:<br /> Click on the Kubuntu start button go to system and click on the &#8220;Hardware Drivers Manager&#8221; this is where you will find all proprietary drivers. But we&#8217;re looking for everything that has Atheros in it. Tick the box in behind of &#8220;Atheros Hardware Access Layer(HAL)&#8221;  and &#8220;Support for Atheros 802.11 wireless LAN cards&#8221; and restart the computer.</p><p>Now you have wireless.</p><p>Keep in mind that every time the Kernel gets updated you have to run these commands again:</p><pre class="code">sudo apt-get update &amp;&amp; sudo aptitude install build-essential</pre><p>Now run:</p><pre class="code">sudo make install</pre><pre class="code">sudo modprobe ath_pci</pre><pre class="code">sudo modprobe wlan_scan_sta</pre><p>Off course in the madwifi folder.  You might want to move the folder to your home folder because we&#8217;ll need it again after a Kernel update.</p><p>To get your wireless back up that is until they fix the problem in the Kernel and wireless works after restarting with the new Kernel.</p><p>If this page helped you out at all then please donate below.  Donations will go towards the hosting cost for this website.</p><p><embed src="http://widget.chipin.com/widget/id/e005f4d97bbd18c6" flashVars="event_title=Help%20This%20Site&#038;event_desc=Donate%20Please&#038;color_scheme=blue" type="application/x-shockwave-flash" allowScriptAccess="always" wmode="transparent" width="220" height="220"></embed></p><p>Thanks for donating.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 19, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/" title="How to get Atheros AR242x wireless to work. 2">How to get Atheros AR242x wireless to work. 2</a> (125)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>August 7, 2008 -- <a href="http://madberry.org/2008/08/mini-how-to-list-devices-in-kubuntu/" title="List Devices in Kubuntu.">List Devices in Kubuntu.</a> (0)</li><li>April 6, 2009 -- <a href="http://madberry.org/2009/04/took-the-plunge-jaunty-jackalope-kubuntu-904-on-laptop/" title="Took The Plunge Jaunty Jackalope Kubuntu 9.04 On Laptop">Took The Plunge Jaunty Jackalope Kubuntu 9.04 On Laptop</a> (0)</li><li>November 7, 2008 -- <a href="http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/" title="How To Get Atheros AR242x To Work on 8.10 Intrepid Ibex">How To Get Atheros AR242x To Work on 8.10 Intrepid Ibex</a> (528)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Hairy Hardy Upgrade.</title><link>http://madberry.org/2008/08/hairy-hardy-upgrade/</link> <comments>http://madberry.org/2008/08/hairy-hardy-upgrade/#comments</comments> <pubDate>Sat, 02 Aug 2008 18:55:49 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[backups]]></category> <category><![CDATA[dev directory]]></category> <category><![CDATA[fatal error]]></category> <category><![CDATA[gibbon]]></category> <category><![CDATA[gutsy]]></category> <category><![CDATA[gutsy gibbon]]></category> <category><![CDATA[hard drive partition]]></category> <category><![CDATA[hard drives]]></category> <category><![CDATA[hd]]></category> <category><![CDATA[heron]]></category> <category><![CDATA[latin name]]></category> <category><![CDATA[nano]]></category> <category><![CDATA[operating system]]></category> <category><![CDATA[partitions]]></category> <category><![CDATA[root partition]]></category> <category><![CDATA[video content]]></category><guid isPermaLink="false">http://madberry.org/?p=95</guid> <description><![CDATA[Some of you are now going to say &#8220;should have done a clean install&#8221;.  But here goes anyways. Our server named &#8220;Perniciose&#8221; which translates to &#8220;Fatal Error&#8221; a Latin name from the saying &#8220;Non erravi perniciose!&#8221; which means in English &#8220;I did not commit a fatal error!&#8221; but I digress. Had to be updated from [...]]]></description> <content:encoded><![CDATA[<p>Some of you are now going to say &#8220;should have done a clean install&#8221;.  But here goes anyways.</p><p>Our server named &#8220;Perniciose&#8221; which translates to &#8220;Fatal Error&#8221; a Latin name from the saying &#8220;Non erravi perniciose!&#8221; which means in English &#8220;I did not commit a fatal error!&#8221; but I digress.</p><p>Had to be updated from Kubuntu 7.10(Gutsy Gibbon) to 8.04(Hardy Heron) , we use a Desktop on the server because it doubles as our Entertainment PC and is hooked up to the TV and has several HDD&#8217;s in it.</p><p>This operating system was upgraded from 6.10 to 7.04 to 7.10 and now to 8.04 normally you would read on <a class="wp-caption-dd" title="Kubuntu Forums" href="http://www.kubuntuforums.net/" target="_blank">forums</a> to just do a &#8220;clean install&#8221; which is why I like to have my /home partition separated from my root partition.  But I like to test stuff and decided to upgrade all of the other machines in the house got a clean install.<br /> <span id="more-95"></span><br /> The update halted of froze how ever you wanna call it, on setting up locales</p><p>After the update I got several &#8220;Bad Super block&#8221; errors not quite understanding what was going on I tried to restore from a Super block backup elsewhere on the disk that didn&#8217;t work.  So now what.</p><p>After carefully studying the terminal output in front of me and checking fstab i discovered that the disks now al where SD&#8217;s instead of the HD&#8217;s in the fstab.</p><p>Let me explain a HD(Hard Drive) is a device and is therefore found in the /dev directory, before my first hard drive partition was /dev/hda1. This some how changed to /dev/sda1 and this was the case for all of the hard drives in the server.</p><p>Strange but it happened. it my /home partition was also on the list og partitions that weren&#8217;t working, but for some reason it did start up from the first hard drive partition and even got to terminal where al the errors where printed(or some say echoed) to the screen.</p><p>The solution was quite simple just rename every hard drive partition in fstab.  How ever one of my 160GB disks with a lot of video content on it didn&#8217;t wanna cooperate.  Luckely my wife was nice enough a while ago to order a spare 160GB drive which enabled me to copy the contents over to the new drive because the drive after giving a host of errors still mounted.</p><p>Ran fsck and that fixed the problem.</p><p>Here are all the commands used to fix the problem:</p><pre class="code">df -h</pre><p> To find out what is working as expected.</p><pre class="code">mount</pre><p> Gives a list of mounted devices.  To see if the device that gives errors is mounted.</p><pre class="code">sudo fdisk -l</pre><p> This gives you the list of hard drives in your machine.  And here is where I noticed the problem.</p><pre class="code">sudo nano /etc/fstab</pre><p> To fix the problem edit the fstab file.</p><pre class="code">sudo mount -a</pre><p> Mounts the drives.</p><pre class="code">sudo fsck /dev/sdc1</pre><p> To fix errors on the disk that still gave an error.</p><p><a class="wp-caption-dd" title="The Basics" href="http://madberry.org/the-basics/" target="_self">Don&#8217;t know how to close a text file in nano click here</a></p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 27, 2008 -- <a href="http://madberry.org/2008/08/maximum-number-of-clients-reached/" title="Maximum number of clients reached.">Maximum number of clients reached.</a> (3)</li><li>August 30, 2008 -- <a href="http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/" title="fstab demystified how to add partitions and more">fstab demystified how to add partitions and more</a> (0)</li><li>August 19, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/" title="How to get Atheros AR242x wireless to work. 2">How to get Atheros AR242x wireless to work. 2</a> (125)</li><li>August 12, 2008 -- <a href="http://madberry.org/2008/08/how-to-partition-new-hard-drives-the-easy-way/" title="How to partition new hard drives the easy way">How to partition new hard drives the easy way</a> (0)</li><li>August 12, 2008 -- <a href="http://madberry.org/2008/08/how-to-check-for-disk-errors/" title="How to check for disk errors">How to check for disk errors</a> (0)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/hairy-hardy-upgrade/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached (user agent is rejected)
Database Caching using memcached

Served from: madberry.org @ 2010-07-31 12:56:13 -->