Sunday, April 27, 2008

'\windows\system32\config' and '\windows\system32\ntoskrnl.exe' missing or corrupted!Save it with Linux

Often Windows system suffers from dreaded errors like '\windows\system32\config\system' and '\windows\system32\ntoskrnl.exe' missing or corrupted! Most people consider reinstalling the whole system but that's not the solution when you could save it.One can save windows from these dreaded errors using Linux Live CD(Uuntu,fedora etc.).If you have dual boot it's even better.First I would discuss '\windows\system32\ntoskrnl.exe' error. The solution is simple.Your ntoskrnl.exe is damaged and you have to replace it with backup copy from dllcache folder. If you have NTFS partition you have to install ntfs-3g (In case you don't have that on CD or Linux partition).Here we go.

*Boot into Linux partition or Live CD.

*Open command console and login as root.

*Create a directory by typing 'sudo mkdir /media/windows'

*Then mount your windows partition on to this by typing 'sudo mount -o rw /dev/sdaX /media/windows' .In most cases your windows partition will be sda1 or hda1.Try to get this info by using Gparted.

*Now copy the backup copy of ntoskrnl.exe by typing 'cp /media/windows/windows/system32/dllcache/ntoskrnl.exe /media/windows/windows/system32'.

*It will ask do you want to overwrite.Type 'y'.You are done.Remove Live CD or exit from Linux partition to restart.You can happily log on to your windows back without any error.

If your machine sufers from '\windows\system32\config\system' error then process is similar but you have to copy the back up copies of registry files from system volume information folder.This works only if you had turned on system restore feature in windows.You have to find 5 registry files(system,security,sam,software,user) and copy them to \windows\system32\config\system folder.Here is the link that details this process.

Hope this helps to people who are in need and don't want to reinstall the whole thing.You can also do this operation using windows installation CD and entering in recovery console.But I prefer Linux because you can simultaneously do other things rather than getting stuck in command prompt.

Wednesday, April 2, 2008

Some Hilarious facts about Windows

Many a times I was shocked to see pathetic awareness about Windows OS even though Microsoft burns billions of dollars on campaigning.Some of them are.

  • Many people I spoke to believed 'Windows' is a company name.
  • Most Windows users don't know that 'Microsoft' is the exclusive provider of 'Windows'.
  • Ironically many of them perceiving it as a 'free software'.
  • Adding to injuries,many people do not know that MS Office is a separate product and think that it comes with Windows as a bonus.This is true in countries where piracy is on rampage.
  • For many Windows users, knowing their internet speed is one of the biggest puzzle.Most people I spoke to often believed 100Mbps,54Mbps,11Mbps as their line speed which generally shows when you point your mouse on the network icon.
  • Many believe that Windows Media Player can play any format on this planet.
  • Many people I spoke to do not know the word called 'browser' but they know damn 'IE'.
  • Many tend to believe that 'Monitor' is computer and not the CPU.
  • Many users tend to be panic if they don't see 'START' menu.
  • Majority of the windows users never had to touch DOS in their lives.Credit to Bloatware.
  • Many doesn't know how to partition the hard drive and tend to keep important stuff in C drive.
Well, I can go on.But let's stop here.

Sunday, March 16, 2008

Halloween documents revisited

Last month I was reading a piece of news fom GrokLaw which says SCO is getting $100 million funding.It's a shocker to everybody who have been following SCO vs Linux case.These guys are badly after Linux and Lawyers seems to be running the company.I still don't understand whether they have any growth agenda other than simply being 'patent troll'.In case you don't understand what I am talking, you should read Halloween documents, solid wiki article about SCO vs Linux.Let's see what SCO is up to this time after loosing series of battles against Linux community.

How to restore xorg.conf

Few weeks back I messed up with my Ubuntu Graphics Manager and it stopped starting Gnome display manager.It stucks at command prompt with a message Xserver failed to start and I couldn't see GUI any more.Obviously, i tried 'startx' without success.Then I tried 'sudo dpkg-reconfigure xserver-xorg' to configure my graphics environment from command prompt.Some how I could configure only 4bit color depth and un fortunately it didn't allow me higher bit color depth.It was horrible to see the 4bit color depth screen and i decided to try other methods.If you have backup file of xorg.conf you can restore with 'sudo cp /etc/X11/xorg.conf.mysave /etc/X11/xorg.conf' where xorg.conf.mysave is your backup file.In my case i couldn't figure out the backup file correctly in /etc/X11 directory as there seems to be more than one.

I decided to try another method from ubuntu forums which says xorg 7.2 has a pretty useful feature.That is if you delete xorg.conf file then it will regenerate a new one with default settings.First I have checked the version of my xorg by typing 'X -version' and confirmed it is version 7.2.Then I have deleted my xorg.conf file by typing 'sudo rm /etc/X11/xorg.conf' .It worked like magic and i could see my GUI again.Thanks to ubuntu forums.

Saturday, February 2, 2008

Microsoft playing Zero-Sum game

It didn't surprise me much when Microsoft launched a bid to buy Yahoo!,considering the company's woeful record in online space.It could be seen as a desperate and one last attempt to lift its online business(Forget competing with Google).Moreover, this deal is subjected to scrutinies from anti-trust watch dogs and I am sure Google will try its best to stop this deal going ahead.But Microsoft's underdog status in online ad space may help the deal to get through.

On the surface it looks like MS will take back some control with this move as MS have deep pockets to invest.But that can happen only if and if MS spins off its own online business unit to merge with Yahoo!.Then the companies can get off with integration issues and Google will get less time to cash on the transition.Otherwise Google will totally un-settle the two companies in this uncertainity period.MS also suffers branding issues in its online strategy and Yahoo! will add more injuries.MS already confusing customers with MSN/Hotmail/Windows Live.. whatever the hell is that.MS simply lacks weapons to compete online.

So far,Yahoo! itself couldn't figure out much, how to translate traffic into profit and I don't know how LAME MS will help it.Mind you,Yahoo!'s Project Panama also couldn't lift its revenues.But on the positive side,Yahoo! is one of the pioneers of the web and they have stronger presence in asian markets and Mobile search.Yahoo! search is way better than Live hell and MS at last realized that Google's online success is because of its high-quality search engine.MS was late to search market and I still don't understand why MS links Windows with its online strategy(Why Windows LIVE??Misleading and irrelevant name).I can't imagine that hot properties like Yahoo answers,Flickr,Del.icio.us,Eurosport falling in MS hands.Except hotmail(that too acquisition) tell me where MS had success in online business.They coudn't build communities and hot portals even after burning billions of dollars.MS should remember that internet communities are sensitive and it takes only seconds to switch to another site.MS playing Zero-Sum game here and now they are thinking that Yahoosoft+Google=100% of online advertising.They are totally wrong and there are no. of startups who are working towards game-changing online ad technologies.

Given its poor execution of online strategy record, I feel even after this buyout MS will be vulnerable.As long as the company under estimates the open standards it may not find recipi.Internet is all about open and nuetral standards.Imagine, I visited Flickr website through my Ubuntu-Linux notebook and a message pops to me saying you are not using Vista/XP or IE hell.Thats quite possible after this merger and thats my worry,which can force me out to look for alternatives.Now, Microsoft is embracing the disruption and I am really hoping that company will move out from its safe zone(Windows and Office) to the real future.

Thursday, January 31, 2008

Where Nokia heading?

If someone asks me which is the most powerful company in the technology world,I would put Nokia on the top of my list along with Microsoft,Google and Intel.These companies have achieved truly global scale and have an enormous impact on our daily lives.

Well,what's really interesting to me is Nokia's transition from pure Hardware vendor to Application and web services company.Today 40 out of 100 mobile phones are Nokia's and the company already sold more than 1.5 billion phones over the years.That number is greater than no.of Windows PCs and automobiles in the world.Nokia selling more cameras,MP3 players than any other specialist company.They may even outsell specialist GPS companies soonly.Despite all this Nokia have to abide by devils called 'Operators'.But in the recent times the company increasingly realizing the importance of consumer experience and application development.Its recent acquisitions Navquest,Avvenu,Trolltech and the launch of music portal called 'OVI' suggests that company is well on the collision course with operators.As Nokia makes these devices PC centric they will be on collision with Microsoft,Google as well.Nokia can take leaf out of Apple's book,which went through great transition from hardware vendor to hardware+software+services company.

Nokia aspiring big and its very much clear that the company is heading towards becoming web services company.Nokia's choice of application development platform will decide whether it can attract developers or not.The company already owns vested ownership in Symbian and its S60 is the dominant development platform.Trolltech acquisition is little confusing and probably suggests that Nokia will jump on Mobile Linux band wagon.Nokia using Debian based Linux (Maemo)on its N800 internet tablets which is based on GTK+ and Trolltech brings rival development platform Qt.It remains to be seen how Nokia will justify this move.There are consortiums like LiPS,Motorola's LIMO,Google's OHA,CELF,Intel's Moblin and Montavista's Mobile Linux to standardise the Mobile Linux and to stop the fragmentation.Nokia's success depends how it will ditch operators and attract developers to its platform to redefine consumer experiences on tiny screens.

Monday, October 22, 2007

'E: Internal error opening cache (1)' what the hell is this??

Yet another Ubuntu problem but there is always helping hand in the form of community.Last week,I was installing Virtualbox and I cancelled it while it was downloading required packages.After that whatever I try to install from Synaptic Package Manager I encounter a message 'E:internal error opening cache(1)'.Obviously Googled and found an answer.I have edited my /var/lib/dpkg/status file (sudo gedit /var/lib/dpkg/status) to remove the entry of half-installed Virtualbox.Magically it worked and I could install everything again.

Wednesday, September 26, 2007

'dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem'

'dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem' Thats the message i got today, when i tried to run apt-get commands in terminal on my Ubuntu 7.0.4.This is second time for me and after upgrading my kernel this problem started.I was puzzled and started Googling.

Here is a magical command that saved me two times so far, which i got from ubuntu forums.It worked both times for me.

'sudo dpkg --configure -a && sudo apt-get -f install' run it in terminal without quotes.