Thursday, October 22, 2009

Recovering Hard Disks with Bad Blocks | Hardware Secrets

By Gabriel Torres

Bad block or faulty sector is the name given to a damaged area on a hard disk. It is a physical problem, i. e., the hard disk's magnetic media is defective. When we run a disk utility such as Scandisk and Norton Disk Doctor, such faulty sectors are marked with a "B".

Several users have written us asking how to proceed to recover hard disks with bad blocks. Many note that bad blocks disappear after low level formatting the hard disks.

What really happens, however, is that current physical formatting programs do not actually physically format the disk. If this should be feasible, the hard disk would be damaged, since hard disk tracks have a signal called servo that operates as a guide for the hard disk head. If we really formatted a hard disk at low level, these servos would be erased and the hard disk head would be unable to move any longer.

Low level formatting programs are utilities for detecting bad sectors and wiping the disk (for security reasons, for instance, after concluding a confidential project), not carrying out – despite their name – low level formatting.

These programs have an interesting function, which consists of updating the disk's bad sector map. When you use this option, the program scans the disk, seeking defective sectors and updating the disk's map.

When you run a high level formatting (through the Format command), this command skips the sectors contained in this bad sector table. According, there will not be any sector marked B ("Bad Block") in the FAT, although the defective sectors remain on the disk.

Defective sectors are not removed, but merely noted in this table of bad sectors, resulting in the system ignoring them (in other words, the sectors are hidden).

If new bad sectors keep occurring after running this procedure, you should get rid of the disk, as its magnetic surface is deteriorating, for some reason.

The best program to be applied in the procedure is the manufacturer's one, given on the respective utility page.


Originally at http://www.hardwaresecrets.com/article/29

Data Recovery Myths

By Edson Buriche Coutinho on November 12, 2005

Introduction


Some are users who are desperate because they’ve lost their data, and others are maintenance technicians who aren’t specialized in data recovery, but all face situations when every attempt to recover their data or their clients’ data failed. Some don’t put up with the fact that they were absent-minded enough to invert the polarity when connecting the HD power cable, others keep looking at the dark screen, thinking at how could that happened: the night before the PC was turned off as usual after having worked all day long without a single crash and, when turned on in the morning, the HD is solemnly ignored during setup, the computer doesn’t boot, and the worst: no backup has been done!

Some nevertheless stick obstinately to the data the client can’t lose in any way and promise to come up with a solution.

These are dramatic situations for sure, and they end up leading the victim first try solutions suggested by friends, others researched on the Internet, and so many others “made up” from thoughts sometimes logical and sometimes for pure “belief”.

And those beliefs spread fast – and a lot. Because some were successful in recovering their data by using one of those beliefs, they became really strong for all situations and in fact are more myths than reality, because in many cases they can eliminate the few chances a good professional could have of successfully recovering data at reasonable price, without having to open the hard drive in clean room, what makes the recovery process very expensive.

So let’s take a look at some of those myths, many of them found on the Internet, and separate what makes some sense from what makes the situation worse, eliminating the “beliefs”.



The “Hit It” Myth


This may be the oldest of all. When the hard drive stops being detected, some people tap it with a screwdriver or something similar during boot.

We have already seen this “procedure” done with an old hard drive, and it was recognized in one of the attempts. The disk worked for some more hours and then stopped for good.

We have received some disks with marks and dents on the outside, due to dozens of “taps”.

We can’t forget that distance between the read heads and the disk surface got shorter as time went by, and some modern disks (already discontinued – that’s lucky) used to let loose a part of the arm where we find the head parking and held it again when activated. It’s usual to find pieces of those heads spread inside disks whose user or technician used the “tap” solution. Those pieces scratch the disk in such a way that there’s no way to recover its data anymore. That’s why the “hit it” technique makes matters worse: before you could recover your data, but after having used it in disk of that type, the disk becomes totally irrecoverable.

This is what happens: if well applied, the taps can help to loose the read arm that has started to get stuck due to some failure in its circuit. They should be gentle, firm, and one at a time. If it doesn’t work after two attempts, you should stop. No brutality, because if the problem is not with the arm the taps won’t help at all, and if they were too hard they can even damage the disk surface.



