<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-652598142543539447</id><updated>2024-09-01T14:51:48.590-03:00</updated><category term="bash"/><title type='text'>solde9&#39;s blog</title><subtitle type='html'>You are free to modify, share and adapt to your needs always referring to the original author.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://solde9.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/652598142543539447/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://solde9.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-652598142543539447.post-625973103718915475</id><published>2013-06-02T00:18:00.000-03:00</published><updated>2015-09-27T19:43:48.114-03:00</updated><title type='text'>Seagate Barracuda 3tb not recognized</title><content type='html'>Last week i bought a new Hard Drive, a &lt;a href=&quot;http://www.seagate.com/internal-hard-drives/desktop-hard-drives/desktop-hdd/?sku=ST3000DM001&quot;&gt;3 TB Seagate&lt;/a&gt;. After connecting the Sata and power cables, I Powered On my computer and realized that my new drive was not being recognized during the&lt;b&gt;&amp;nbsp;&lt;/b&gt;BIOS POST message. So, I rebooted and this second time my drive was recognized, showing this message:&lt;br /&gt;
&lt;br /&gt;
&lt;pre &gt;4th Master: ST3000... S.M.A.R.T Capable and status OK  
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
But when I logged in (Windows xp), the drive was not listed. Going through a web search, I find the &lt;a href=&quot;http://www.seagate.com.edgekey.net/support/downloads/discwizard/&quot;&gt;Seatools DiskWizard&lt;/a&gt; Utility. Using this program I could manage to format the drive and use the extended capacity (some system can only recognize up to 2 TB). I Powered off the computer and the next day, I realized that it was not being recognized again. It was only visible after rebooting the machine. Doing more research on the web, I stepped into &lt;a href=&quot;http://knowledge.seagate.com/articles/en_US/FAQ/209171en?language=ja_JA&quot;&gt;this page&lt;/a&gt; on the Seagate website. It turns out that, in certain machines, the&amp;nbsp;drive is not detected after cold boot, but is after warm boot or reset. The reason for this is that&amp;nbsp;motherboard boots quickly before a hard drive has spun up and is ready. Because of my BIOS settings, my solution was to disable &lt;b&gt;Quick Boot&amp;nbsp;&lt;/b&gt;so that the motherboard will wait a little bit for the hard drive to become ready&lt;b&gt;.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; I hope this will help someone the way it helped me...&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solde9.blogspot.com/feeds/625973103718915475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solde9.blogspot.com/2013/06/seagate-barracuda-3tb-not-recognized.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/652598142543539447/posts/default/625973103718915475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/652598142543539447/posts/default/625973103718915475'/><link rel='alternate' type='text/html' href='http://solde9.blogspot.com/2013/06/seagate-barracuda-3tb-not-recognized.html' title='Seagate Barracuda 3tb not recognized'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-652598142543539447.post-3038821357639235003</id><published>2011-08-06T23:26:00.001-03:00</published><updated>2015-01-02T15:27:58.983-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><title type='text'>make a back up of the bash history</title><content type='html'>&lt;p&gt;This function backup your bash history in a file named history.back when it reaches 900 lines. It reads the hidden file .bash_history in the &lt;code&gt;$HOME&lt;/code&gt; directory counting the lines. If the count is greater than 900, appends the content of .bash_history into history.back and removes the file .bash_history. To run the script at boot (I&#39;m using Fedora) I put the path of the script in &lt;code&gt;/etc/rc.d/rc.local&lt;/code&gt;.&lt;/p&gt;&lt;pre id=&quot;idandclass&quot;&gt;&lt;span class=&quot;Comment&quot;&gt;#!/bin/bash&lt;/span&gt;
&lt;span class=&quot;Comment&quot;&gt;#backup .bash_history&lt;/span&gt;

&lt;span class=&quot;Comment&quot;&gt;#Created by solde9&lt;/span&gt;
&lt;span class=&quot;Comment&quot;&gt;#on 2011-08-06&lt;/span&gt;

&lt;span class=&quot;Identifier&quot;&gt;FILENAME&lt;/span&gt;=&lt;span class=&quot;PreProc&quot;&gt;$HOME&lt;/span&gt;/.bash_history
&lt;span class=&quot;Identifier&quot;&gt;count&lt;/span&gt;=&lt;span class=&quot;Number&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;Identifier&quot;&gt;HISTORY_BACK&lt;/span&gt;=&lt;span class=&quot;PreProc&quot;&gt;$HOME&lt;/span&gt;/&lt;span class=&quot;Statement&quot;&gt;history&lt;/span&gt;.back

&lt;span class=&quot;Statement&quot;&gt;while &lt;/span&gt;&lt;span class=&quot;Statement&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;Statement&quot;&gt; LINE&lt;/span&gt;
&lt;span class=&quot;Statement&quot;&gt;do&lt;/span&gt;
    &lt;span class=&quot;Statement&quot;&gt;let&lt;/span&gt; count++
&lt;span class=&quot;Statement&quot;&gt;done&lt;/span&gt; &lt;span class=&quot;Statement&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;PreProc&quot;&gt;$FILENAME&lt;/span&gt;

&lt;span class=&quot;Statement&quot;&gt;if &lt;/span&gt;&lt;span class=&quot;Special&quot;&gt;[[&lt;/span&gt; count &lt;span class=&quot;Statement&quot;&gt;-gt&lt;/span&gt; &lt;span class=&quot;Number&quot;&gt;900&lt;/span&gt; &lt;span class=&quot;Special&quot;&gt;]]&lt;/span&gt;&lt;span class=&quot;Statement&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;Statement&quot;&gt;then&lt;/span&gt;
    &lt;span class=&quot;Statement&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;Constant&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Statement&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;Constant&quot;&gt;===============================&lt;/span&gt;&lt;span class=&quot;Statement&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;Constant&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Statement&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;PreProc&quot;&gt;$HISTORY_BACK&lt;/span&gt;
    cat &lt;span class=&quot;PreProc&quot;&gt;$FILENAME&lt;/span&gt; &lt;span class=&quot;Statement&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;PreProc&quot;&gt;$HISTORY_BACK&lt;/span&gt;
    &lt;span class=&quot;Statement&quot;&gt;rm&lt;/span&gt; &lt;span class=&quot;PreProc&quot;&gt;$FILENAME&lt;/span&gt;
&lt;span class=&quot;Statement&quot;&gt;fi&lt;/span&gt;
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://solde9.blogspot.com/feeds/3038821357639235003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solde9.blogspot.com/2011/08/make-back-up-of-bash-history.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/652598142543539447/posts/default/3038821357639235003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/652598142543539447/posts/default/3038821357639235003'/><link rel='alternate' type='text/html' href='http://solde9.blogspot.com/2011/08/make-back-up-of-bash-history.html' title='make a back up of the bash history'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>