Monday, November 23, 2009

Installing Windows XP Professional on HP Compaq nx6310

Four years ago I bought HP laptop nx6310. It came with Windows XP Pro already installed.
Today I reinstalled Windows, but it wasn't as smooth as I thought it would be.
First, Windows setup didn't recognize any hard disk:
"setup did not find any hard disk installed in your computer…"
After searching Google a bit, I found out that I should disable SATA on the Bios.
I disabled it, and continued setup until:
"Windows could not start because the following file is missing or corrupt C:\Windows\inf\Biosinfo.inf"
This time it was a bit harder, because all the solutions I found on the Internet suggested I should get SP2 and it will be solved by itself, because it has all the missing drivers. The only problem is that I already had SP2. Some sites offered to download an installation with all the needed drivers built-in. But I couldn't use it because I want to install Windows in Hebrew.
In the end, the solution was very simple, I went to the place on the Bios where I recently disabled SATA, and I disabled everything else.
It worked. Windows is now installed.
Drivers were downloaded from here:
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=1839164&prodTypeId=321957&prodSeriesId=1839143&swLang=8&taskId=135&swEnvOID=1093
The only problem is I wanted to re-enable all the features I disabled, and I couldn't enable SATA without crashing Windows. So I found this post: http://mytechweblog.blogspot.com/2007/10/enabling-sata-native-mode-after-xp.html. The author forgot to mention something, but he did mention it here: http://forums13.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1057792&admit=109447627+1258968594947+28353475, so it's better to follow the second link. Note that after following the instructions on the link you must re-enable SATA otherwise Windows won't load.
It works! :)

Sunday, November 15, 2009

Telnet on Windows 7

By default Telnet is not installed on Windows7 and you get this error message:
'telnet' is not recognized as an internal or external command,
operable program or batch file.
Solution:
Turn on this feature in Control Panel as explained here:
http://www.tech-recipes.com/rx/4230/windows-7-install-the-telnet-client/


I found a link that explains the list of features for Windows Vista. Most of it is relevant to Windows 7 too:
http://www.bleepingcomputer.com/tutorials/tutorial134.html

Thursday, November 5, 2009

Linux Tutorial

A very good Linux tutorial that I found:
http://rute.2038bug.com/index.html.gz

Wednesday, November 4, 2009

Hide URL in address bar using iframe (code that works)

I've been searching Google for some time, and I expected to find the answer easily, but that was not the case. So I wrote it here.
The following will show Yahoo home page in an iframe, but the URL in the address bar will be yours, and it stays the same, even if the user clicks on some link and go to another site.
If you ever tried to create an iframe, you noticed that you have two scroll bars - one of the page and one of the iframe. Well, the following code solves that too. The piece of code that most people are looking for is marked in red.

<html>
<head>
<style type="text/css">
html {
overflow: hidden;
}
</style>
</head>
<body>
<iframe name='FRAME1' src='http://www.yahoo.com' width='100%' height='100%' marginheight='0' marginwidth='0' scrolling='auto' frameborder='0'>
<p>Your browser does not support iframes.</p>
</iframe>
</body></html>