The “Drop It” Myth


Crazy as it may seem, there are some people in forums on the Internet that swear they have “solved” the problem with their hard drives by dropping it on the floor (with carpet) from a table (2.8 feet), and use the drive until today without any problem.

We can’t doubt it, because lucky breaks can happen. Therefore we can’t recommend or support in any way someone who says something so silly. Any hard impact, mainly on a drive that’s already not okay and which problem we don’t know, is playing with fate. Trying to guess what the problem might be, without knowing what the real problem is, seriously jeopardizes any chance of data recovery.

If data stored has no value, then playing and trying non-professional techniques is worth it. But the worse is that some people give this piece of advice in hardware discussion forums. Some hard drives stop working due to the fall. No comments...



The “Freeze It’ Myth, The “Heat It” Myth, And The “Firmware” Myth


The freeze it myth is interesting and makes some sense, but the consequences are a disaster!

During the manufacture of a hard disk drive it’s necessary to calibrate the read/write mechanisms so that the heads get correctly positioned over the disk surface at a determined tolerance, in order to allow the heads read and write on the correct tracks without any kind of error.

Some manufactures, in some models and series, record all those parameters in a ROM memory located in the logic board, or a part is recorded in that ROM and another part in an EPROM or some kind of flash memory that’s inside the drive. This explains why many times the simple replacement of a burned logic board for an identical one using the same firmware version doesn’t make the hard drive come back to life: something is wrong on the inside.

There’s also a kind of surface recording that’s made during the manufacturing process, which is called “servo”, that helps the heads to position correctly. Many times that factory magnetic recording is altered by some reason related to the surface material, and the head starts moving back and forth.

Someone suspected it had some relation with temperature effects and decided to freeze the hard drive in the freezer and then run to connect it back to the PC, and bingo! The drive was recognized and worked again... for some minutes. New freezing session and the drive worked for some more minutes, enough to save some megabytes of information. Then the disk stops working for good.

We’ve read in a forum that when we freeze the hard drive, its interior gets “rearranged” and everything goes back where they belong. This information makes some sense, since the retraction of the material due to the low temperature could have helped the read heads find the tracks again, in some cases. But why the drive stops forever?

Because the disk’s magnetic surface was highly degraded and there comes a time when the “freeze/heat” doesn’t work anymore. The result: the few chances of recovering a good part of data have maybe gone to space. Not to talk about the condensation of the air inside the hard disk (yes, the HD has clean air inside it, a filter to prevent impurities, and a dehumidifier sachet). Read our tutorial Anatomy of a Hard Disk Drive to see this.

One more myth “busted”. Regarding the heat it myth, well... I think there’s no need to comment on this, but there are people who commit and support this crime!



The “Clean Bathroom” Myth


Some people say you can make a clean room at home, in the bathroom, by opening the hot water faucet and filling the bathroom with steam, and at that condition the air would be totally clean and you would be able to open the drive without damaging it.

This myth was very well elaborated, but it can also have unpredictable consequences for the data. Have you noticed that when the sun comes out right after thin rain the air seem to be cleaner? And it is indeed, because raindrops have made the dust in suspension go down to the ground. Hard disk greater enemies are dust and humidity. That’s why they can only be opened in a class 100 clean room (where there can’t be more than one hundred dust particles larger than 0.5 microns in any given cubic foot of air).

And someone thought: I turn on the bathroom heater in maximum for some minutes, then turn it off and wait for the small drops to come down until the air gets “clean”. Then I open the hard disk and touch some parts, poke it, nudge it, or even replace the platters.

Well, although it’s a good Idea, the result is a disaster. Very sophisticated equipments are used in a clean room in order to manipulate hard disk’s parts, under controlled temperature, pressure and humidity. All this because we can’t risk making things worse, we have to save important data. If you don’t know what to do with an open hard drive and don’t have the proper tools to deal with it, be sure something very wrong will happen! But we always give luck a chance - it also works!



The Logic Board Replacement Myth And The Software Myth


The Logic Board Replacement Myth
There are people who replace the disk’s logic board with an equal one from a hard drive that’s working in order to try to revive a dead one.

This is the most sensible myth. The replacement of the logic board works in some cases where the damage is external and the firmware is all concentrated in the controller. So it’s worth trying, and if you do that carefully there’s chance of saving the data.

However, if the drive is recognized but the read is not successful, avoid the other myths described here and send your hard disk drive to a specialized service, in case your data is really important.

The Software Myth
Some data recovery software certainly work when we have a pure logical problem. The problem is to use them when the disk shows some kind of physical problem. In this case, the software automatically sweeps the drive and once more the worse can happen: the last chances of recovery without having to open the disk go down the drain, since some circuits stop working during an automatic recovery of this kind. Therefore you need to know when to use this feature.



The Repair Myth And The Platter Swapping Myth


The Repair Myth
Some professionals or even companies announce that they “repair” hard drives. We know that it’s impossible, because such professionals and companies don’t even have a proper place for doing so.

What they do, in fact, is change the logic board and/or run a program that hides the bad sectors, the famous “bad blocks” (read our tutorial on this subject). Then they give you the formatted hard disk and tell you it’s been “fixed”.

There’s the refurbishing industry – or even better, recycling – in countries such as India, China and Russia, but in this case the hard drives come without brand or with some mark or tag that says “refurbished” or remanufactured. We’ve seen hard drives of that kind work for some years and others for some months. Those disks, however, were really rebuilt by using parts from more than one disk, some new and some used, and they are good for use in low-income countries, because they’re much cheaper.

What we want to say is that both refurbished and “fixed” hard disk aren’t reliable. If they’re used, they would never store important data, but just be used to surf the Internet or as station disk without any important data.

The Platter Swapping Myth
Some people have already told us that they’ve read in some place or have heard someone say that it’s possible to recover data from a defective disk simply by finding another one that’s exactly the same and transferring the “platters” (media, without the heads) from one HDA (Hard Drive Assembly) to the other.

This can even work if we take into consideration certain factors such as firmware, hard disk drive series, and others. However, the most likely is that data is lost forever due to many other reasons such as inappropriate environment, inadequate technique and tools, anyway, everything you shouldn’t do for absolute lack of condition and knowledge. But, as we always say, luck is a reality.



Conclusions


Data recovery is a specialty and has its reasons to be, because many people and companies can suffer great losses if they lose their data in an accident with no backup – or when it has failed (the famous Murphy’s Law).

Being a professional in this area demands great investment both in study and in equipment, such as a class 100 clean room. That’s why most of the times the cost to have data recovered is not low.

So, run away from professionals and companies that don’t have proper equipment, because as we said, if you leave a disk in the hands of one of those amateurs, they can put an end to any chance of recovering the data later on – it’s the famous “cheap comes dear”.

For those situations in which you’re not feeling secure for trying to solve problems in a hard drive by yourself, look for a company that’s specialized in that kind of service, otherwise the loss is almost sure.

We haven’t mentioned the cases in which data is stored in RAID stripping arrays. The simple attempt to rebuild the RAID can cause definite data loss. So we recommend you keep your backups updated and avoid improvising when there’s loss of data.

We also remind you that diagnostic and estimated cost in a serious data recovery company are usually free of charge.


Originally at http://www.hardwaresecrets.com/article/245

Friday, October 9, 2009

Mr. Freeman

Part 1



Part 2

BeatBoxers

"Nathan 'Flutebox' Lee"
http://www.youtube.com/watch?v=e3kyNGVK-hI

dub fx
http://www.youtube.com/watch?v=UiInBOVHpO8&feature=player_embedded
(http://www.dubfx.net/)

Kitchen diaries
http://www.youtube.com/watch?v=S7GGkKpBR-g&feature=player_embedded

Thursday, October 8, 2009

Фразеологические обороты

Мне всегда было интересно, откуда в русском языке появились те или иные фразеологизмы. Почему мы говорим держи карман шире или там заруби себе на носу?
Ну, про бедный нос, которым раньше называлась палочка для зарубок, и которую, соответственно, всегда носили с собой - все, наверное, знают. Об этом, если я не ошибаюсь, в учебнике русского языка, класса так пятого, прямым текстом писано. Так что это уже не новость, ну, по крайней мере для тех, кто в школе учился. :)

