Skip to main content

Ive Messed Up My Master Boot Record

I got too overly excited in refreshing my OS installation in my old Inspiron 640m that I just cleaned off the Linux partition through the Drive Management Snap-in of Microsoft while I was still booted in XP. I completely forgot that the GRUB was the bootloader managing my OS selection in the Master Boot Record of my drive.

In plain English, I wanted to clear out my old Linux installation and merge the partition with the old XP partition when I run the Windows 7 install. It was a mistake to use the Drive Management Snap-in rather than having the Windows 7 installation take care of the partition clearing. This caused problems because the bootloader (GRUB) or the one which asks which OS are you going to boot is in the partition I wiped out. Therefore, I cannot go into the Linux partition (obviously, since it has already been wiped out) nor the Windows XP partition.

There is a quick fix with this by using the XP install CD and fixing the MBR by going to the command prompt and typing fixmbr more on this is discussed on this website: http://askbobrankin.com/fix_mbr.html

But unfortunately, I dont have my XP install CD with me. This would also be a problem for those people who are using a netbook and accidentally cleared their Master Boot Record.

There is a tool called SuperGRUB which could fix your GRUB boot loader (incase it just got corrupted) or if you want to just use the Windows bootloader, you could also choose to activate it instead.

You could easily create a SuperGRUB bootable USB drive by using the UNetbootin application for Windows and Linux found on this website: http://unetbootin.sourceforge.net/

When running UNetbootin, just select SuperGRUB from the dropdown


All you need to do is select your USB drive from the drop down at the bottom and it will automatically download and install SuperGRUB from the internet and create a bootable flash drive. 

UNetbootin is also a handy tool in creating bootable flash drives so you could install your favorite Linux distribution on a computer without a CD drive. Same process goes, just select the distribution from the drop down and the version, but instead of having UNetbootin download it, you would select an .ISO image of your distribution of choice. Proceed to select your desired flash drive location and press ok. 

Going back, upon booting SuperGRUB, just follow the instructions. Again, for someone who doesnt like reading manuals, I had to reboot several times until I forced myself to read the instructions before using it. Again, the instructions would tell you how it works and what to select. So save yourself some time and go through it before selecting anything on the menu. 

Comments

Post a Comment

Popular posts from this blog

Self Signed SSL Certificates

Ever wondered how to enable SSL or HTTPS on your site? If you dont want to pay for commercial SSL certificates, you could create self signed certificates for your site by following the instructions here: https://www.digitalocean.com/community/articles/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-12-04 The instructions in the site above will make your default site HTTPS enabled. If you prefer having a commercial SSL, save your certificate files and key files in your server and edit the location on the /etc/apache2/sites-enabled/default to point to the directory where you stored those files.

Moving to a New Linux Web Based Torrent Client

For years, I have been using TorrentFlux (url here) as my primary torrent client situated in my Ubuntu download server. But as time went on, the developers completely abandoned the development of TorrentFlux which led to several forks which I think is still insufficient for my needs. Main GUI of TorrentFlux Ive checked several options which runs on a GUI-less environment. Since my Ubuntu server is just running on command line to save precious memory, I needed something bare, simple and is packed with features. Installing uTorrent Server is pretty straight forward. Download. Uncompress. Run. This is better than the approach of TorrentFlux which you need to setup LAMP server and create a database. More often than not, it happens to me that some of the data in the DB gets corrupted. I normally just reinstall the whole thing again. Main GUI of uTorrent Server To further elaborate on the setup process, I've gotten an excerpt from this thread which, quite simply discusses ho

iPhone 4 Carrier Unlock Finally Here

The wonderful people of iPhone-dev Team (or I think they're called just DevTeam now) has realeased their iPhone 4 carrier unlock. What this means is you can unlock the iPhone 4 s you've purchased from any locked countries like the U.S.(with baseband 1.59 ).  iPhone 3G and 3Gs also benefits from this release which unlocks phones with basebands 04.26.08 , 05.11.07 , 05.12.01 and 05.13.04 As an excerpt from their blog post : Version 1.0-1 of ultrasn0w works for: iPhone4 baseband 01.59 3G/3GS basebands 04.26.08, 05.11.07, 05.12.01 and 05.13.04 (If ultrasn0w doesn’t show when you search Cydia, add the repo:  repo666.ultrasn0w.com) Quickest solution to unlock your phones is to visit www.jailbreakme.com which uses an exploit to jailbreak your device, and once you get the Cydia app, download (or add the repository if you havent) ultrasn0w. Restart and enjoy carrier freedom. Perhaps another implication of this with the iPhone 4 market now is that those people selling iPhone 4