How to Repair a Corrupt MBR and boot into Linux

There are times when you inadvertently overwrite your Master Boot Record. The end result being that you are unable to boot into Linux. This is especially true when you are dual booting between windows and Linux OSes. Once when I was working in Windows XP, I accidentally clicked the hibernate button instead of shutdown. And windows somehow overwrote my MBR which housed the GRUB boot loader. At such times, it pays to have this cool tip at hand…

Count occurences of character X in all files in current directory

If you ever need to count the occurences of a character in all (or some) files, this next series of commands would come in handy:

Replace X with the character in question. The command is all in one line. “ls” can be replaced with a more specific list (eg: …

Disable extended media information on videos and images

Windows Xp reads information from media to let you find out properties (width, height, bitrate and/or others) of avi, mpg, asf, etc. files. This “behavior” can lock your avi files from being deleted, moved or renamed, and sometimes it’s just plain annoying. To disable this action, use Regedit to delete …

How to repair Windows Management Instrumentation (WMI)

This error might occur if Windows Management Instrumentation (WMI) components are missing or not registered correctly. This error manifest itself, among others, by not displaying any more processor information in System Properties, and by returning a “Class no registered” error message after running the “systeminfo” command. Registering the WMI components …

How to install VMware Server 1.06 on Linux kernel 2.6.26

I updated my server’s operating system from Fedora Core 6 (on which VMware Server ran perfectly) to Fedora 8. Fedora 6 was running an older 2.6.25 (which VMware liked just fine), but Fedora 8 brought me the 2.6.26.6-49.fc8 kernel, which caused a lot of trouble.
After spending 5 hours looking everywhere for a solution (I even thought the newer v1.08 would work on this kernel – but it didn’t), I considered writing down what I did to finally get my virtual machines up and running: