OMG! My Boot Loader Was Corrupted! I Can’t Log into My Linux System!
You like this story?
What will you do if your Grub Boot Loader was corrupted? The most probable answer will be “Hitting my head in my keyboard ‘n’ number of times”. Most of us think that, if our boot loader get corrupted, we are doomed! So, we re-format our systems! But, don’t you know that, sometimes we can fix a corrupted boot loader?
As I said earlier, for most of us, the answer for a corrupted boot loader is “format” (earlier, this is the answer for most of my questions! please don’t be like me!). But, there are more easier ways to solve it without committing suicide!
Why is this happening?
Most of the time, the Grub Boot Loader can get corrupted because of :
- Installing Windows on your machine. When you install Windows, it will overwrite the Linux boot loader in the MBR, and install their own version.
- Installing another version of Linux. Some times, the new Linux version may fail to detect the existing one.
Now, lets see how to fix this. Its really easy :
- First, if you have another Linux distribution on your system you can log into it. If you don’t have one, you can use a Linux live CD and boot from it as shown below (Boot from the live CD, Do not install it) :
- Next, open the terminal and enter the following command :
sudo update-grub
This will update your Grub settings. If you have installed Windows or another version of Linux, this command will detect them, and add them to your boot loader!… Enjoy!
Author: Pubudu Kodikara (280 Articles)
Pubudu Kodikara is a writer at Tech Hamlet (www.techhamlet.com), a state of the art tech blog which is powered by the Earth Organization, which have a main target of educating people about the latest technology. They post latest tech news, tips on how to resolve problems, tricks and hacks to improve what you do, tutorials to learn new things and many more.
Blog Post: OMG! My Boot Loader Was Corrupted! I Can't Log into My Linux System! http://bit.ly/cJDb64
Blog Post: OMG! My Boot Loader Was Corrupted! I Can’t Log into My Linux System!: What will you do if your Grub Boo… http://bit.ly/8XBC6j
How to fix grub http://www.techhamlet.com/2010/01/fix-grub/








haw haw, that has happened with me lot of time. with me ringing up my geek friend nd eating his mind everytime ;)
career´s last blog ..how to become a senior secondary recruits in indian navy?
:P now you can eat up my blog when it happens again :D
Pubudu Kodikara´s last blog ..Want to Completely Uninstall a Program Without Leaving Junk?
yeah for sure, bookmarked . can you suggest me some Feedreaders?
career´s last blog ..how to become a senior secondary recruits in indian navy?
What about Liferea? thats what im using in my linux system! or you can use FeedDeamon and FeedReader in windows!
Pubudu Kodikara´s last blog ..Want to Completely Uninstall a Program Without Leaving Junk?
Great tips buddy. It happened once to me with Windows and I had to reformat C:// drive and install Windows.
TechChunks´s last blog ..Microsoft To Patch 17-Year-Old Computer Bug
It happened to me several times…. mostly because of my great stupidity! :P
Pubudu Kodikara´s last blog ..How To Turn Off Windows Indexing Service
I liked to add another info, GRUB is a bootloader, there are several bootloaders for linux, you got to type the respective bootloader name instead of GRUB if you are using some other linux distro.
Ramkumar´s last blog ..gagets??
ah… will update-lilo work the same way? bro… i don’t know about other boot-loaders :D i think it will be great if you write something about them in your blog :D
Pubudu Kodikara´s last blog ..All Twitter Users Be-Aware! Your Account Might be Hacked!