Зато кое-какие другие выражения открыли для меня свои тайны, лишь после прочтения данной статьи:

=================================================================================

...Выражение перемывать кости известно всем с детства и интересно тем, что является, пожалуй, одной из самых древних идиом русского языка. Речь в данном случае идет о забытом обряде перезахоронения: спустя три года после смерти покойника извлекали из могилы, очищали кости от тлена и заново хоронили. Это действие сопровождалось воспоминаниями о покойном, оценкой его характера, дел и поступков. Данный обряд был хорошо известен еще в XII веке, свидетельством чего являются строки из «Слова о полку Игореве»: «Кто же омоет твои мощи?» («Плач Ярославны»). Однако во все времена соседи и знакомые предпочитали не ждать так долго и перемывали кости еще живым людям.

Другим старинным фразеологизмом является выражение у черта на куличках. Кулигами назывались поляны в дремучих лесах. Такие места славяне считали заколдованными, в дохристианские времена на них устраивали капища языческих богов. Но иногда крестьянам по той или иной причине приходилось уходить из деревень и селиться на таких полянах (чтобы не раскорчевывать лес). Отсюда и выражение.

Идиома собаку съел в настоящее время употребляется в качестве характеристики человека, имеющего богатый опыт в каком-либо деле. На самом же деле данное выражение первоначально носило ярко выраженный иронический характер, т.к. является первой частью поговорки собаку съел, а хвостом подавился. То есть говорила она о человеке, который выполнил трудную работу, а споткнулся на пустяке. Другой пример неполной пословицы – выражение чудеса в решете. Звучит же данная пословица следующим образом: Чудеса: в решете много дыр, а вылезти некуда.

Выражение гол как сокол часто вызывает недоумение у наших современников. В самом деле: почему сокол, в отличие от, скажем, орла или коршуна, голый? Что за пролетарий в мире пернатых? На самом деле сокол в данном случае – это гладкое дубовое бревно, использовавшееся в качестве стенобитного орудия, тарана.

Еще одна идиома - попасть впросак. Просак – это давно вышедшее из употребления слово, означающее барабан с зубьями в машине, при помощи которой чесали шерсть. Разумеется, попадание руки в просак вело к тяжелому увечью, потому и стало это выражение нарицательным. В выражении быльем поросло слово былье часто воспринимается как однокоренное слову было, что кажется вполне логичным. На самом же деле быль – это трава, бурьян (отсюда – былинка).

Объегорить – значит обмануть. Но при чем здесь Егор? Юрьев, или Егорьев, день был датой расчета с крестьянами за работу. При этом их часто обманывали. Потому имя данного святого и вошло в народную речь в таком неблагоприятном контексте. В более южных районах нашей страны день расчета приходился на день святого Козьмы и брата его Дамиана. Поэтому там говорили не объегорить, а подкузьмить.

Выражение пускать пыль в глаза появилось в XVI веке. В настоящее время оно употребляется в значении «создавать ложное впечатление о своих возможностях». Однако первоначальный смысл другой: во время кулачных боев нечестные бойцы брали с собой мешочки с песком, который бросали в глаза соперникам. В 1726 г. этот прием был запрещен специальным указом. Целый ряд фразеологизмов обязан своему появлению деятельности реальных исторических лиц. Так, выражение казанские сироты появилось при Иване Грозном. После взятия Казани этот царь, желая привязать к себе местную аристократию, награждал добровольно являвшихся к нему высокопоставленных татар. Многие из них, чтобы получить богатые подарки, притворялись сильно пострадавшими от войны. Прикидываться казанским сиротой – значит притворяться бедняком. Другое выражение, появившееся при Иване Грозном, – филькина грамота. Так царь называл обличительные послания своего врага – митрополита Филиппа Колычева. Идиома концы в воду также связана с именем Ивана Грозного. Репрессии против населения при этом царе порой принимали такой размах, что смущали даже самого Ивана. В таких случаях, чтобы скрыть истинные масштабы казней, людей, умерших от пыток, тайком бросали в реку. Спрятать концы в воду – значит замести следы преступления. Другое весьма страшное выражение – узнать подноготную: речь идет о пытке, когда под ногти жертве вбивались железные гвозди.

При царе Алексее Михайловиче в 1649 г. было принято Соборное уложение, одна из статей которого предписывала в качестве наказания за определенные виды преступлений закапывание живьем в землю. Отсюда ведет свое происхождение выражение стоять как вкопанный. При Алексее Михайловиче в народную речь вошло и выражение чтоб неповадно было – это фраза из того же Уложения 1649 г. При нем же в селе Коломенском под Москвой висел долгий ящик для челобитных.

Выражение затрапезный вид появилось при Петре I и никакого отношения к трапезе не имеет. Затрапезников – это фамилия купца, фабрика которого выпускала очень грубую и низкокачественную ткань. С тех пор и говорят о неряшливо одетом человеке, что он имеет затрапезный вид.

Если про человека говорят, что у него на лбу написано, то обычно подразумевается, что ничего хорошего написано там быть не может. Выражение это появилось при Елизавете Петровне, которая в 1746 г. приказала клеймить лбы преступникам, чтобы они «от прочих добрых и неподозрительных людей отличны были». Отсюда же ведут происхождение выражения заклеймить позором и прожженный преступник.

Еще о надписях: в идиоме вилами по воде писано имеются в виду не сельскохозяйственные орудия, а старинное название кругов на воде. Выражение раскусить человека напоминает о временах, когда в ходу были монеты из драгоценных металлов. Подлинность их проверяли на зуб: если нет вмятины – монета настоящая.

А что такое канитель и почему ее надо тянуть? Это медная, серебряная или золотая проволока для вышивки. Естественно, работа по вытягиванию таких нитей из куска металла была не для торопливых людей.

Дело – табак. Речь в данном случае идет не о вреде курения, а о большой глубине. Бурлаки привязывали кисет с табаком к шее и, когда вода достигала этого уровня, предупреждали своих товарищей: «Под табак».

Выражение шарашкина контора появилось в русском языке относительно недавно. Шараш-монтаж – это диалектное слово, означающее «жульё». Т.е. «контора жуликов, обманщиков». Отсюда же и происхождение слова ошарашить. В, казалось бы, чисто русском выражении с панталыку сбиться речь идет о горе Пантелик, находящейся аж в Греции. На Пантелике добывали мрамор. В результате образовалось много пещер и лабиринтов, в которых легко можно было заблудиться.

Другое «очень русское» выражение – сморозить. Но к охлаждению чего-либо в холодильнике оно не имеет никакого отношения. Это слово греческого происхождения, и в русский язык оно пришло из гимназической среды. «Морос» (глупость), – говорили учителя нерадивым ученикам. «Ну, ты сморозил», – повторяли они на улице. /а я-то думал, откуда пошло торчковое выражение кончай моросить! оказывается из греческого... прим. sly2m/

Выражение не в своей тарелке возникло по недоразумению. Это ошибочный перевод французского оборота ne pas dans son assiette. Слово assiette в значении «состояние, положение» спутали с его омонимом – «тарелка». В первой половине XIX века образованные люди протестовали против употребления данной идиомы. Именно ее выбрал Грибоедов для иллюстрации своего тезиса о «смеси французского с нижегородским»: «Любезнейший, ты не в своей тарелке», – говорит Фамусов Чацкому.

На Руси был такой вид казни: преступников выводили на мороз и поливали холодной водой. Так вот преступников называли "мерзавцы", потому что они мерзли, а тех, кто на них воду подливал называли "подлецами"

В давние времена Одесса, как и сегодня, испытывала острую нехватку в хорошей питьевой воде. Лучшей в те времена считалась вода с Фонтана, как по сию пору называется один из районов города. Очень часто биндюжники, развозившие питьевую воду в бочках, набирали ее, где придется, но при этом рекламировали, что вода доставлена с самого Фонтана. Горожане, пробуя такую воду, качали головами и говорили: «Нет, это не Фонтан». С тех пор словосочетание «не Фонтан» вышло за пределы Одессы как синоним подделки, некачественного товара.

Подлинная правда: длинник - это старое название плети. Считалось что утаить правду под плетьми невозможно