Skip to content

November 2, 2008

1

Repairing Your Grub Bootloader

Last week a friend of mind tried to install Windows XP on his system after installing Ubuntu, and of course the result was that he lost his bootloader.

Don’t panic though, just boot off your Live CD and open up a Terminal window.

Then execute these commands:

sudo grub

root (hd0,0)

setup (hd0)

Close out the Terminal and reboot, and you’re good to go! Just don’t forget to eject your Live CD. This should apply to any Linux distro that uses the Grub bootloader.

About the Author:
Aaron Nelsen is the webmaster and senior technology editor. He's a career geek, coffee enthusiast, Apple fanboy, and accomplished barista pimp. They've written 407 articles for Hijinks Inc.

Getting The Latest Tweet...
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Twitter
  • email
  • FriendFeed
  • Identi.ca
  • NewsVine
  • PDF
  • Posterous
  • Reddit
  • StumbleUpon
  • Technorati
  • Tumblr

No related posts.

1 Comment Post a comment
  1. Ed
    Nov 2 2008

    Aaahh. The same thing happened to me. Thanks for the info.

Share your thoughts, post a comment.

You must be logged in to post a comment.