I’ve recently encountered this error while trying to fix Windows 7 Master Boot Record. In my case, I removed Linux partitions from my drive which caused Windows not to boot. Here’s the error message:

“This version of System Recovery Options is not compatible with the version of windows you are trying to repair. Try using a recovery disc that is compatible with this version of windows.”

I am pretty sure that I used the same disc for installing Windows 7. I was stuck for hours trying to figure this out. So here’s what I did:

1. Boot using Windows 7 disc.

2. Select “Repair your computer”

3. Now you can try to select the Windows partition you’re planning to fix, but doing this will only lead you to the error above. So in my case, I chose restore from system restore image (which I don’t have) and press cancel. This will lead you to the system recovery tools.

4. I’ve tried choosing “Startup repair” but it was going on for hours without progress. So instead, choose “Command prompt”. Then you chould navigate to “X:windows/system32/”.

Just type the following commands followed by pressing enter after each line:

I’m not sure if it’s upper/lower case,  just press tab to autocomplete (press win..then tab to autocomplete “windows”). And you should have something like “X:windows/system32″ in your prompt. Then now, all that’s left is to fix the MBR, just enter the following commands:

And that’s it, exit and restart. It should now boot into Windows 7.

Hope this helps.


Sublime Text does not remember opened files

by gerald on August 10, 2013

Just today, I have encountered a problem where sublime text does not remember my opened files (even if remember_open_files is true). Actually, it’s not just remembering opened files, but also other settings such as layout and font size. This is really irritating, having to reconfigure sublime text every time. Turns out the problem is simple, it’s just an issue with the permissions on sublime’s config files.

Simply enter:

And it should work. Hope this helps.


Low Resolution with Ubuntu on VirtualBox

July 3, 2013

Recently, I’ve tried Ubuntu on VirtualBox just because I need to constantly switch between Windows and Linux. After installing Ubuntu on VirtualBox, it was not exactly usable. For one thing, the resolution was stuck at 1024 x 768, also the graphics has some glitches. After a few minutes of searching, I found the solution. You […]

Read the full article →

Broadcom 802.11g network adapter not working by default on Ubuntu 12.04

June 8, 2013

If you’ve recently upgraded or installed a fresh copy of Ubuntu 12.04, you might have run into problems with your wireless card. I was using an old laptop with a broadcom network adapter when I encountered the issue. Turns out I just have to install bcmwl-kernel-source, so using apt, I just ran:

After reboot, […]

Read the full article →

How to Install Arch Linux

May 25, 2013

One of the main reasons why we use Linux is to have more control over our system. We want to be in charge of everything, making sure we only install the packages we want and customize the environment to our liking. Ubuntu is a good choice for beginners starting with Linux, it gives you a […]

Read the full article →

RVM – rubies, gemsets and rvmrc

July 25, 2012

Developing an application using Ruby on Rails is hard enough as it is. So what’s this tool called RVM, do I really need it? RVM may seem like it’s just another tool to learn and confuse beginners, but trust me, you’ll thank RVM later on when you’re developing multiple applications. RVM stands for Ruby Version […]

Read the full article →

Why Do Web Developers Use Macs?

July 19, 2012

In the past years, it’s very seldom to see a person using a Mac. And when you do, you’ll probably think he’s an artist or maybe he’s a creative person, who needs artistic details and typography. This is after all, the selling point of Macs, at least for that time. But now, you see Macs […]

Read the full article →

HTML 5 – A Brief Look at Canvas

July 12, 2012

HTML 5 has been very popular in the past few months. With the very impressive demo’s available on the web, it’s very hard to ignore, especially if you’re still using a lot of flash for your content. The canvas element is one of the features of HTML 5. It allows you to draw stuff on […]

Read the full article →

Active Record Reputation System – Quick and Easy Voting Plugin

July 11, 2012

One of the features currently popular is voting. You can see it in a lot of apps, liking a fanpage, voting for the best answer, etc. With all the  voting plugins available today, what before took you weeks to code will now only take a few hours. Here comes the new gem for the job, […]

Read the full article →

Ruby: Require, Load and Include – What’s the Difference?

July 10, 2012

If you’re like me who comes from traditional languages such as C or Java, you might be confused with these terms. They all seem to do one thing, so why does Ruby have three of them? It turned out to be pretty simple. After reading the documentation and some articles on the web, I found […]

Read the full article →