Sunday, November 01, 2009

Restoring GRUB

XP fucked up my bootloader so I couldn't boot up into Ubuntu. Had to restore GRUB and this was what I did.
  1. Booted up using a LiveCD. I used my Ubuntu 9.0.4 installer CD because it was the original version that I installed on my laptop.
  2. Opened up "Terminal" in LiveCD.
  3. Typed "sudo grub".
  4. Typed "find /boot/grub/stage1".
  5. Typed in "root (hdx.x)". "hdx.x" is what was displayed after running the earlier command.
  6. Typed in "setup (hd0)".
  7. You're done. Type "quit" to end.

No comments: